Description
Overview
We want to streamline the setup of the MCP server for users across various LLM clients. This issue tracks adding a script that:
- Configures the MCP server to run with a specific client
- Updates the corresponding client’s config file automatically
Goals
- Support the following LLM clients:
- Claude Desktop (default)
- Cursor
- Windsurf
- GitHub Copilot
Provide a single command for users to run:
pipx run singlestore-mcp-server init <SINGLESTORE_API_KEY> --client=claude
If no --client
flag is passed, default to Claude.
Functionality
When the command is run:
- A configuration entry should be written/updated in the corresponding client’s config file to point to the MCP server.
- Include helpful CLI output for debugging and confirming the setup.
- If the client is unsupported or misconfigured, show a clear error message.
Testing
- Validate setup works end-to-end for each supported client.
- Confirm that config files are updated correctly.
- Ensure no-op or graceful errors when run on unsupported systems or clients.
Notes
- Each client may require slightly different paths/config formats — add support incrementally if needed.
- Consider prompting the user to install the MCP server if it’s not already installed.