"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
fix(ibkr): point official read-only MCP seed at /mcp-public endpoint
c02062788c4ec77fa3b
diff --git a/README.md b/README.mdindex 4a98a389d..46b0c80c1 100644--- a/README.md+++ b/README.md@@ -1495,7 +1495,7 @@ endpoint in read-only mode. Add this to `~/.vibe-trading/agent.json`:"mcpServers": {"ibkr": {"type": "streamableHttp",- "url": "https://api.ibkr.com/v1/api/mcp",+ "url": "https://api.ibkr.com/v1/api/mcp-public","auth": {"type": "oauth","scopes": ["mcp.read"],diff --git a/agent/SKILL.md b/agent/SKILL.mdindex 5a24a90cf..5e2e4cc60 100644--- a/agent/SKILL.md+++ b/agent/SKILL.md@@ -256,7 +256,7 @@ Add Interactive Brokers' official MCP endpoint as a read-only external server:"mcpServers": {"ibkr": {"type": "streamableHttp",- "url": "https://api.ibkr.com/v1/api/mcp",+ "url": "https://api.ibkr.com/v1/api/mcp-public","auth": {"type": "oauth","scopes": ["mcp.read"],diff --git a/agent/src/config/schema.py b/agent/src/config/schema.pyindex 8062dadeb..5ca11a765 100644--- a/agent/src/config/schema.py+++ b/agent/src/config/schema.py@@ -226,7 +226,7 @@ ROBINHOOD_MCP_SERVER_SEED: dict[str, object] = {# config must pin an explicit tool allowlist plus pass the live order gate.IBKR_MCP_SERVER_SEED: dict[str, object] = {"type": "streamableHttp",- "url": "https://api.ibkr.com/v1/api/mcp",+ "url": "https://api.ibkr.com/v1/api/mcp-public","auth": {"type": "oauth","scopes": ["mcp.read"],diff --git a/agent/tests/test_ibkr_mcp_seed.py b/agent/tests/test_ibkr_mcp_seed.pyindex 4e3d8f27a..d3281e893 100644--- a/agent/tests/test_ibkr_mcp_seed.py+++ b/agent/tests/test_ibkr_mcp_seed.py@@ -65,7 +65,7 @@ def test_ibkr_seed_validates_as_readonly_probe() -> None:cfg = AgentConfig.model_validate({"mcpServers": {"ibkr": IBKR_MCP_SERVER_SEED}})server = cfg.mcp_servers["ibkr"]- assert server.url == "https://api.ibkr.com/v1/api/mcp"+ assert server.url == "https://api.ibkr.com/v1/api/mcp-public"assert server.auth is not Noneassert server.auth.scopes == ["mcp.read"]assert server.enabled_tools == ["*"]diff --git a/agent/tests/test_mcp_oauth_schema.py b/agent/tests/test_mcp_oauth_schema.pyindex d2a812d5d..29272ead2 100644--- a/agent/tests/test_mcp_oauth_schema.py+++ b/agent/tests/test_mcp_oauth_schema.py@@ -127,7 +127,7 @@ def test_ibkr_seed_is_official_readonly_oauth_probe() -> None:cfg = AgentConfig.model_validate({"mcpServers": {"ibkr": IBKR_MCP_SERVER_SEED}})ibkr = cfg.mcp_servers["ibkr"]assert ibkr.resolved_transport() == "streamableHttp"- assert ibkr.url == "https://api.ibkr.com/v1/api/mcp"+ assert ibkr.url == "https://api.ibkr.com/v1/api/mcp-public"assert ibkr.auth is not None and ibkr.auth.type == "oauth"assert ibkr.auth.scopes == ["mcp.read"]assert ibkr.auth.cache_dir == "~/.vibe-trading/live/ibkr/oauth"@@ -185,7 +185,7 @@ def test_ibkr_rejects_wildcard_when_write_scope_is_requested() -> None:"mcpServers": {"ibkr": {"type": "streamableHttp",- "url": "https://api.ibkr.com/v1/api/mcp",+ "url": "https://api.ibkr.com/v1/api/mcp-public","auth": {"type": "oauth", "scopes": ["mcp.read", "mcp.write"]},"enabledTools": ["*"],}@@ -201,7 +201,7 @@ def test_ibkr_rejects_wildcard_without_read_scope() -> None:"mcpServers": {"ibkr": {"type": "streamableHttp",- "url": "https://api.ibkr.com/v1/api/mcp",+ "url": "https://api.ibkr.com/v1/api/mcp-public","auth": {"type": "oauth", "scopes": ["openid"]},"enabledTools": ["*"],}