The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Microservices Sh MCP listing page.
MCP server for AI agents that generate, verify, and deploy Cloudflare-native apps from reusable microservices.sh modules.
This package is a standalone stdio MCP server. It vendors a small microservices.sh SDK/module-contract snapshot until the public SDK is split out.
@microservices-sh/mcp gives coding agents a typed planning layer for building production-oriented Cloudflare apps. Agents can discover verified templates and modules, inspect module contracts, compose an app plan, validate configuration, generate project files for review, run readiness checks, and prepare approval-gated preview deployments through the microservices.sh control plane.
It is useful when an agent needs to build apps with common product modules such as auth, booking, customer records, payments, files, and audit logs without inventing each integration from scratch.
Or run it directly after publish:
Or install from Glama:
For local development inside this repo:
Build the local package first:
For agent-oriented one-click install guidance, see llms-install.md.
Read-only and local planning tools:
list_templatesinspect_templatelist_modulesinspect_modulelist_module_docsget_module_doccompose_appvalidate_configgenerate_projectrun_checksplan_add_modulecheck_updatesplan_module_upgradeget_secrets_statuscreate_preview_planRemote control-plane tools:
deploy_previewget_deployment_statusdeploy_preview is mutating and requires confirm: "preview". Run create_preview_plan first.
| Variable | Purpose |
|---|---|
MICROSERVICES_API_URL | Remote control-plane URL. Defaults to https://api.microservices.sh. |
MICROSERVICES_API_KEY | Bearer token for remote tools. |
MICROSERVICES_TOKEN | Fallback bearer token. |
Secret values are never returned by the MCP tools.
The package is published to npm, listed in the official MCP Registry, and verified by Glama:
@microservices-sh/mcpsh.microservices/mcp@microservices-sh/mcphttps://api.microservices.sh/mcpThe package declares "mcpName": "sh.microservices/mcp" in package.json. Docker/OCI packaging should wrap this same stdio server rather than forking behavior.