Skip to main content
Experimental API - Context Connectors is experimental and subject to breaking changes.

Prerequisites

Steps

1. Open Claude Desktop config

2. Add MCP server config

3. Restart Claude Desktop

Quit and reopen Claude Desktop.

4. Test it

Ask Claude:
Search for authentication logic in my-project
You should see Claude use the search tool and return code snippets.

Done!

Your agent can now search your codebase via the local MCP server.

Works With Other Agents

This same configuration works with any MCP-compatible agent:
  • Claude Desktop - Follow the steps above
  • Claude Code (VS Code extension) - Add to Claude Code’s MCP settings
  • Cursor - Configure in Cursor’s MCP settings
  • GitHub Copilot - Add to Copilot’s MCP configuration
  • Custom agents - Any tool that supports MCP stdio protocol
Each agent has its own config file location, but the MCP server configuration is the same.

Also Works With