byo-mcp-sample-shim
v0.1.0
Published
Minimal MCP stdio shim that proxies to your HTTP backend. Sample for build-your-own-mcp; full guide on Gumroad.
Readme
byo-mcp-sample-shim
Minimal MCP stdio shim that proxies to your HTTP backend. Public sample from build-your-own-mcp.
Use
npm install -g byo-mcp-sample-shim
BYO_MCP_API_URL=https://your-worker.example.workers.dev byo-mcp-sample-shimOr in Claude Code's config:
{
"mcpServers": {
"byo-mcp-sample": {
"command": "npx",
"args": ["-y", "byo-mcp-sample-shim"],
"env": { "BYO_MCP_API_URL": "https://your-worker.example.workers.dev" }
}
}
}Want the production version?
This shim has one tool (echo) and no auth UI. The
full guide on Gumroad ships:
- Multiple tools wired to your HTTP backend
- API key issuance via Stripe checkout
- Per-key quota with
X-…-Calls-Remainingheaders - Auto-refresh logic + error retries
- npm publish workflow + version tagging
- Submission to the official MCP Registry
Built by @LuuOW. Same shim pattern powers ask-meridian.uk.
