What are the prerequisites to run the server?
Python 3.11+, Interactive Brokers Gateway installed and running, and an IB account with API access enabled.
@karimQuant
Basic information
Interactive Brokers API Multi-Client Protocol Server
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"ibapi-mcp-server": {
"command": "python",
"args": [
"server.py"
]
}
}
}Retrieve your current portfolio positions and account summary
A middleware server that connects to Interactive Brokers Gateway and exposes its functionality through the FastMCP framework, allowing LLMs like Claude to interact with your IB account, retrieve portfolio information, and potentially execute trades.
Install prerequisites (Python 3.11+, IB Gateway running, IB account with API access), then start the server using python server.py (stdio), python server.py sse (SSE), or fastmcp run server.py. For development with a testing environment, use fastmcp dev server.py. Connect client applications like Claude Desktop to the server.
Python 3.11+, Interactive Brokers Gateway installed and running, and an IB account with API access enabled.
Run `python server.py` for stdio transport, `python server.py sse` for SSE, or `python server.py sse port=9000` for a custom port. Alternatively, use the FastMCP CLI: `fastmcp run server.py` or `fastmcp dev server.py`.
The server provides a `get_portfolio_tool` to retrieve your current portfolio positions and account summary.
It connects to the Interactive Brokers Gateway via the official IB API.
The server supports stdio and SSE (Server-Sent Events) transport. SSE can be used with a custom port if desired.

Automated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.

AI-native payments for tools and APIs. Discover, pay for, execute, and publish monetized APIs directly from your agent, settled per call in USDC over x402, through the Model Context Protocol. payments · finance · x402 ·
JiCo for Jira & Confluence: local MCP server for Jira Data Center - redacts personal data before the AI model, holds every write for approval

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.

Agent-Native Terminal
Comments