# Toolport

This MCP server for Claude Code and Codex puts MCP connections behind one local gateway. Add servers in Toolport, then connect AI clients to that gateway.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 246 repo stars
- Author: btsouth
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/btsouth/toolport
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/toolport

## What it does

Toolport routes MCP servers through a local gateway that AI clients can connect to. Add a server from the catalog, import an existing configuration, or paste one into the app. After authenticating the server, connect AI apps in Clients and reload or restart each client.

The desktop app also shows which skills and rules files each agent loads, with per-agent controls for enabling skills. API keys go into the operating system’s keychain, and Ask mode pauses destructive calls for approval. Running the gateway with the install command requires Docker.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add toolport -- docker run -i --rm ghcr.io/btsouth/toolport-gateway:v2.3.6
```

### Codex

**Platform CLI**
```bash
codex mcp add toolport -- docker run -i --rm ghcr.io/btsouth/toolport-gateway:v2.3.6
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "toolport": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/btsouth/toolport-gateway:v2.3.6"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "toolport": {
            "type": "stdio",
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/btsouth/toolport-gateway:v2.3.6"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add toolport docker run -i --rm ghcr.io/btsouth/toolport-gateway:v2.3.6
```

## When to use it
- connect several AI clients to shared MCP servers
- import existing MCP server configurations
- toggle skills separately for each agent
- inspect tool calls in Activity

## Example prompts
- Show the MCP tools available through Toolport.
- Use the database MCP server connected through Toolport.
- Show which skills this agent loads.

## Similar
- [Context7](https://affpapa.org/en/nevibecode/mcp/context7.md) — MCP server · 5563 installs
- [Search Google Flights](https://affpapa.org/en/nevibecode/mcp/search-google-flights.md) — MCP server · 2595 installs
- [Math-MCP](https://affpapa.org/en/nevibecode/mcp/math-mcp.md) — MCP server · 5958 installs
- [pipeworx gateway](https://affpapa.org/en/nevibecode/mcp/pipeworx-gateway.md) — MCP server · 419019 installs
- [SparkForge](https://affpapa.org/en/nevibecode/mcp/sparkforge.md) — MCP server · 219896 installs
- [OpenWebSearch](https://affpapa.org/en/nevibecode/mcp/openwebsearch.md) — MCP server · 494 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
