4,500+ servers built on MCP Fusion
Vinkius
IBKR (Interactive Brokers) logo
Vinkius
Cursor logo

How to Use the IBKR (Interactive Brokers) MCP in Cursor

Write automated trading scripts and execute live IBKR trades using Cursor agent mode.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

IBKR (Interactive Brokers) MCP on Cursor AI Code Editor MCP Client IBKR (Interactive Brokers) MCP on Claude Desktop App MCP Integration IBKR (Interactive Brokers) MCP on OpenAI Agents SDK MCP Compatible IBKR (Interactive Brokers) MCP on Visual Studio Code MCP Extension Client IBKR (Interactive Brokers) MCP on GitHub Copilot AI Agent MCP Integration IBKR (Interactive Brokers) MCP on Google Gemini AI MCP Integration IBKR (Interactive Brokers) MCP on Lovable AI Development MCP Client IBKR (Interactive Brokers) MCP on Mistral AI Agents MCP Compatible IBKR (Interactive Brokers) MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Cursor

Connect IBKR (Interactive Brokers) MCP to Cursor

Create your Vinkius account to connect IBKR (Interactive Brokers) to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Inline order routing from your codebase

The `place_order` tool lets you execute live market and limit trades directly from the Cursor agent panel. When you're testing an execution script, your agent uses this tool to fire trades based on your local code's output. If a trade goes sideways during runtime, the `modify_order` and `cancel_order` tools give you instant control to kill or edit the order. You don't need to waste time writing custom API wrappers just to test your logic. The Cursor agent reads your local files, structures the order array, and calls the MCP Server to execute.

Live market data injection in Cursor

The `get_market_data_snapshot` tool pulls real-time contract quotes straight into your active code editor. Your agent pulls this pricing data to populate test fixtures, verify your execution math, or check current spreads. It beats hardcoding stale pricing variables when you're building trading algorithms. By pulling live quotes via the MCP Server, your code generation is grounded in actual market conditions. You get real-world data payloads mapped directly to your TypeScript types without mock data.

Automated ledger tracking and session maintenance

The `get_portfolio_ledger` tool feeds your current cash, margin, and position balances directly into Cursor for immediate analysis. Your agent reads these balances alongside `get_account_summary` to write risk checks that match your actual capital limits. To keep these checks running without session drops, the `tickle_session` tool maintains your connection to the Client Portal API. When you need deep historical audits, the `send_flex_request` and `get_flex_statement` tools pull down your custom Flex Query reports. Your agent can parse these CSV files to build clean local backtesting databases.

Setup guide

Set up IBKR (Interactive Brokers) MCP in Cursor

Prerequisites

  • Cursor installed (macOS, Windows, or Linux)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Open MCP Settings

    Go to Cursor Settings → MCP or open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and search for "MCP: Add Server".

  2. 2

    Add the IBKR (Interactive Brokers) MCP

    Cursor will create or open .cursor/mcp.json in your project root. Paste the JSON snippet on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com.

  3. 3

    Enable Agent mode

    Open Composer (Cmd+I / Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode.

  4. 4

    Verify the connection

    Ask Cursor something like "List my recent IBKR (Interactive Brokers) transactions." If the MCP tools are loaded correctly, Cursor will call the IBKR (Interactive Brokers) tools automatically. You can also check Settings → MCP for a green status indicator.

.cursor/mcp.json
{
  "mcpServers": {
    "ibkr-interactive-brokers-mcp": {
      "url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    }
  }
}

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Interactive Brokers. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about IBKR (Interactive Brokers) MCP in Cursor

Add the server configuration to your `.cursor/mcp.json` file under the `mcpServers` key. Include your Vinkius gateway URL and token, then enable Agent mode in your chat panel to start calling tools.
Yes, it can. Your agent can call the `modify_order` tool to change prices or quantities of active orders, using live feedback from your terminal to guide the adjustments.
It supports whichever account your Client Portal API gateway is authenticated to. If your gateway is logged into your paper trading account, all `place_order` calls will execute in that simulated environment.
The Client Portal API enforces strict rate limits of 10 requests per second. You must write throttling logic in your local scripts to prevent your tools from hitting these limits during heavy execution.
Your session keys and trade logs are processed in Vinkius ephemeral sandboxes and are never saved to disk. Cursor only receives the structured JSON responses needed to update your code context.

Start using the IBKR (Interactive Brokers) MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 9 tools

We've already built the connector for IBKR (Interactive Brokers). Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 9 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.