microservices.sh

Registre officiel Cloud et DevOps

MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

Que pouvez-vous faire avec microservices.sh ?

  • list_templates
  • inspect_template
  • list_modules
  • inspect_module
  • list_module_docs
  • get_module_doc
  • compose_app
  • validate_config

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http microservices-sh 'https://api.microservices.sh/mcp' --header 'Authorization: <Bearer ${MICROSERVICES_API_KEY}>'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "microservices-sh": {
            "type": "http",
            "url": "https://api.microservices.sh/mcp",
            "headers": {
                "Authorization": "<Bearer ${MICROSERVICES_API_KEY}>"
            }
        }
    }
}
NPM package @microservices-sh/mcp
Claude Code
claude mcp add microservices-sh -- npx -y @microservices-sh/mcp@0.1.3
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "microservices-sh": {
            "command": "npx",
            "args": [
                "-y",
                "@microservices-sh/mcp@0.1.3"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. @microservices-sh/mcp
  2. Why Agents Use It
  3. Install
  4. MCP Client Config
  5. Tools
  6. Environment
  7. Registry Notes

@microservices-sh/mcp

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.

Why Agents Use It

@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.

Install

pnpm add -D @microservices-sh/mcp

Or run it directly after publish:

pnpm dlx @microservices-sh/mcp

Or install from Glama:

MCP Client Config

{
  "mcpServers": {
    "microservices": {
      "command": "microservices-mcp",
      "env": {
        "MICROSERVICES_API_URL": "https://api.microservices.sh",
        "MICROSERVICES_API_KEY": "favored-secret-manager-reference"
      }
    }
  }
}

For local development inside this repo:

{
  "mcpServers": {
    "microservices-local": {
      "command": "node",
      "args": ["/absolute/path/to/mcp/dist/index.js"]
    }
  }
}

Build the local package first:

pnpm build

For agent-oriented one-click install guidance, see llms-install.md.

Tools

Read-only and local planning tools:

  • list_templates
  • inspect_template
  • list_modules
  • inspect_module
  • list_module_docs
  • get_module_doc
  • compose_app
  • validate_config
  • generate_project
  • run_checks
  • plan_add_module
  • check_updates
  • plan_module_upgrade
  • get_secrets_status
  • create_preview_plan

Remote control-plane tools:

  • deploy_preview
  • get_deployment_status

deploy_preview is mutating and requires confirm: "preview". Run create_preview_plan first.

Environment

VariablePurpose
MICROSERVICES_API_URLRemote control-plane URL. Defaults to https://api.microservices.sh.
MICROSERVICES_API_KEYBearer token for remote tools.
MICROSERVICES_TOKENFallback bearer token.

Secret values are never returned by the MCP tools.

Registry Notes

The package is published to npm, listed in the official MCP Registry, and verified by Glama:

The package declares "mcpName": "sh.microservices/mcp" in package.json. Docker/OCI packaging should wrap this same stdio server rather than forking behavior.

Questions fréquentes

Qu'est-ce que microservices.sh ?

MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

Comment installer microservices.sh ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http microservices-sh 'https://api.microservices.sh/mcp' --header 'Authorization: <Bearer ${MICROSERVICES_API_KEY}>'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour microservices.sh ?

Oui. Il attend Authorization, à renseigner dans sa configuration.

microservices.sh est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient microservices.sh ?

Il est publié par microservices-sh. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.