the_inference_data

Guides /

Connect a financial data MCP server to Cursor

Cursor reads MCP servers from mcp.json: .cursor/mcp.json in a project for that project, or ~/.cursor/mcp.json for all of them. A hosted server needs only its URL, plus a header if it takes an API key.

With an API key

.cursor/mcp.json
{
  "mcpServers": {
    "the-inference": {
      "url": "https://theinference.org/api/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

A server that signs you in

.cursor/mcp.json
{
  "mcpServers": {
    "twelve-data": { "url": "https://mcp.twelvedata.com/mcp" }
  }
}

Cursor opens the provider's sign-in page the first time it connects.

Several at once

Each server is one key under mcpServers, so a filings server and a market data server can sit side by side. The agent sees all their tools and picks between them.

Never commit a .cursor/mcp.json that holds a key. Each server's page in the directory has its own mcp.json entry.