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

Prerequisites

Steps

1. Open Claude Desktop config

open ~/Library/Application\ Support/Claude/claude_desktop_config.json

2. Add MCP server config

{
  "mcpServers": {
    "my-project": {
      "command": "npx",
      "args": ["ctxc", "mcp", "stdio", "-i", "my-project"],
      "env": {
        "AUGMENT_API_TOKEN": "your-token",
        "AUGMENT_API_URL": "https://your-tenant.api.augmentcode.com/"
      }
    }
  }
}

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

Instead of…Try…
One repoAdd multiple entries to mcpServers for different projects
Local indexS3-stored indexes with --store s3 and CC_S3_BUCKET env var
Search onlyAdd --search-only to disable file reading