# PitBridge MCP server

> Connects AI agents to NinjaTrader 8 futures accounts through a local daemon with deterministic risk guardrails.

- Repository: https://github.com/ToolstackVault/pitbridge
- Page: https://hostedmcp.org/servers/toolstackvault/pitbridge
- Transport: stdio
- Stars: 1
- License: Apache-2.0
- Latest version: 0.2.2

## Install

### Claude Code

```sh
claude mcp add pitbridge -- uvx pitbridge
```

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

```json
{
  "mcpServers": {
    "pitbridge": {
      "command": "uvx",
      "args": [
        "pitbridge"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "pitbridge": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pitbridge"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"pitbridge","type":"stdio","command":"uvx","args":["pitbridge"]}'
```

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

```json
{
  "mcpServers": {
    "pitbridge": {
      "command": "uvx",
      "args": [
        "pitbridge"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add pitbridge -- uvx pitbridge
```

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

```toml
[mcp_servers.pitbridge]
command = "uvx"
args = ["pitbridge"]
```

### Gemini CLI

```sh
gemini mcp add -s user pitbridge uvx -- pitbridge
```

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

```json
{
  "mcpServers": {
    "pitbridge": {
      "command": "uvx",
      "args": [
        "pitbridge"
      ]
    }
  }
}
```

## FAQ

### Can an AI agent bypass the risk limits?

No, the guardrails are deterministic and live in code rather than prompts, and the agent lacks the tools to weaken them or unlock live trading.
