# microservices.sh MCP server

> Enables AI agents to plan, verify, and deploy Cloudflare-native applications using reusable microservices modules.

- Repository: https://github.com/microservices-sh/mcp
- Page: https://hostedmcp.org/servers/microservices-sh/mcp
- Transport: stdio, remote
- Stars: 1
- License: MIT
- Latest version: 0.1.3

## Install

### Claude Code

```sh
claude mcp add mcp -- npx -y @microservices-sh/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microservices-sh/mcp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@microservices-sh/mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp","type":"stdio","command":"npx","args":["-y","@microservices-sh/mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microservices-sh/mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add mcp -- npx -y @microservices-sh/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@microservices-sh/mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user mcp npx -- -y @microservices-sh/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@microservices-sh/mcp"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MICROSERVICES_API_KEY` | no | no |  |
| `MICROSERVICES_API_URL` | no | no |  |

## Tools (17)

- `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`
- `deploy_preview`
- `get_deployment_status`

## FAQ

### What can AI agents do with this server?

Agents can discover verified templates, inspect module contracts, compose app plans, validate configurations, and prepare preview deployments.

### Are secret values exposed through the tools?

No, the MCP tools are designed so that secret values are never returned.
