Set up your agent connections

Connect Reference Context to your favorite AI tools and agents using MCP or direct API.
MCP Sources

Connect Reference Context to every AI surface

Give your teams one canonical MCP server URL. Drop it into ChatGPT, Claude, Gemini, or your custom agents and watch each response honor the same trusted context.

Add Reference Context as a source

Copy your workspace’s MCP server URL and follow these guided steps for each chat surface. Every card keeps the instructions crisp and scannable.

ChatGPT

  1. 1Open chat.openai.com and start a new GPT-4o or GPT-4.1 conversation.
  2. 2Click the paperclip beside the composer and choose Add a source.
  3. 3Select MCP server, paste your Reference Context URL, then press Connect.
  4. 4Toggle the source on before you send your prompt.

Claude

  1. 1Visit claude.ai, open a chat, and expand the Sources panel.
  2. 2Choose Add MCP server to open the connection modal.
  3. 3Paste the Reference Context URL and click Save.
  4. 4Confirm the source switch is on, then share your task.

Gemini

  1. 1Head to gemini.google.com and create a fresh conversation.
  2. 2Use the plus icon below the prompt box and pick Add source.
  3. 3Select MCP server URL, paste the Reference Context link, and tap Add.
  4. 4Verify the source badge appears under the input before submitting.

Claude Code

Add Reference Context to your development workflow.
Install the MCP packagenpm install @reference-context/mcp
Register the serverAdd to .claude/mcp.json
{
  "servers": {
    "reference-context": {
      "command": "node_modules/.bin/reference-context-mcp",
      "env": {
        "DATABASE_URL": "your_database_url",
        "REFERENCE_CONTEXT_USER_ID": "your_user_id"
      }
    }
  }
}
Start codingReference Context streams into Claude Code instantly.

Custom Agents & Codex

Connect any MCP-compatible agent in minutes.
Direct API accessGET /api/rc/{rcId}/queries/{id}
Run the MCP servernpm run mcp
Use the SDKspip install reference-context or npm i @reference-context/sdk