Install guide · Claude Desktop
Install context-bridge for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
Add to Cursor: context-bridgeInstall in VS Code: context-bridgeInstall in VS Code Insiders: context-bridge
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "prateekg7-context-bridge": { "command": "npx", "args": [ "-y", "@contextbridge_ai/mcp@0.1.3" ], "env": { "OPENAI_API_KEY": "YOUR_OPENAI_API_KEY", "OPENAI_MODEL": "", "CONTEXTBRIDGE_HOSTED_URL": "", "CONTEXTBRIDGE_HOSTED_API_KEY": "YOUR_CONTEXTBRIDGE_HOSTED_API_KEY", "CONTEXTBRIDGE_HOSTED_MODEL": "" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |