69
/ 100
23 days ago
glama

ibkr-mcp

A read-only-by-default MCP server for Interactive Brokers that exposes account, positions, PnL, market data, and trade history from a local TWS/IB Gateway session, with optional trading capabilities.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 1 credential: IBKR_FLEX_TOKEN
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configIBKR_HOST127.0.0.1 TWS / Gateway host
configIBKR_ENABLE_TRADINGTrading (only registered when =true):
configIBKR_ALLOW_EXTERNAL_CANCELunset true lets cancel_order cancel orders not placed by this server
configIBKR_FLEX_TOKEN_CMDA command whose stdout is the token, e.g. security find-generic-password -s ibkr-flex-token -w
🔐 secretIBKR_FLEX_TOKENThe token itself (fallback; prefer IBKR_FLEX_TOKEN_CMD so it stays out of config files)
configIBKR_FLEX_QUERY_IDSIBKR_FLEX_QUERY_ID Numeric ID of your Activity Flex Query (or , comma-separated, for several)
configIBKR_FLEX_QUERY_IDNumeric ID of your Activity Flex Query (or IBKR_FLEX_QUERY_IDS, comma-separated, for several)
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 5 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/jgalea-ibkr-mcp-12iaef)](https://m8ven.ai/mcp/jgalea-ibkr-mcp-12iaef)
commit: 6367c6b2bea9c07ef1fce3770bafd775ff4f1f73
code hash: 81216a8b6e62b3e7ce14cc864bfee3ca3f7036c33dfa0a78b6cb70b80b28e7fd
verified: 7/8/2026, 8:42:33 AM
view raw JSON →