Use the claude mcp add command. The -- separator before the launch command is required; flags must come before it.
claude mcp add openclawbundles \
--transport stdio \
--scope user \
--env OCB_API_KEY=YOUR_OCB_API_KEY \
-- npx -y @openclawbundles/mcp-server
Scopes: local (current project), project (committed to .mcp.json), user (all your projects). Verify with /mcp inside Claude Code.
Open Settings → Developer → Edit Config and add the entry below.
- macOS = ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows = %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"openclawbundles": {
"command": "npx",
"args": ["-y", "@openclawbundles/mcp-server"],
"env": {
"OCB_API_KEY": "YOUR_OCB_API_KEY"
}
}
}
}Fully quit and relaunch Claude Desktop after editing. On Windows, if you see ENOENT or ${APPDATA} errors, run "npm install -g npm" once and add "APPDATA": "C:\\\\Users\\\\<you>\\\\AppData\\\\Roaming\\\\" inside env.
Edit the MCP config file, or use Cursor Settings → Features → MCP → Add New MCP Server (transport: stdio).
- global = ~/.cursor/mcp.json
- project = <project>/.cursor/mcp.json
{
"mcpServers": {
"openclawbundles": {
"command": "npx",
"args": ["-y", "@openclawbundles/mcp-server"],
"env": {
"OCB_API_KEY": "${env:OCB_API_KEY}"
}
}
}
}Reload Cursor after editing the file, then enable the server in the MCP panel.
Use the gemini mcp add helper, or edit the settings file directly.
- global = ~/.gemini/settings.json
- project = .gemini/settings.json
gemini mcp add -e OCB_API_KEY=YOUR_OCB_API_KEY \
openclawbundles npx -y @openclawbundles/mcp-server
{
"mcpServers": {
"openclawbundles": {
"command": "npx",
"args": ["-y", "@openclawbundles/mcp-server"],
"env": {
"OCB_API_KEY": "$OCB_API_KEY"
},
"timeout": 30000,
"trust": false
}
}
}Restart the gemini CLI, then verify with /mcp.
Add it from Windsurf Settings → Cascade → MCP Servers, or edit the config file.
- macOS / Linux = ~/.codeium/windsurf/mcp_config.json
- Windows = %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"openclawbundles": {
"command": "npx",
"args": ["-y", "@openclawbundles/mcp-server"],
"env": {
"OCB_API_KEY": "${env:OCB_API_KEY}"
}
}
}
}Restart Windsurf to load the new server.