ibkr_headless_mcp
Verified Safeby johnlam1968
Overview
Provides an MCP server to access Interactive Brokers (IBKR) API endpoints for financial data and trading operations via an LLM agent, using OAuth for authentication.
Installation
/home/john/CodingProjects/llm/.venv/bin/python /home/john/CodingProjects/llm_public/src/endpoint_server.pyEnvironment Variables
- IBIND_USE_OAUTH
- IBIND_OAUTH1A_CONSUMER_KEY
- IBIND_OAUTH1A_ENCRYPTION_KEY_FP
- IBIND_OAUTH1A_SIGNATURE_KEY_FP
- IBIND_OAUTH1A_ACCESS_TOKEN
- IBIND_OAUTH1A_ACCESS_TOKEN_SECRET
- IBIND_OAUTH1A_DH_PRIME
Security Notes
The server correctly externalizes sensitive IBKR OAuth credentials into environment variables and separate files. There are no obvious 'eval' or 'exec' calls within the provided source code, reducing direct code injection risks. The primary security consideration is the potential for an unconstrained LLM agent to make unauthorized data retrieval requests through the `call_endpoint` tool, as it directly passes agent-provided `path` and `params` to the `ibind` client's GET method. However, since `call_endpoint` exclusively uses `client.get` and the documented endpoints are read-only, the risk of malicious write operations (e.g., placing trades) appears mitigated by the current implementation which is restricted to GET requests.
Similar Servers
maverick-mcp
Personalized stock analysis, technical indicators, and portfolio optimization via Claude Desktop.
Financial-Modeling-Prep-MCP-Server
Enables AI assistants to access and analyze comprehensive financial data, stock information, company fundamentals, and market insights from Financial Modeling Prep.
finance-trading-ai-agents-mcp
A specialized MCP server for financial analysis and quantitative trading, designed to deploy local financial MCP services with a departmental architecture for LLM integration and algorithmic trading.
stock-mcp
Provides AI Agents with professional-grade stock market analysis capabilities by bridging large language models with real-time financial data.