https://mcp.context7.com/mcp) instead.
Connect
Server URL:https://admin.mcp.context7.com/mcp
Authentication
OAuth
Clients that support MCP OAuth ask you to sign in with your Context7 account on the first request, and sign in again when the token expires.API key
Create a Context7 API key in the dashboard and send it as a bearer token. Every key can use the read tools, except those that return personal data: members and invitations, library requests, Ask questions, Docs7 reader searches, conversations, feedback, feature requests and the GitHub account behind a build. To read those or make changes, tick Write access when you create the key; a key without it gets403 write_access_required. A key reaches only its own teamspace. See Write access.

Teamspaces
One OAuth connection reaches every teamspace you are a member of, with your role in each.- Each tool takes
teamspace: an id or a name. Leave it out when you have one teamspace. With several, the error lists them, and you can pass a differentteamspaceon each call to work on more than one in a session. - Docs7 and Ask sites belong to a teamspace.
docs7_list_sitesandask_list_sitesgive their ids; every site tool takessite_id(Docs7) orsite_key(Ask). - An API key belongs to one teamspace. Use one key (and one server entry) per teamspace.
- To limit what an agent can do (read only, some tools only), use your client’s tool settings: Claude connectors and Claude Code permissions can turn each tool off or make it ask first.
Tools
- Library ids take
/owner/repo,owner/repo, or acontext7.comlibrary URL. - Long jobs (library parse, Docs7 build, Ask crawl): call
get_library,docs7_get_deploymentorask_get_sitewithwait: true. The server waits up to about 25 seconds for a final state. - The Docs7 agents run on their schedules, which
docs7_update_sitesets. This server reads their runs and does not start them.
list_libraries and docs7_list_sites return 50 items per page with total, page and pages. list_libraries also takes search (part of a library’s id, title or source URL) and order: "lowest" (lowest benchmark score first); docs7_list_sites takes search (part of a site’s name, repository, address or library id). A page past the last one is an error.
Console
In clients that support MCP Apps (Claude, ChatGPT, VS Code, Cursor),open_console shows a summary card in the chat — a teamspace’s usage and spend, libraries and benchmark scores, Docs7 sites, or Ask sites — with an Open console action that expands it to the full console. view picks the card (usage, libraries, docs7 or ask; default usage) and teamspace takes an id or name. In other clients open_console returns the teamspace list as text.
The page reads through this server’s read tools, called for it by the client with your sign-in, so it holds no credential of its own. Write and destructive tools are hidden from it, and requests that need the model (“Fix the lowest”, “Find doc gaps”) are sent to the chat as your next message.
Management API
The same operations are available over the REST API at/api/v2/teamspaces/{teamspaceId}, so a script can use them without an MCP client. It takes the same credentials as this server: an API key, which reaches only its own teamspace and can make changes or read personal data only with Write access, or an OAuth token issued for this server. See the API reference for the routes.
Safety and limits
- Remove and delete actions (
remove_library,manage_membersremove,manage_library_versionsremove,manage_rulesdelete,manage_owned_libraryblockandtransfer,docs7_manage_feature_requestsdelete,docs7_remove_preview,ask_delete_site) are marked destructive, so your client asks you before it runs them. They also takeconfirm, set to the exact target — the library id, email, version, rule id, request id, branch or hostname. - Deleting a whole Docs7 site cannot be undone, so it is not in this server. Do it in the dashboard.
- Results that hold third-party text (questions, searches, feedback, build logs, agent runs, library suggestions and benchmark questions) are fenced in
<untrusted-data-…>tags. docs7_get_deploymentwithinclude: ["origin"]needs Write access, becauseoriginnames the GitHub account behind the build. A read-only key still gets the build and the other parts, withoriginreplaced by anerrorobject.- Results above about 20,000 tokens are cut, with a note on how to narrow the request.