# mcp-patchbay

> mcp-patchbay is an open-source MCP server. Hosts your MCP servers and switches them on and off mid-session, with a person approving risky ones. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/distronode-corporation/mcp-patchbay
- **MCP Registry name:** io.github.distronode-corporation/mcp-patchbay
- **Listing updated:** 2026-11-16

## About

Hosts your MCP servers and switches them on and off mid-session, with a person approving risky ones

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-patchbay -- npx -y mcp-patchbay
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-patchbay": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-patchbay"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp-patchbay": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-patchbay"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp-patchbay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-patchbay"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-patchbay": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-patchbay"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-patchbay": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-patchbay"
      ]
    }
  }
}
```

## FAQ

### Is mcp-patchbay free?

Yes. mcp-patchbay is open source, so you can use and self-host it for free.

### How do I add mcp-patchbay to Claude Code?

Run this command in your terminal: claude mcp add mcp-patchbay -- npx -y mcp-patchbay

---
Source: https://ai-powered.com/mcp/mcp-patchbay
