Connect CodeContext to VS Code via MCP
Add your coding standards to Visual Studio Code through MCP-compatible extensions. AI assistants in VS Code will reference your standards when helping you code.
How to Set Up
Create a CodeContext account
Sign up and create a space with your coding standards.
Copy your MCP credentials
Go to the Connect page and copy your MCP server URL and API key.
Configure MCP in VS Code
Open your VS Code settings (JSON) and add a "mcp" section with your CodeContext server URL and API key in the headers.
Install a compatible AI extension
Make sure you have an MCP-compatible AI extension installed, such as the GitHub Copilot extension with MCP support or the Claude extension for VS Code.
Verify the connection
Open the MCP server panel in VS Code to confirm CodeContext is connected. Ask your AI assistant to retrieve your coding standards.
Frequently Asked Questions
Which VS Code extensions support MCP?
GitHub Copilot (with agent mode), the Claude for VS Code extension, and several other AI extensions support MCP. Check your extension's documentation for MCP configuration details.
Can I use this with GitHub Copilot?
Yes, GitHub Copilot's agent mode supports MCP servers. Add CodeContext as an MCP server in your VS Code settings and Copilot can access your standards.
Does this work in VS Code on the web?
MCP support varies by environment. The best experience is with VS Code Desktop, where MCP connections are fully supported.
How do I configure this for my whole team?
Add the MCP configuration to your workspace .vscode/settings.json file (without the API key). Each team member adds their own API key via environment variables or user settings.
Get Started with VS Code
Connect CodeContext to VS Code in under 5 minutes.