toolhive-mcp

toolhive-mcp

A hosted HTTP MCP server for Cloudflare Workers that exposes a bundle of tools via a remote /mcp endpoint, enabling Claude-compatible clients to connect without a local server.

Category
访问服务器

README

中文

Toolhive MCP

Toolhive MCP is a hosted HTTP MCP server for Cloudflare Workers. It turns a practical bundle of MCP tools into one remote /mcp endpoint so you can connect Claude-compatible clients without running a local stdio server.

What this project is

Use Toolhive MCP when you want:

  • one public MCP endpoint instead of a local daemon
  • Cloudflare Workers deployment with low operational overhead
  • Anthropic-compatible canonical tool names such as context7_query_docs and tavily_search
  • a manifest-driven tool surface that stays aligned with the actual server implementation

Online demo

Copy this demo endpoint directly into your MCP client:

https://mcp.awsl.app/mcp?key=elysia

Additional public endpoints:

  • Health: https://mcp.awsl.app/healthz
  • Ready: https://mcp.awsl.app/readyz
  • Version: https://mcp.awsl.app/version

Quick client setup

All examples below use the live demo endpoint:

https://mcp.awsl.app/mcp?key=elysia

Claude

Add a remote MCP server in Claude and use:

  • URL: https://mcp.awsl.app/mcp?key=elysia
  • Transport: Streamable HTTP / HTTP MCP

If your Claude build asks for headers instead of a full URL with query params, use https://mcp.awsl.app/mcp and send one of the supported auth options from the next section.

Cursor

In Cursor MCP settings, add a remote server pointing to:

{
  "mcpServers": {
    "toolhive-mcp": {
      "url": "https://mcp.awsl.app/mcp?key=elysia"
    }
  }
}

Cline

In Cline's MCP server configuration, add:

{
  "mcpServers": {
    "toolhive-mcp": {
      "url": "https://mcp.awsl.app/mcp?key=elysia"
    }
  }
}

Cherry Studio

In Cherry Studio, create a custom MCP server with:

  • Name: toolhive-mcp
  • Type: Remote / HTTP MCP
  • URL: https://mcp.awsl.app/mcp?key=elysia

Codex

For Codex clients that accept remote MCP configuration, use:

{
  "mcp_servers": {
    "toolhive-mcp": {
      "url": "https://mcp.awsl.app/mcp?key=elysia"
    }
  }
}

Supported authentication

Toolhive MCP currently supports these authentication styles:

  • Bearer
  • x-api-key / API key
  • query key

Examples:

Authorization: Bearer elysia
x-api-key: elysia
https://mcp.awsl.app/mcp?key=elysia

This release uses only Bearer, x-api-key / API key, or query key authentication.

Self-hosting

For your own deployment, point clients to:

  • MCP: https://<your-worker-domain>/mcp
  • Health: https://<your-worker-domain>/healthz
  • Ready: https://<your-worker-domain>/readyz
  • Version: https://<your-worker-domain>/version

Deploy to Cloudflare Workers

Deploy to Cloudflare

Repository: https://github.com/DoingDog/toolhive-mcp

Manual deployment:

npm install
npm run deploy

The project uses the repository's existing wrangler.jsonc configuration.

Optional third-party secrets

Only configure the providers you want to expose:

npx wrangler secret put MCP_AUTH_KEYS
npx wrangler secret put TAVILY_API_KEYS
npx wrangler secret put CONTEXT7_API_KEYS
npx wrangler secret put EXA_API_KEYS
npx wrangler secret put UNSPLASH_ACCESS_KEYS
npx wrangler secret put PUREMD_API_KEYS
npx wrangler secret put PAPER_SEARCH_MCP_UNPAYWALL_EMAILS

Key notes:

  • MCP_AUTH_KEYS enables auth checks for protected /mcp methods only after you configure it.
  • MCP_AUTH_KEYS accepts one key or a comma-separated list of keys. Valid characters are letters, numbers, _, and -.
  • PAPER_SEARCH_MCP_UNPAYWALL_EMAILS is used for Unpaywall access and the paper_get_open_access tool.
  • PAPER_SEARCH_MCP_UNPAYWALL_EMAILS accepts one email or a comma-separated list of emails.
  • Provider key secrets can contain one key or a comma-separated list of keys.

Tool catalog

The block below is generated from the manifest and should be refreshed with npm run render:readme.

<!-- GENERATED:README_TOOLING:start -->

Generated tool snapshot

Demo endpoint: https://mcp.awsl.app/mcp?key=elysia

Supported auth:

  • Bearer
  • x-api-key / API key
  • query key

Manifest-backed tool surface:

  • Native tools: weather, time, whoami, webfetch, calc
  • Paper tools: paper_search, paper_get_details, paper_get_related
  • Env-gated paper tool: paper_get_open_access
  • External tools: iplookup
  • Env-gated external tools: exa_search, tavily_search, tavily_extract, tavily_crawl, context7_resolve_library_id, context7_query_docs, puremd_extract, unsplash_search_photos
  • Developer utilities: devutils_base64_encode, devutils_base64_decode, devutils_hash, devutils_uuid, devutils_jwt_decode, devutils_json_format, devutils_json_validate, devutils_regex_test, devutils_url_parse, devutils_timestamp_convert, devutils_ip_validate, devutils_cidr_calculate, devutils_text_stats, devutils_slugify, devutils_case_convert

Built-in resources:

  • resource://toolhive/overview (text/markdown, static)
  • resource://toolhive/auth (text/markdown, static)
  • resource://toolhive/catalog (text/markdown, static)
  • resource://toolhive/runtime/enabled (application/json, runtime)

Built-in prompts:

  • choose_tool_for_task, research_with_sources, developer_utility_workflow
  • Run npm run render:readme to refresh this block from src/mcp/tool-manifest.ts, src/mcp/resource-manifest.ts, and src/mcp/prompt-manifest.ts. <!-- GENERATED:README_TOOLING:end -->

Development

Local development workflow:

npm install
npm test
npm run typecheck
npm run dev

Useful notes:

  • npm run dev starts the Worker locally through Wrangler
  • npm test runs the Vitest suite
  • npm run typecheck runs TypeScript without emitting build output
  • GET /version reports runtime package metadata from package.json

Current release notes

Disabled domain tools

Domain-related tools are intentionally disabled in this release.

The codebase still contains domain integration code for possible future re-enable, but the released MCP surface does not expose any domain_* tools.

Disabled news tools

News tools are intentionally disabled in this release.

The codebase still contains news integration code for possible future re-enable, but the released MCP surface does not expose any news_* tools.

License

This project is released under the 0BSD license. See LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选