A simple utility to add MCP servers to Claude Desktop, VSCode, or Cursor.
This package is designed to be used with npx
without installation:
npx @ownid/mcp-desktop-installer <install-target> <server-name> <server-url>
npx @ownid/mcp-desktop-installer "Claude Desktop" acme https://abc.server.ownid.ai/mcp/ai
This will add a server named "acme" to your Claude Desktop configuration.
"Claude Desktop"
- For Claude Desktop application"VSCode"
- For Visual Studio Code"Cursor"
- For Cursor editor
Install targets are case-insensitive and support variations (e.g., "claude", "vs code").
npm install -g @ownid/mcp-desktop-installer
mcp-desktop-installer <install-target> <server-name> <server-url>
--help, -h Display usage information
--version, -v Display version information
The installer updates the configuration file for the selected target with a new MCP server entry:
-
Claude Desktop:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Other platforms:
~/.anthropic/config.json
(fallback)
- macOS:
-
VSCode:
~/.vscode/mcp.json
-
Cursor:
~/.cursor/mcp.json
Example configuration (Claude Desktop):
{
"mcpServers": {
"acme": {
"command": "/path/to/npx",
"args": [
"-y",
"@ownid/mcp-remote@next",
"https://abc.server.ownid.ai/mcp/ai"
]
}
}
}
- Node.js 14 or later
- Claude Desktop installed
-
Configuration file not updating
- Make sure the target application is not running when you update the configuration
- Check that you have write permissions to the configuration directory
-
MCP server not appearing in the application
- Restart the application after adding the MCP server
- Verify the configuration file was updated correctly
-
Incorrect install target
- Make sure you're using one of the supported targets: "Claude Desktop", "VSCode", or "Cursor"
- Check the command line arguments order:
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.