One-click MCP server configuration for gotcontext.ai semantic token compression.
Features
- Configure MCP Server — Prompts for your API key and writes
.vscode/mcp.jsonwith the gotcontext MCP server entry. Preserves any existing server configurations in the file. - Open Dashboard — Opens the gotcontext.ai dashboard in your browser to manage API keys, usage, and billing.
- Status Bar — Shows a "gotcontext" item in the status bar; click it to run the configure command.
Getting Started
- Install the extension.
- Open a workspace folder in VS Code.
- Run gotcontext: Configure MCP Server from the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P). - Enter your API key (starts with
gc_). Get one at gotcontext.ai/dashboard. - The extension writes
.vscode/mcp.json— VS Code and compatible MCP clients will pick it up automatically.
Generated Configuration
The extension writes (or merges into) .vscode/mcp.json:
{
"servers": {
"gotcontext": {
"url": "https://api.gotcontext.ai/mcp",
"headers": {
"Authorization": "Bearer gc_live_..."
}
}
}
}
Commands
| Command | Description |
|---|---|
gotcontext: Configure MCP Server |
Prompt for API key, write .vscode/mcp.json |
gotcontext: Open Dashboard |
Open https://gotcontext.ai/dashboard in browser |
Development
cd sdks/vscode-extension
npm install
npm run compile
Press F5 in VS Code to launch an Extension Development Host for testing.
Packaging
npm run package
This produces a .vsix file you can install locally with code --install-extension gotcontext-0.1.0.vsix.
Requirements
- VS Code 1.85.0 or later
- A gotcontext.ai API key (get one here)