Cursor setup

Connect Cursor to Kalshi with MCP.

Add Kalshi MCP to Cursor, complete OAuth, store your Kalshi API keys securely, and research or trade prediction markets from the IDE. Your credentials stay encrypted server-side, and every trade still requires your approval.

~/.cursor/mcp.json
{
  "mcpServers": {
    "kalshi": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://kalshi-mcp.com/api/mcp"]
    }
  }
}
  1. Copy the MCP configuration below into ~/.cursor/mcp.json.
  2. Reload Cursor and open the Kalshi MCP server connection.
  3. Complete the OAuth sign-in window, then add your Kalshi API keys in the dashboard.
  4. Ask Cursor to research a Kalshi event or check your account balance.

Finish account setup

After OAuth connects Cursor, open the dashboard to add your Kalshi API Key ID and RSA private key. The keys never pass through Cursor.

Other client guides