Example Servers
The repository includes two example servers to test against.
Hono MCP Server (examples/servers/hono-mcp)
A lightweight server built with Hono and deployed to Cloudflare Workers.
- Tools:
calculate_party_capacity,get_vengabus_times - Transport: HTTP (Streamable)
- Auth: None (Open)
Run it:
cd examples/servers/hono-mcp
npm install
npm run dev
# Runs on http://localhost:5101
Cloudflare Agents Server (examples/servers/cf-agents)
A more complex server using Cloudflare's Agent framework, supporting OAuth.
- Tools:
add,calculate - Resources:
calc://history,calc://settings - Auth: OAuth (simulated via a mock provider in the same worker)
Run it:
cd examples/servers/cf-agents
npm install
npm run dev
# Runs on http://localhost:5102