Context7 MCP Server
- Endpoint
-
https://mcp.context7.com/mcp - Transport
- streamable-http
- Docs
- https://context7.com/docs/resources/all-clients
Authorization: Bearer <credential> Create an account in the Context7 dashboard, then generate an API key from Manage API Keys. Use it as Authorization: Bearer <key> for the REST API and MCP server. For the CLI, the primary setup path is to run ctx7 login; ctx7 setup --api-key <key> is a non-interactive fallback.
OAuth · resolves from well-known metadata For MCP clients, Context7 supports standard OAuth 2.0 with dynamic client registration. A compatible MCP client can self-register automatically via the authorization server metadata at clerk.context7.com/.well-known/oauth-authorization-server and the protected-resource metadata at mcp.context7.com/.well-known/oauth-protected-resource; the user then approves access in the browser. For compatibility, Context7 also documents issuer endpoints on https://context7.com/api/oauth/*; see Set Up OAuth.