Interactive Brokers AI stack: MCP, APIs and AI Partitions
Education only. Updated Oct 29, 2026. Based on Interactive Brokers' official pages and announcements, plus two news reports where noted (sources below).
You are responsible for every trade your agent places. TraderStacks explains how the software works; this is not investment advice, and nothing here suggests what to buy, sell or when. Agents can make mistakes, and you can lose money. IBKR itself says you retain responsibility for all trading activity.
The pieces at a glance
| Piece | What it is | Places orders? |
|---|---|---|
| AI Integration (MCP server) | Official hosted MCP server connecting AI apps to your IBKR account | Drafts instructions. You review and submit them |
| Autonomous Trading + AI Partition | Lets eligible clients allow a connected AI to submit supported orders without approving each one, inside a separate cash funded partition | Yes, only inside the partition |
| Web API | REST API, JSON over HTTPS | Yes, for your own code |
| TWS API | API used through Trader Workstation or IB Gateway | Yes, for your own code |
| Ask IBKR | Plain English questions about your portfolio | No |
| AI News Summaries | Generative AI summaries of news from select providers | No |
What is MCP?
Model Context Protocol (MCP) is an open standard that lets AI apps connect to outside services. IBKR runs its own MCP server. The server address is:
https://api.ibkr.com/v1/api/mcp-public Per IBKR, a connected AI can analyze portfolios, research investments, monitor risk, check order status, retrieve portfolio data and draft trade instructions in plain English. IBKR lists no extra cost and no separate AI broker account. It works across Client Portal, IBKR Desktop, IBKR GlobalTrader, IBKR Mobile and Trader Workstation.
What the AI can see vs. where it can trade
| Read access | Trading |
|---|---|
| The single account you authorize: portfolio data, order status, market data, watchlists, alerts, holdings and trade history | Standard AI Integration: none directly. The AI drafts instructions, and you submit them from the AI Instructions tab. Autonomous Trading: only inside a funded AI Partition, for supported products and order types |
- You sign in on IBKR's own screen. IBKR says your login credentials are never passed to the AI platform.
- You can revoke access at any time in Client Portal.
IBKR Autonomous Trading and AI Partitions
Announced Oct 21, 2026. An AI Partition is a dedicated partition under one parent General Investment Account. It limits the cash, products and trading authority available to the AI. It is funded with cash moved from the parent account, and position transfers in are not supported.
Funding limits (news reported): up to 10% of account equity across all AI Partitions, a $1,000 minimum and a $25,000 maximum in total. These figures come from Fintechbits and DaveFinances, which cite IBKR's explainer. We could not read them on an IBKR page ourselves, so confirm the current numbers in Client Portal before you fund.
Eligibility
- Individual, non-margin IBKR accounts. Joint, retirement, advisor managed, organizational and Lite accounts are not eligible.
- First use Review & Approve mode and complete at least 10 trades of $100 or more each over two weeks. IBKR says an eligibility test is coming as an alternative.
- Entity, country and regulatory limits apply, and IBKR says limits may change.
Products and order types
- Order types: Market, Limit, Stop and Stop-Limit.
- Not allowed: margin trading, short selling, fractional shares, penny stocks and complex leveraged products. IBKR's product page also excludes Canadian stocks.
IBKR's own pages differ. The AI Integrations page says eligible stocks and equity options with Day time in force. The IBKR Campus Traders' Toolbox article says stocks, ETFs and listed equity, ETF and index options, with Day, Overnight and Overnight + Day. Check the current rules in your account.
Built in controls
- Dedicated partition, funding limited to allocated cash, fixed product restrictions and trade execution notifications.
- A kill switch in Client Portal disconnects the AI. IBKR does not describe it as canceling orders or closing positions, so check both after using it.
- Planned, not live yet: IBKR says future user defined guardrails are expected to include limits on order frequency, maximum order size and minimum account value.
IBKR warns that if you link an AI some other way, "including browser-based and similar agents, you are providing those AI agents with full control of your account, without any controls or limits."
Connect your AI app
Steps as IBKR documents them. Menu names can change; check your AI app's own docs if a menu looks different.
- Have an active IBKR account, and decide which single account the AI should see.
- ChatGPT, Claude, Grok or Perplexity: search "Interactive Brokers" in the app's connector directory and select it.
Any other MCP app (Claude Code, ChatGPT Codex, Cursor, Windsurf and others): open Add MCP Server or Custom Connector and enterhttps://api.ibkr.com/v1/api/mcp-public - Sign in on IBKR's screen and authorize one account.
- Start with read only questions, such as a summary of the authorized account, and compare the answers with your statements.
- Review any drafted order in the AI Instructions tab. Nothing is submitted until you submit it.
- Optional, only if eligible: create and fund an AI Partition with a small amount, complete Review & Approve, then enable Autonomous Trading.
- Find the kill switch and the revoke access setting in Client Portal before you need them.
IBKR says Gemini support is coming soon.
IBKR APIs for your own code
- Web API: REST, JSON over HTTPS, free for IBKR clients. Covers trades, real time portfolio data, market data and contract info. Retail and individual clients authenticate through the Client Portal Gateway, a small Java program that runs locally.
- TWS API: connects through Trader Workstation or IB Gateway, with functions such as news article retrieval (
reqNewsArticle). - IBKR also documents an Excel API and FIX.
None of these APIs come with AI Partition limits. If an AI agent drives your own API code, size caps, loss caps and an off switch have to live in your code, outside the model.
Built in AI features
- Ask IBKR: plain English questions about performance, allocation, holdings, activity and attribution. Available to select clients in Client Portal and Advisor Portal. Read only.
- AI News Summaries: in IBKR Mobile, TWS, IBKR Desktop and Client Portal. IBKR notes they may contain inaccuracies or omissions.
Which route fits which job
| AI Integration | Autonomous Trading | Web API / TWS API | |
|---|---|---|---|
| Coding needed | No | No | Yes |
| Places orders | No, drafts for your review | Yes, inside the partition only | Yes |
| Built in capital limit | Not needed | Yes (see funding note) | None |
| Off switch | Revoke in Client Portal | Kill switch in Client Portal | Your code |
Safety checklist
- Connect only through IBKR's official MCP server, never a browser agent or shared login.
- Authorize only the one account you intend.
- Review every drafted order in the AI Instructions tab before you submit it.
- If you use Autonomous Trading, fund the AI Partition with a small amount you can afford to lose.
- Turn on trade execution notifications.
- Remember order frequency and max order size limits are not live yet at IBKR.
- Never paste passwords, 2FA codes or credentials into a chat. Sign in only on IBKR's own screen.
- Work through our interactive AI agent safety checklist, and read the general before-you-connect checklist.
- Sources (opened Oct 29, 2026)
- IBKR AI Integrations: MCP server address, supported apps, auth, AI Partition, eligibility, supported products
- Press release, Jul 28, 2026: MCP opened to any MCP compatible tool, supported platforms
- Press release, Oct 21, 2026: IBKR Autonomous Trading launch
- IBKR Campus: Traders' Toolbox, AI Order Placement Is Here: products, order types, kill switch, planned guardrails, Review & Approve requirement
- IBKR Canada AI Hub: AI Integration overview
- IBKR Campus: Trading Web API: Web API, OAuth 2.0, Client Portal Gateway
- IBKR API documentation home: Web API, TWS API, Excel API, FIX
- TWS API: News Articles: reqNewsArticle
- Ask IBKR: portfolio questions in plain English
- AI News Summaries: where summaries appear and their limits
- Fintechbits (news): reported funding caps
- DaveFinances (news): reported funding caps
- Checked on
- Oct 29, 2026
- Not covered
- Pricing beyond what IBKR states, and non US affiliate differences. We did not test the connection with a funded account.
Frequently asked questions
Does Interactive Brokers have an official MCP server?
Yes. IBKR documents a hosted MCP server at https://api.ibkr.com/v1/api/mcp-public on its AI Integrations page.
Does the AI see my IBKR password?
IBKR says no. You sign in on IBKR's own screen, your credentials are never passed to the AI platform, and you authorize a single account per connection.
Can the AI place trades through MCP?
In standard AI Integration it drafts trade instructions, and you review and submit them in the AI Instructions tab of an IBKR platform. With IBKR Autonomous Trading, an eligible AI can submit supported orders, but only inside a funded AI Partition.
How much can an AI Partition hold?
News reports citing IBKR's explainer say up to 10% of account equity, a $1,000 minimum and a $25,000 maximum across all AI Partitions. We could not read those figures on an IBKR page ourselves, so confirm them in Client Portal.
Can I use Autonomous Trading in a retirement or margin account?
No. IBKR lists individual, non-margin accounts only. Joint, retirement, advisor managed, organizational and Lite accounts are not eligible.
What does the kill switch do?
It disconnects the AI in Client Portal. IBKR does not describe it as canceling orders or closing positions, so check both yourself after using it.
Do the AI Partition limits apply to my own API code?
No. They apply to the MCP AI Integration. IBKR warns that other AI routes, including browser based agents, can have full control of your account without controls or limits.
Does TraderStacks tell me what to have the AI trade?
No. TraderStacks teaches the software and the safety settings only. We give no tickers, signals or strategies, and nothing here is financial advice.
Next: Connect Claude Code to an official broker MCP · Compare official broker MCP setups · the "Connect an AI agent to your broker" learning path · Robinhood MCP setup guide
Education only, never trade advice.
