Skip to main content
Glama
MooseGooseConsulting

Context7 Key Rotator MCP

Context7 Key Rotator MCP

一个小型、面向 Context7 V2 的独立远程 HTTP Model Context Protocol 服务器。它只暴露两个工具:

  • resolve-library-id(libraryName, query)

  • query-docs(libraryId, query)

每次普通请求都会交替使用 CONTEXT7_API_KEYS 中的两个密钥。如果 Context7 阻止了所选密钥(401403429),服务器会使用另一个密钥重试一次请求。如果两个密钥都被阻止,则该工具调用会返回一个 MCP 错误。

该服务器是无状态的:它没有 OAuth、CLI 适配器、持久化密钥状态、冷却时间、评分、代理或会话存储。

本地运行

CONTEXT7_API_KEYS 必须恰好包含两个用逗号分隔的 Context7 API 密钥。请将其保存在你的密钥管理器中;不要将它放入已提交的 .env 文件中。

doppler run -p ai-automation -c dev -- npm start

服务器监听 PORT(默认 3000)上的 POST /mcp。托管环境负责网络暴露、TLS 和客户端注册。

Related MCP server: Context7 MCP Python Server

开发

npm install
npm test
npm run build

测试模拟了 Context7 V2,覆盖正常轮换、在被拒绝的响应后改用另一个密钥重试、两个密钥都被拒绝时的失败,以及原生兼容的结果格式化器。

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides 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.
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides 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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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