{
  "name": "Context Repo MCP Server",
  "description": "29-tool MCP server for AI context management — prompts, documents, collections, semantic search, deep search, OpenAI Apps SDK Company-Knowledge (search/fetch), and synthesized cited reasoning.",
  "version": "2.0.3",
  "serverUrl": "https://contextrepo.com/mcp",
  "transport": "streamable-http",
  "authentication": {
    "type": "oauth2",
    "authorization_server": "https://contextrepo.com/.well-known/oauth-authorization-server",
    "protected_resource": "https://contextrepo.com/.well-known/oauth-protected-resource/mcp"
  },
  "documentationUrl": "https://contextrepo.com/docs",
  "tools": [
    { "name": "get_user_info", "description": "Gets information about the authenticated Context Repo user." },
    { "name": "search_prompts", "description": "List prompts in the authenticated user's workspace. Full-text (literal) match on title, description, and content. For semantic / natural-language matching of prompts, use find_items." },
    { "name": "read_prompt", "description": "Get the full details of a specific prompt including its content and variables." },
    { "name": "create_prompt", "description": "Create a new prompt template." },
    { "name": "update_prompt", "description": "Update an existing prompt; content edits create a new version row." },
    { "name": "delete_prompt", "description": "Permanently delete a prompt. This action cannot be undone." },
    { "name": "get_prompt_versions", "description": "Get the version history of a prompt." },
    { "name": "restore_prompt_version", "description": "Restore a prompt to a previous version." },
    { "name": "list_documents", "description": "List all documents belonging to the authenticated user." },
    { "name": "get_document", "description": "Get the full content of a specific document." },
    { "name": "create_document", "description": "Create a new text document." },
    { "name": "update_document", "description": "Update an existing document; content edits create a new version row and re-index for semantic search." },
    { "name": "delete_document", "description": "Permanently delete a document. This action cannot be undone." },
    { "name": "get_document_versions", "description": "Get the version history of a document." },
    { "name": "restore_document_version", "description": "Restore a document to a previous version." },
    { "name": "list_collections", "description": "List all collections belonging to the authenticated user." },
    { "name": "get_collection", "description": "Get details of a specific collection including its items." },
    { "name": "create_collection", "description": "Create a new collection to organize prompts and documents." },
    { "name": "update_collection", "description": "Update a collection's metadata." },
    { "name": "delete_collection", "description": "Delete a collection. Items in the collection are NOT deleted, only the collection itself." },
    { "name": "add_to_collection", "description": "Add documents or prompts to a collection." },
    { "name": "remove_from_collection", "description": "Remove documents or prompts from a collection." },
    { "name": "find_items", "description": "Search the user's own workspace for prompts, documents, and collections matching a query. Read-only. Returns titles, IDs, and relevance scores. Literal mode (semantic=false) searches titles, descriptions, and indexed document body text via hierarchical chunks — full-body literal matching, eventually consistent with chunking; for passage-level retrieval inside documents, use deep_search. find_items is the only tool that surfaces prompts in semantic results — deep_search operates on document chunks only. Returns up to 10 matches per type (prompts, documents, collections) per call." },
    { "name": "search", "description": "OpenAI Apps SDK Company-Knowledge search returning citation-ready results compatible with ChatGPT Apps." },
    { "name": "fetch", "description": "OpenAI Apps SDK Company-Knowledge fetch returning markdown content for an id from `search`." },
    { "name": "deep_search", "description": "Search within document content using vector similarity and return ranked, hierarchical chunks." },
    { "name": "deep_read", "description": "Retrieve a single document chunk with full content and hierarchy metadata." },
    { "name": "deep_expand", "description": "Navigate the document hierarchy from a chunk in 5 directions (up, down, next, previous, surrounding)." },
    { "name": "reason", "description": "Ask a question and get a synthesized, cited answer composed across your documents — with inline citations, an explicit gaps list, and any conflicts between sources. Read-only; document content only." }
  ]
}
