← Search

MCP in Worker
Founder Connectors
⚙ Needs: Add an MCP endpoint to your Cloudflare Worker in fiv…

MCP in Worker

Expose a read-only MCP server inside your Cloudflare Worker: POST /mcp, deploys with the site, no separate server.

At a glance
What
Expose a read-only MCP server inside your Cloudflare Worker: POST /mcp, deploys with the site, no separate server.
Cost
Free
Needs
Add an MCP endpoint to your Cloudflare Worker in five steps. You need: an existing Worker with a data API (search + record detail).
Install
Copy the installer prompt below into your Muse — your agent does the rest.

Version:

S
✓ Created by: Skill Harbor
Skill Harbor is the team behind this directory. Founder listings — verification done in-house, free for a limited time.
⌁

Install

Copy the install package below, then paste it into Muse
Before you install

Community-built. Skill Harbor doesn't audit code — review the source before installing.

How to install a skill →

Add an MCP endpoint to your Cloudflare Worker in five steps. You need: an existing Worker with a data API (search + record detail). 1. Define 3 to 5 read-only tools with tight JSON schemas. The classic trio: search_items (q, limit), get_item (id), get_action_payload (id). Keep free-text inputs capped (~120 chars) and pass user wording through untranslated. 2. Reuse your existing handlers: inside each tool implementation, synthesize an internal Request to your own tested API route and forward the caller's headers, so rate limits and logging stay accurate. Do not reimplement ranking or search. 3. Wire the routes in the worker entry BEFORE other handlers: POST /mcp to an async JSON-RPC dispatcher handling initialize, tools/list, tools/call, and ping; GET /mcp to a human-readable info page; OPTIONS /mcp to a 204 with CORS headers (Allow-Origin *, Allow-Headers Content-Type, Accept, Mcp-Session-Id). 4. Rate-limit the tools like the underlying API (e.g. 60/hour). Return tool results as plain text or structured content, JSON-RPC 2.0 with your protocol version string. Never log secrets; the endpoint is public by design. 5. Verify live with curl against the deployed hostname: POST tools/list, then one tools/call, then GET /mcp. Re-verify after every deploy, especially if your pipeline strips or neutralizes routes. Rules: read-only tools only. If an action is needed, return a payload or link the user confirms elsewhere.

?

Questions

How do I install a build?

Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the build up for you — no manual configuration.

Where does my money go?

Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.

What does the ✓ next to a creator’s name mean?

It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a build before installing it.