Basic information
About Interactive Brokers MCP Server
This interative brokers MCP allows adding and deleting orders, getting the latest quotes...
Interactive Brokers MCP is a MCP server in the Other category listed in the AddMCP.net directory, published by dickhfchan. Supported transport: stdio. Runtime: Python. License: Apache-2.0. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: api, interactive-brokers, mcp.
Setup
claude mcp add interactive-brokers-mcp --transport http http://ip_address:3000/sse
[mcp_servers.interactive-brokers-mcp] url = "http://ip_address:3000/sse"
{
"mcpServers": {
"interactive-brokers-mcp": {
"url": "http://ip_address:3000/sse"
}
}
}
{
"servers": {
"interactive-brokers-mcp": {
"type": "http",
"url": "http://ip_address:3000/sse"
}
}
}
Interactive Brokers MCP config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"ibkr": {
"command": "ibkr",
"type": "sse",
"url": "http://ip_address:3000/sse",
"headers": {
"X-API-Key": "your-secure-api-key-here"
}
}
}
}
Interactive Brokers MCP tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Interactive Brokers MCP?
Interactive Brokers MCP is a Model Context Protocol server that wraps the Interactive Brokers Web API, enabling AI agents to interact with IBKR trading systems. It is built with FastMCP (FastAPI + MCP) and runs inside Docker, targeting developers who want to automate trading via MCP-compatible clients.
How to use Interactive Brokers MCP?
Clone the repository, then run docker-compose up to bring up the container. After it starts, use docker exec -it ibkr bash to get a command-line prompt. The MCP server runs on port 3100 and requires setting the IBKR_ACCOUNT_ID environment variable in the docker-compose.yml file.
Key features of Interactive Brokers MCP
- Docker-based deployment with Docker Desktop
- FastMCP server (FastAPI + MCP) on port 3100
- Requires IBKR account ID in configuration
- Co‑exists with the original Flask app for testing
- Video walkthrough available on YouTube
Use cases of Interactive Brokers MCP
- Automate trade execution through MCP-compatible AI assistants
- Integrate IBKR account management into agent workflows
- Test and compare Flask vs. FastAPI/MCP implementations live
Frequently asked questions
1 What are the requirements to run Interactive Brokers MCP?
Docker Desktop must be installed. The source code is cloned from GitHub, then the container is started with docker-compose up.
2 How do I configure my Interactive Brokers account?
Update the IBKR_ACCOUNT_ID variable in the docker-compose.yml file with your account ID.
3 How do I access the command line inside the container?
Run docker exec -it ibkr bash after the container is up.
4 Which MCP server file should I use?
The MCP server is in app2.py, which was created by converting the original Flask app to FastAPI and then adding FastMCP.
5 Where does the MCP server listen?
It listens on port 3100, as defined in the docker-compose.yml.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In