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.
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_docsandtavily_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
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_KEYSenables auth checks for protected/mcpmethods only after you configure it.MCP_AUTH_KEYSaccepts one key or a comma-separated list of keys. Valid characters are letters, numbers,_, and-.PAPER_SEARCH_MCP_UNPAYWALL_EMAILSis used for Unpaywall access and thepaper_get_open_accesstool.PAPER_SEARCH_MCP_UNPAYWALL_EMAILSaccepts 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:readmeto refresh this block fromsrc/mcp/tool-manifest.ts,src/mcp/resource-manifest.ts, andsrc/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 devstarts the Worker locally through Wranglernpm testruns the Vitest suitenpm run typecheckruns TypeScript without emitting build outputGET /versionreports runtime package metadata frompackage.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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.