API

Get Started

WelcomeQuickstartGuidesChangelogSDKs and ToolsAdditional InfoFAQ

Streaming

WSSOrder UpdatesWSSTrades

Authorization

POSTCreate personal access token

List Accounts

GETGet accounts

Account Details

GETGet account portfolio v2GETGet history

Tax Lot Selling

GETGet unrealized tax lotsGETGet unrealized tax lots for symbolGETGet unrealized tax lots csv

Instrument Details

GETGet all instrumentsGETGet instrumentGETSearch bonds

Market Data

POSTGet quotesGETGet bond detailsPOSTGet option expirationsPOSTGet option chainGETGet bars v2GETGet bars v2 with aggregation

Orders

POSTPreflight single legPOSTPreflight multi legPOSTPlace orderPUTReplace orderPOSTSearch ordersPOSTPlace multileg orderGETGet orderDELETECancel order

Option Details

GETGet option greeksPOSTGet strategy quote

Event Contracts

POSTGet event summaryGETGet event categoriesGETGet event details
HelpFeedback

Get Started

Cursor Connector for Stock & Options Trading on Public MCP

Connect Cursor agents to Public.com and trade stocks, crypto, and options from your chat. Powered by the Public MCP server with OAuth sign-in.

Before You Get Started

  • →You will need a Public.com brokerage account. Create one at public.com/signup.
  • →You will need a Cursor account.
  • →The hosted MCP server URL is https://mcp.public.com/mcp.

Set up Cursor on the web

4 steps
  1. 1

    Open Cursor agents

    Go to cursor.com/agents.
  2. 2

    Open MCP settings

    In the new chat window, click the + icon, then go to:
    MCP→Manage
  3. 3

    Add Public as a custom MCP server

    Go to:
    New MCP Server→Add→Custom MCP

    Fill in the following details. Only the name and server URL are needed.

    NamePublic
    Server URLhttps://mcp.public.com/mcp
  4. 4

    Sign in to Public

    Once the server is added, open a new chat, click the + icon, select MCP, then sign in. Follow the OAuth prompts with your Public.com credentials to authorize the connection. You can now prompt Cursor to work with your Public account.

Set up Cursor desktop

4 steps
  1. 1

    Open the Cursor desktop app

    Open the Cursor desktop app and start a new chat.
  2. 2

    Open MCP settings

    In the new chat window, click the + icon, then go to:
    MCP→Manage
  3. 3

    Add Public as a custom MCP server

    Go to:
    New MCP Server→Add→Custom MCP

    The MCP JSON editor opens. Add the following configuration and save it:

    {
      "mcpServers": {
        "public": {
          "url": "https://mcp.public.com/mcp"
        }
      }
    }
  4. 4

    Sign in to Public

    Once the server is added, open a new chat, click the + icon, select MCP, then sign in. Follow the OAuth prompts with your Public.com credentials to authorize the connection. You can now prompt Cursor to work with your Public account.

Trade with Cursor through Public

Once connected, Cursor agents can use the Public MCP server to retrieve live market data, review your portfolio, and place orders from a conversation.

Markets

Research and trade stocks, ETFs, options, and crypto supported by Public.

Trading access

Submit supported order types during the trading sessions available for each asset. Eligible equity orders can use extended hours.

Accounts and permissions

Cursor uses the accounts and trading permissions you authorize when you connect. Options strategies require the appropriate approval level.

Tools available

View balances, positions, quotes, option chains, open orders, and transaction history; run preflight checks; and submit or cancel orders.

Prompts to try

Use these examples after you connect your Public account.

  1. 01Show me my current account balance and buying power.
  2. 02How is my portfolio performing today?
  3. 03What is the current price of TSLA?
  4. 04Show me the options chain for AAPL expiring next Friday.
  5. 05Show me my recent transactions.
  6. 06What are my open orders?
  7. 07Cancel my open AAPL order.
  8. 08Find a good covered call opportunity on SPY based on my holdings.
  9. 09Place a buy order for 1 share of NVDA at market.

Important

Placing a trade through Cursor is a real order using real money in your Public account. Review all preflight details carefully before confirming.