context bridge for VS Code
io.github.prateekg7/context-bridge
Context portability MCP server for compressing, formatting, and resuming AI conversation handoffs.
client:VS Code
transport:stdio
runtime:npm
Install context bridge in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "openai-api-key",
"description": "OPENAI_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "openai-model",
"description": "OPENAI_MODEL",
"password": true
},
{
"type": "promptString",
"id": "contextbridge-hosted-url",
"description": "CONTEXTBRIDGE_HOSTED_URL",
"password": true
},
{
"type": "promptString",
"id": "contextbridge-hosted-api-key",
"description": "CONTEXTBRIDGE_HOSTED_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "contextbridge-hosted-model",
"description": "CONTEXTBRIDGE_HOSTED_MODEL",
"password": true
}
],
"servers": {
"context-bridge": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@contextbridge_ai/mcp"
],
"env": {
"OPENAI_API_KEY": "${input:openai-api-key}",
"OPENAI_MODEL": "${input:openai-model}",
"CONTEXTBRIDGE_HOSTED_URL": "${input:contextbridge-hosted-url}",
"CONTEXTBRIDGE_HOSTED_API_KEY": "${input:contextbridge-hosted-api-key}",
"CONTEXTBRIDGE_HOSTED_MODEL": "${input:contextbridge-hosted-model}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs