Skip to content
All research
InvestingStack / ResearchInfrastructure

MCP is becoming the missing layer between AI and markets

Brokers and data vendors are shipping official Model Context Protocol servers. A survey of what exists, how the security model works, and why the interesting question has moved from access to judgement.

In this article 5 sections

For most of the first LLM wave, connecting a model to the market meant writing glue code: a Python script that fetched prices, stuffed them into a prompt and parsed whatever came back. The Model Context Protocol, the open standard Anthropic published in late 2024, replaced that with something closer to a plug: a server exposes tools with typed inputs, and any compliant client (Claude, Cursor, VS Code, Codex, ChatGPT's connectors) can discover and call them.

In 2026 the finance side of that ecosystem has matured in a way that is easy to miss if you only look at the big agent frameworks. Brokers and data vendors now ship official MCP servers. Here is what exists, with live metrics for the open-source ones.

Alpaca MCP Server
Stars
1,118
Stars gained · 7d
+18
Stars gained · 30d
+69
Last push
3 days ago
License
MIT
Massive (Polygon.io) MCP Server
Stars
405
Stars gained · 7d
+0
Stars gained · 30d
+7
Last push
6 days ago
License
MIT
Financial Datasets MCP Server
Stars
2,330
Stars gained · 7d
+-1
Stars gained · 30d
+16
Last push
1 year ago
License
MIT
Twelve Data MCP Server
Stars
87
Stars gained · 7d
+0
Stars gained · 30d
+2
Last push
11 days ago
License
—
TradeMemory Protocol
Stars
1,453
Stars gained · 7d
+3
Stars gained · 30d
+21
Last push
3 days ago
License
MIT
OpenBB
Stars
75,790
Stars gained · 7d
+193
Stars gained · 30d
+972
Last push
yesterday
License
Other
Live GitHub data, updated Nov 27, 2026. Deltas from InvestingStack snapshots and OSSInsight.

Execution: Alpaca

Alpaca's MCP server is the clearest example of the protocol crossing from "read data" to "do things". The current version is a complete rewrite built with FastMCP from the broker's OpenAPI specification, and it covers stocks, options and crypto: orders, positions, option exercise, watchlists, asset lookup, market calendar and clock, plus bars, quotes, trades, snapshots and option chains.

Two design choices stand out:

  • Paper by default. The ALPACA_PAPER_TRADE setting defaults to true; switching to live trading is an explicit step with separate keys.
  • Server-side toolsets. ALPACA_TOOLSETS restricts the groups this server exposes, such as trading, watchlists, assets, stock-data, crypto-data and options-data. Host-specific allow-lists and confirmation settings are separate controls. Review the individual operations: the pinned account group includes a settings-changing operation. Toolset definitions checked on 4 November 2026.

A deployment with broker credentials needs controlled access, narrowly exposed tools and a review of the host's approval settings. Compatibility with an MCP client does not establish those controls.

Data: Massive (Polygon.io), Financial Datasets, Twelve Data

Massive (the company formerly known as Polygon.io) took an unusual route. Instead of one tool per endpoint, its server exposes three composable tools, search, call and query, that cover the whole API surface for stocks, options, forex, crypto and futures, can store results in an in-memory SQLite database and come with built-in financial functions including Black-Scholes pricing and greeks. It is a more "agentic" design: the model composes queries instead of picking from a menu.

Financial Datasets ships the menu version: income statements, balance sheets, cash-flow statements, current and historical prices, company news and crypto prices. It is the same API the AI Hedge Fund project uses, which explains its star count. Note that the repository has not been pushed to since mid-2025; the service is live, the server is simply done.

Twelve Data shows where this is going for consumer clients: a hosted remote server with OAuth. You add the connector in Claude, ChatGPT or Codex, log in with your Twelve Data account and the key is linked automatically; no copy-pasting secrets into config files. The self-hosted option with an API key still exists for developers.

OpenBB frames MCP servers as one surface of its Open Data Platform, next to Python, REST and Excel: connect the data once, let agents consume it through MCP. Given that OpenBB already normalises many providers, it is the most likely candidate for "one server to rule them all" in research workflows. Financial Modeling Prep also offers an MCP server on top of its fundamentals API.

The agents are starting to speak MCP too

The protocol is spreading in the other direction as well. TradeMemory Protocol is a 20-tool MCP server that gives any agent persistent memory, planning, risk and an audit trail, and its preview "brake" sits between an agent and Alpaca's own MCP server as a policy proxy. QuantDinger exposes an agent gateway and MCP server so external coding agents can call approved tools. The Kalshi AI Trading Bot ships an MCP server for its prediction-market client. In the audit we published alongside this article, MCP appears in the READMEs of five of the twenty agent projects.

The security model, honestly

MCP standardises access. The deployment still needs its own controls. Four questions to review:

  1. Who can use the credentials? In an API-key-based setup, an authorized caller may exercise the exposed operations under the server's credentials. Review local process access as well as authentication for remote connections.
  2. Which operations can change state? Prompt instructions, server-side tool filtering and host approval policies have different roles. Removing a group named trading does not prove the remaining connection is read-only; account settings and watchlists can also contain writes.
  3. How is external text handled? News and other tool results can contain hostile instructions. Treat them as data, limit available write operations and enforce the chosen approval policy. These are layers of control; a warning wrapper or confirmation interface alone does not establish complete protection.
  4. Which environment receives the request? Where a paper or sandbox mode is documented, verify the actual account, credentials and destination before testing. A simulated environment does not establish per-order approval.

Our broker MCP permissions review, checked on 4 November 2026, examines these boundaries in Alpaca, IBKR and SnapTrade. It includes a reusable worksheet and distinguishes source-code findings from untested hosted behavior.

Why "the missing layer" is the right phrase

Before MCP, every agent framework reimplemented data access and broker access, badly and differently. TradingAgents has its own data flows, AI Hedge Fund hard-codes one provider, FinRobot has a data_source directory with a dozen adapters. MCP turns that into a shared layer: the broker maintains the broker server, the vendor maintains the data server, and the agent framework becomes what it should have been all along, a reasoning layer with opinions about how to use tools.

That shifts the interesting question. Access is close to solved. What is not solved is judgement: whether a model, given the same clean tools, makes decisions that survive contact with the market. That is why our research starts with what the systems actually do, as in our audit of twenty agents, and not with another connector.

Cite this research

InvestingStack (2026). MCP is becoming the missing layer between AI and markets. InvestingStack. https://investingstack.ai/research/mcp-missing-layer

Published: Oct 9, 2026 · Updated: Nov 4, 2026

InvestingStack publishes research for information only. Nothing on this page is investment advice. Disclosures · Methodology

MCP / infrastructure / brokers / data

Continue reading

Consulting

Agentic systems, designed around your strategy.

Most agent frameworks are built for a demo. A session works through your strategy and current setup and maps it to an architecture: agent roles, data, models, guardrails and an implementation plan you can execute.

Not investment advice. Consulting clients get no placement or ranking influence on this site. Disclosures