MCP server
Your context, everywhere.
Give Claude, Cursor, ChatGPT, and other MCP clients direct access to your prompts, documents, and collections. One connection, 29 tools.
- 29 tools
- Streamable HTTP
- stdio bridge v3
~/.cursor/mcp.json
{ "mcpServers": { "context-repo": { "command": "npx", "args": ["-y", "context-repo-mcp"], "env": { "CONTEXTREPO_API_KEY": "gm_your_api_key_here" } } }}Works with the MCP clients you already use
Cursor
ClaudeChatGPT
VS Code
WindsurfAmp
FactoryGrok
Say it in plain language.
Your client picks the right tools behind the scenes. You never leave the conversation.
You say
“Use my PR review prompt on this diff.”
Your client calls
- read_prompt
Your client fetches the review template with all of its variables and applies it to the diff in front of you. Nothing to copy.
29 tools. One URL.
Full CRUD, search, Deep Search, and a cited reason answer, over authenticated Streamable HTTP or the stdio bridge.
User1
- get_user_info
Prompts7
- search_prompts
- read_prompt
- create_prompt
- update_prompt
- delete_prompt
- get_prompt_versions
- restore_prompt_version
Documents7
- list_documents
- get_document
- create_document
- update_document
- delete_document
- get_document_versions
- restore_document_version
Collections7
- list_collections
- get_collection
- create_collection
- update_collection
- delete_collection
- add_to_collection
- remove_from_collection
Search1
- find_items
ChatGPT App2
- search
- fetch
Deep Search3
- deep_search
- deep_read
- deep_expand
Reasoning1
- reason
Deep Search
Search inside documents, not just titles.
Most tools stop at the filename. Deep Search lets your client search within document content, land on the exact paragraph, and walk the document like a table of contents without loading all of it.
- Vector-powered content search
- Finds passages by meaning, not keyword. Ask a question and get the paragraphs that answer it, ranked.
- Hierarchical navigation
- Move up to the parent section, down into paragraphs, or sideways through siblings. Five directions from any hit.
- Session-aware deduplication
- Chunks already returned in the same session are filtered out, so a second search surfaces what the first one missed.
deep-search.log
> deep_search "rate limiting strategy" 0.82 API Guidelines › Rate limits › Sliding window 0.74 API Guidelines › Rate limits › Fail-open 0.61 Incident notes › 2026-03 › Cold starts > deep_expand chunk_01 up API Guidelines › Rate limits ├─ Sliding window (current) ├─ Fail-open (next) └─ Per-instance counters (next) > deep_read chunk_01 "Requests are counted in a sliding window per key. When the store is unreachable the limiter fails open so a Redis outage never blocks writes."Two ways to connect.
Same account, same 29 tools either way.

Remote / Streamable HTTP
Point your client at one URL.
For clients that implement MCP OAuth or send custom authorization headers. No Node.js on your machine. Grok uses the dedicated /grok-mcp endpoint and sees the same tools.
- 01Add https://contextrepo.com/mcp as a remote MCP server.
- 02Sign in with your Context Repo account when the client asks, or set an Authorization: API-Key header.
- 03Ask “List my prompts” to confirm the connection.

Local / stdio bridge
Run the open-source bridge.
For clients that launch a local command. context-repo-mcp v3 forwards to the hosted endpoint, so tools and results stay identical to the remote path.
- 01Create an API key under Dashboard › Settings › API Keys with the prompts.read and documents.read scopes.
- 02Add npx -y context-repo-mcp with CONTEXTREPO_API_KEY to your client config (Node.js 18+).
- 03Restart the client and ask “List my prompts”.
Working in a shell, a script, or CI? The CLI reaches the same prompts, documents, and collections through the REST API.
Get the CLIYour questions, answered.
The Context Repo MCP Server provides 29 tools for prompts, documents, collections, search, reasoning, and hierarchical retrieval. Clients must support authenticated Streamable HTTP or be able to launch the local stdio bridge.
Connect an OAuth-capable remote client to https://contextrepo.com/mcp. For a stdio-only host, add the context-repo-mcp v3 bridge with a Context Repo API key.
Deep Search lets AI assistants search within document content using vector similarity, not just titles. Results include hierarchical navigation (document > section > paragraph) so your AI can explore documents progressively without loading everything at once.
Remote clients that implement MCP OAuth sign in with your Context Repo account at https://contextrepo.com/mcp and carry your full authority. Clients that launch a local command use the stdio bridge with an API key from Dashboard > Settings > API Keys, limited to the scopes you grant the key. Both resolve to the same account.
update_document and restore_document_version require an expectedRevision from get_document or the last acknowledgement. Each call makes one atomic write with no preflight read. A stale value returns REVISION_MISMATCH so your client can re-read and retry instead of overwriting someone else's change.
Yes. The hosted server exposes search and fetch aliases that follow the OpenAI Apps SDK Company Knowledge contract, so ChatGPT can cite your prompts, documents, and collections. Grok connects through the dedicated https://contextrepo.com/grok-mcp endpoint and sees the same 29 tools.
Open-source bridge
Zero copy-paste. Full context.
All 29 tools in every plan.
Illustrative activity: documents and prompts lighting up as connected AI tools read and write them.