Back to catalog

ib-blade-mcp

Interactive Brokers MCP Server — portfolio, market data, orders, scanners via Client Portal Gateway

certified v0.1.0 brokerage-v1 uv MIT
Authorgroupthink-dev
Setupmoderate
Authgateway

Service Contract

brokerage

Conformance

Required8/8
Recommended6/6
Optional2/2
Last tested2026-04-09

Setup

Download and run the IB Client Portal Gateway, then authenticate by opening its URL in a browser. This MCP connects to the already-authenticated gateway — your IB credentials never touch the MCP process.

IB_GATEWAY_URL Gateway URL required
IB_ACCOUNT_ID Account ID
IB_SSL_VERIFY Verify SSL
IB_WRITE_ENABLED Enable Trading

Prerequisites

  • Interactive Brokers account
  • IB Client Portal Gateway running and authenticated
  • Python 3.12+

Certification

certified

Validated 0.1.0 on

Tested on: darwin-arm64, linux-x86_64

Gateway isolation — IB credentials managed by gateway, never exposed to MCP process. Triple order safety: env gate (IB_WRITE_ENABLED), confirm gate (per-tool parameter), and order preview (what-if). Bearer auth for HTTP transport. Credential scrubbing on all error paths.

Scenarios

Build a brokerage workflow

Use the Forge to design an automation pack powered by ib-blade-mcp for brokerage operations.

Install

sidereal install ib-blade-mcp