AgentMarketMCP / SKILL 资产档案馆

目录 / Context Repo MCP Server

MCP 需 API Key 未评级 已上架

Context Repo MCP Server

*One workspace for your prompts, documents, and collections — accessible from every AI client you use.* Context Repo is an AI context management platform for capturing, organizing, versioning, and searching the knowledge artifacts you use with AI tools. This MCP server exposes **28 tools** that give Claude, Cursor, ChatGPT, Factory, Windsurf, Codex, Claude Code, and any other MCP-compatible client direct read-and-write access to your personal workspace — no copy-paste, no context loss between conversations. ## Features - **Prompts** — Full CRUD with version history, rollback, and semantic search across your prompt library - **Documents** — Markdown and plain-text storage with automatic chunking and 1536-dim vector embeddings - **Collections** — Named folders that group prompts and documents into project-scoped contexts - **Catalog Search** — `find_items` returns ranked results across prompts, documents, and collections in a single call (semantic by default, literal fallback) - **Deep Search** — Hierarchical document navigation: search ranked passages, then expand up to parents, down to children, or sideways to siblings for token-efficient exploration of long content - **Version History** — Every content edit creates a new version; restore any prompt or document to any previous state - **Real-time Sync** — Changes propagate instantly via Convex live queries; AI clients always see the latest content - **ChatGPT Apps Ready** — `search` and `fetch` are OpenAI Apps SDK Company-Knowledge eligible; `find_items` carries an optional `ui://` resource for inline result rendering ## Tools (28 total) | Category | Tools | |---|---| | User Info (1) | `get_user_info` | | Prompts (7) | `search_prompts` · `read_prompt` · `create_prompt` · `update_prompt` · `delete_prompt` · `get_prompt_versions` · `restore_prompt_version` | | Documents (7) | `list_documents` · `get_document` · `create_document` · `update_document` · `delete_document` · `get_document_versions` · `restore_document_version` | | Collections (7) | `list_collections` · `get_collection` · `create_collection` · `update_collection` · `delete_collection` · `add_to_collection` · `remove_from_collection` | | Catalog (1) | `find_items` | | Deep Search (3) | `deep_search` · `deep_read` · `deep_expand` | | ChatGPT Apps (2) | `search` · `fetch` | ## Authentication Two ways to connect: 1. **API Key** — Generate a scoped `gm_*` key at [contextrepo.com/dashboard/settings](https://contextrepo.com/dashboard/settings). Per-key permissions: `prompts.read`, `prompts.write`, `documents.read`, `documents.write`, `documents.scrape`. Sent as `Authorization: Bearer gm_...`. 2. **Clerk OAuth 2.0** — RFC 9728 protected-resource metadata at `/.well-known/oauth-protected-resource/mcp`, RFC 8414 authorization-server metadata at `/.well-known/oauth-authorization-server`. Standard OAuth flow for clients that support it. ## Use Cases - **Prompt library that follows you.** Stop copy-pasting prompts between Claude, Cursor, and ChatGPT. Maintain one canonical version, retrieve it from any client. - **Personal knowledge base.** Save research articles, documentation, and AI conversations with the [Context Repo Chrome Extension](https://contextrepo.com/chrome-extension), then pull them in as grounded context inside your AI tools. - **Project-scoped collections.** Separate workspaces per client, repo, or topic so an AI assistant only sees what's relevant to the task at hand. - **Version-controlled prompts.** Track how prompts evolve, A/B test variants, and roll back when an "improvement" turns out worse. - **Long-document exploration.** Deep Search navigates book-length documents passage by passage instead of dumping them into context — every chunk carries parent/child/sibling links the agent can walk. ## Compatibility Streamable HTTP transport, MCP spec ≥ 2025-03-26. Verified with Claude Desktop, Cursor, ChatGPT (via the OpenAI Apps SDK), Factory, Windsurf, Codex, Claude Code, VS Code (Continue), and Amp. Any MCP-compatible client should work. ## Resources - Website: [contextrepo.com](https://contextrepo.com) - Documentation: [contextrepo.com/docs](https://contextrepo.com/docs) - Pricing & free trial: [contextrepo.com/pricing](https://contextrepo.com/pricing) - Agent discovery: [contextrepo.com/llms.txt](https://contextrepo.com/llms.txt) - API reference: [contextrepo.com/openapi.json](https://contextrepo.com/openapi.json)

该来源不提供完整文件导出(国内平台多为平台内托管),仅存元数据与原链

接入信息

传输形态
http
鉴权方式
需 API Key(需要配置:apiKey)
端点
https://context-repo-mcp--contextrepo.run.tools
该服务需要凭证,请按官方文档申请后替换占位符
{
  "mcpServers": {
    "Context Repo MCP Server": {
      "headers": {
        "Authorization": "Bearer \u003cYOUR_KEY\u003e"
      },
      "url": "https://context-repo-mcp--contextrepo.run.tools"
    }
  }
}

能力清单

工具说明
get_user_infoGets information about the authenticated Context Repo user
search_promptsList all prompts belonging to the authenticated user. Returns prompt titles, descriptions, and metadata.
read_promptGet the full details of a specific prompt including its content and variables
create_promptCreate a new prompt template.
update_promptUpdate an existing prompt. Only provide the fields you want to change. Updates that change `content` create a new version row in the prompt history (inspect with get_prompt_versions, roll back with restore_prompt_version). Metadata-only edits (`title`, `description`) patch in place and do not create a new version.
delete_promptPermanently delete a prompt. This action cannot be undone.
get_prompt_versionsGet the version history of a prompt. Shows all previous versions with change logs.
restore_prompt_versionRestore a prompt to a previous version. Creates a new version with the restored content.
list_documentsList all documents belonging to the authenticated user
get_documentGet the full content of a specific document
create_documentCreate a new text document.
update_documentUpdate an existing document. Only provide fields you want to change. Updates that modify `content` create a new version in the document's history (reviewable with get_document_versions, rollbackable with restore_document_version) and trigger re-indexing for semantic search. Title-only updates do not bump the version.
delete_documentPermanently delete a document. This action cannot be undone.
get_document_versionsGet the version history of a document. Shows all previous versions with change logs.
restore_document_versionRestore a document to a previous version. Creates a new version with the restored content.
list_collectionsList all collections belonging to the authenticated user
get_collectionGet details of a specific collection including its items
create_collectionCreate a new collection to organize prompts and documents. Requires the `documents.write` API-key scope (collections share the documents.write scope -- see `shared/api-key-permissions.ts`).
update_collectionUpdate a collection's metadata. Requires the `documents.write` API-key scope (collections share the documents.write scope).
delete_collectionDelete a collection. Items in the collection are NOT deleted, only the collection itself. Requires the `documents.write` API-key scope (collections share the documents.write scope).
add_to_collectionAdd documents or prompts to a collection. Requires the `documents.write` API-key scope (collections share the documents.write scope).
remove_from_collectionRemove documents or prompts from a collection. Requires the `documents.write` API-key scope (collections share the documents.write scope).
find_itemsSearch 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 the first ~4 KiB of document content; for full body-text search use deep_search.
searchSearch the user's Context Repo workspace for prompts, documents, and collections matching a query. Returns a flat list of citation-ready results compatible with ChatGPT Apps Company Knowledge. Each result has an opaque `id` (pass it to `fetch` for full content), a `title`, and a `url` for human click-through.
fetchRetrieve the full content of a single prompt, document, or collection by id (returned from `search`). Returns markdown text plus a citation URL compatible with ChatGPT Apps Company Knowledge. The id format is `<type>_<convexId>` (e.g., "prompt_jd7frwnj...", "document_jd7bbp9m...", "collection_jd7c0t5k...").
deep_searchSearch within document content using vector similarity and return ranked, hierarchical chunks. Unlike find_items (which returns item-level catalog results across prompts, documents, and collections), deep_search returns granular content fragments with structural metadata -- each result includes a chunkId, hierarchy level (document/section/paragraph), and navigation links (parentId, siblingIds). Use the returned chunkIds with deep_read to inspect full chunk details, or deep_expand to navigate up/down/next/previous/surrounding in the document tree. Ideal for answering specific questions, finding passages, or progressively exploring large documents without loading everything at once. Supports session-based deduplication, and filtering by collection or document.
deep_readRetrieve a single document chunk with full content and hierarchy metadata. Use after deep_search (to inspect a result in detail) or deep_expand (to examine a navigated chunk). Returns complete text plus structural position: sectionPath, chunkIndex, navigation IDs (parentChunkId, prevSiblingId, nextSiblingId), and content metadata (wordCount, headingText). Pass the returned chunkId to deep_expand for further navigation.
deep_expandNavigate the document hierarchy from a chunk in 5 directions: up (parent), down (children), next (next sibling under the same parent), previous (previous sibling under the same parent), surrounding (context window — same-parent siblings; on sparse hierarchies where the target is the only child under its parent, surrounding automatically falls back to the last/first chunks of the parent's prev/next sibling sections so callers still get meaningful neighbouring context). Use after deep_search to explore related content without re-searching. Pass any chunkId from deep_search or a previous deep_expand call. Use deep_read on any returned chunk for full metadata.
纠错与举报(发现条目失效、署名有误或涉及侵权?)
提交举报 / 纠错

侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。