Context7 Key Rotator MCP
Context7 Key Rotator MCP
Ein kleiner, eigenständiger Remote-HTTP-Server für das Model Context Protocol für Context7 V2. Er stellt genau zwei Tools bereit:
resolve-library-id(libraryName, query)query-docs(libraryId, query)
Jede normale Anfrage verwendet abwechselnd einen der beiden Schlüssel aus CONTEXT7_API_KEYS. Falls Context7 den ausgewählten Schlüssel blockiert (401, 403 oder 429), versucht der Server die Anfrage einmal mit dem anderen Schlüssel erneut. Wenn beide Schlüssel blockiert sind, gibt der Tool-Aufruf einen MCP-Fehler zurück.
Der Server ist zustandslos: kein OAuth, kein CLI-Adapter, kein persistenter Schlüsselzustand, keine Cooldowns, kein Scoring, kein Proxying und keine Sitzungsspeicherung.
Lokal starten
CONTEXT7_API_KEYS muss genau zwei kommagetrennte Context7-API-Schlüssel enthalten. Bewahren Sie die Schlüssel in Ihrem Secret-Manager auf; legen Sie sie nicht in einer eingecheckten .env-Datei ab.
doppler run -p ai-automation -c dev -- npm startDer Server lauscht auf PORT (Standardwert 3000) unter POST /mcp. Die Hosting-Umgebung ist verantwortlich für die Netzwerkbereitstellung, TLS und die Client-Registrierung.
Related MCP server: Context7 MCP Python Server
Entwicklung
npm install
npm test
npm run buildDie Tests mocken Context7 V2 und decken den normalen Schlüsselwechsel, das erneute Versuchen mit dem anderen Schlüssel nach einer blockierten Antwort, den Fehlerfall, wenn beiden Schlüssel blockiert sind, sowie den native-kompatiblen Ergebnisformatierer ab.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceProvides access to the Context7 API for searching up-to-date documentation, code examples, API references, and troubleshooting help across thousands of programming libraries and frameworks. Enables developers and AI agents to quickly find accurate documentation, compare libraries, get migration guides, and resolve coding issues.
- AlicenseNot gradedqualityNot gradedmaintenanceProvides real-time access to code library documentation and examples through Context7 API integration, enabling AI assistants to retrieve up-to-date technical documentation, code snippets, and best practices for various programming libraries.1
- AlicenseNot gradedqualityDmaintenanceProvides up-to-date library documentation by resolving library names and fetching docs via the Context7 API.MIT
- AlicenseNot gradedqualityCmaintenanceEnables to search and retrieve chunks from a fictional library's documentation through three tools (kb_search, kb_fetch, kb_sources), allowing LLMs to perform RAG queries via the Model Context Protocol.MIT
Related MCP Connectors
A paid remote MCP for Context7 MCP docs, built to return verdicts, receipts, usage logs, and audit-r
Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
Query any docs site via MCP. Submit a URL, ask questions, get cited answers.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MooseGooseConsulting/context7-key-rotator-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server