# mcpm MCP server

> Secures MCP servers by assessing installation trust, verifying supply-chain records, and inspecting stdio traffic for attack patterns.

- Repository: https://github.com/getmcpm/cli
- Page: https://hostedmcp.org/servers/getmcpm/cli
- Transport: stdio
- Stars: 3
- License: MIT
- Latest version: 0.54.0

## Install

### Claude Code

```sh
claude mcp add cli -- npx -y @getmcpm/cli
```

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

```json
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpm/cli"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@getmcpm/cli"
      ]
    }
  }
}
```

### VS Code CLI

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

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

```json
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpm/cli"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add cli -- npx -y @getmcpm/cli
```

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

```toml
[mcp_servers.cli]
command = "npx"
args = ["-y", "@getmcpm/cli"]
```

### Gemini CLI

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

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

```json
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpm/cli"
      ]
    }
  }
}
```

## FAQ

### What does mcpm protect against?

It assesses MCP servers for secrets, injection, and suspicious patterns, and inspects stdio traffic for known attack patterns.

### Does mcpm require an account or telemetry?

No, the default assessment and guard path is local and deterministic with no account, model subscription, backend, or telemetry.
