Thank you for creating sitemcp. ## Description I encountering an error when trying to use the sitemcp tool with Claude Desktop on macOS. ## Error details <details> <summary>Claude Desktop log file shows the following error messages: </summary> ``` 2025-04-20T00:35:39.330Z [sitemcp] [info] Initializing server... 2025-04-20T00:35:39.341Z [sitemcp] [info] Server started and connected successfully 2025-04-20T00:35:39.461Z [sitemcp] [info] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0} INFO Started fetching https://daisyui.com with a concurrency of 3 INFO Fetching https://daisyui.com INFO Fetching https://daisyui.com/components/ INFO Fetching https://daisyui.com/components/button/ INFO Fetching https://daisyui.com/components/card/ INFO Fetching https://daisyui.com/components/toggle/ INFO Fetching https://daisyui.com/components/dropdown/ INFO Fetching https://daisyui.com/components/modal/ INFO Fetching https://daisyui.com/components/swap/ INFO Fetching https://daisyui.com/components/theme-controller/ INFO Fetching https://daisyui.com/components/accordion/ INFO Fetching https://daisyui.com/components/avatar/ INFO Fetching https://daisyui.com/components/badge/ INFO Fetching https://daisyui.com/components/carousel/ INFO Fetching https://daisyui.com/components/chat/ INFO Fetching https://daisyui.com/components/collapse/ INFO Fetching https://daisyui.com/components/countdown/ INFO Fetching https://daisyui.com/components/diff/ INFO Fetching https://daisyui.com/components/kbd/ INFO Fetching https://daisyui.com/components/list/ INFO Fetching https://daisyui.com/components/stat/ INFO Fetching https://daisyui.com/components/status/ INFO Fetching https://daisyui.com/components/table/ INFO Fetching https://daisyui.com/components/timeline/ INFO Fetching https://daisyui.com/components/breadcrumbs/ INFO Fetching https://daisyui.com/components/dock/ INFO Fetching https://daisyui.com/components/link/ INFO Fetching https://daisyui.com/components/menu/ INFO Fetching https://daisyui.com/components/navbar/ INFO Fetching https://daisyui.com/components/pagination/ INFO Fetching https://daisyui.com/components/steps/ INFO Fetching https://daisyui.com/components/tab/ INFO Fetching https://daisyui.com/components/alert/ INFO Fetching https://daisyui.com/components/loading/ INFO Fetching https://daisyui.com/components/progress/ INFO Fetching https://daisyui.com/components/radial-progress/ INFO Fetching https://daisyui.com/components/skeleton/ INFO Fetching https://daisyui.com/components/toast/ INFO Fetching https://daisyui.com/components/tooltip/ INFO Fetching https://daisyui.com/components/calendar/ INFO Fetching https://daisyui.com/components/checkbox/ INFO Fetching https://daisyui.com/components/fieldset/ INFO Fetching https://daisyui.com/components/file-input/ INFO Fetching https://daisyui.com/components/filter/ INFO Fetching https://daisyui.com/components/label/ INFO Fetching https://daisyui.com/components/radio/ INFO Fetching https://daisyui.com/components/range/ INFO Fetching https://daisyui.com/components/rating/ INFO Fetching https://daisyui.com/components/select/ INFO Fetching https://daisyui.com/components/input/ INFO Fetching https://daisyui.com/components/textarea/ INFO Fetching https://daisyui.com/components/validator/ INFO Fetching https://daisyui.com/components/divider/ INFO Fetching https://daisyui.com/components/drawer/ INFO Fetching https://daisyui.com/components/footer/ INFO Fetching https://daisyui.com/components/hero/ INFO Fetching https://daisyui.com/components/indicator/ INFO Fetching https://daisyui.com/components/join/ INFO Fetching https://daisyui.com/components/mask/ INFO Fetching https://daisyui.com/components/stack/ INFO Fetching https://daisyui.com/components/mockup-browser/ INFO Fetching https://daisyui.com/components/mockup-code/ INFO Fetching https://daisyui.com/components/mockup-phone/ INFO Fetching https://daisyui.com/components/mockup-window/ INFO Fetching https://daisyui.com/components/join INFO Cache file written to /Users/username/.cache/sitemcp/daisyui-com.json file:///Users/username/.npm/_npx/db1875ae6521fe24/node_modules/sitemcp/dist/cli.mjs:2461 default: throw new Error(`Unknown strategy: ${strategy}`); ^ Error: Unknown strategy: domain at sanitiseToolName (file:///Users/username/.npm/_npx/db1875ae6521fe24/node_modules/sitemcp/dist/cli.mjs:2461:18) at startServer (file:///Users/username/.npm/_npx/db1875ae6521fe24/node_modules/sitemcp/dist/cli.mjs:2606:36) at async CAC.<anonymous> (file:///Users/username/.npm/_npx/db1875ae6521fe24/node_modules/sitemcp/dist/cli.mjs:2707:2) Node.js v20.11.1 2025-04-20T00:36:02.079Z [sitemcp] [info] Server transport closed 2025-04-20T00:36:02.079Z [sitemcp] [info] Client transport closed 2025-04-20T00:36:02.080Z [sitemcp] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log. 2025-04-20T00:36:02.080Z [sitemcp] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"} 2025-04-20T00:36:02.080Z [sitemcp] [info] Client transport closed ``` ## Configuration My `claude_desktop_config.json` file is set up as follows: ``` { "mcpServers": { "sitemcp": { "command": "/Users/username/.volta/bin/npx", // Using path to npx because of volta "args": [ "-y", "sitemcp@latest", "https://daisyui.com", "-m", "/components/**" ] } } } ``` </details> ## Expected Behavior Claude Desktop should be able to use the sitemcp tool for crawling without any errors. ## Environment OS: macOS Application: Claude Desktop Node: 20.11.1 npm: 10.2.4
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by LeeDDHH and has received 10 comments.