Model Context Protocol
Connect your AI assistant to Cirrus
The Cirrus MCP server lets Claude, ChatGPT, Grok, Cursor and other AI apps read your trading accounts and act on them. Paste one URL, sign in once, and choose what the assistant may do. A new connection starts on paper accounts only.
Server URL
The same for every app. Press C to copy.
https://mcp.cirrus.trade - Paste the URL. Add it as a custom connector in your AI app.
- Sign in with Cirrus. Your app opens a browser window. No client ID, secret or API key to copy.
- Set the limits. Pick accounts, an order value cap and orders a day, or keep it read-only.
- Ask in plain words. Every action shows in your activity. Disconnect at any time.
Set it up in your app
Each app signs you in with Cirrus in the browser and registers itself, so you never copy a client ID, secret or API key.
AI app
Claude
claude.ai, Claude Desktop and the mobile apps. Every plan; Free allows one custom connector.
- Open Customize → Connectors (claude.ai/customize/connectors).
- Choose + Add, then Add custom connector.
- Name it Cirrus, paste the server URL and choose Continue.
- For the OAuth client, choose Register automatically (Claude marks it Detected). Leave the client ID and secret empty.
- Choose Add, then Connect. Sign in to Cirrus in the window that opens and set the limits.
Team and Enterprise: only an Owner can add it, in Organization settings → Connectors → Add → Custom → Web. Members then open Customize → Connectors and choose Connect on it. A connector added on the web works on Desktop and mobile too.
Steps follow Claude’s own guide. Menus move; if yours differs, look for “custom connector” or “MCP server”.
Command line
Claude Code
The Claude Code CLI and its IDE extensions.
- Add the server (add
--scope userto use it in every project). - Run
/mcpinside Claude Code, pick Cirrus and sign in in the browser.
claude mcp add --transport http cirrus https://mcp.cirrus.tradeSteps follow Claude Code’s own guide. Menus move; if yours differs, look for “custom connector” or “MCP server”.
AI app
ChatGPT
chatgpt.com on the web. Business, Enterprise and Edu can use every tool; Pro can connect for reading only.
- Open Plugins (chatgpt.com/plugins), choose +, then Add custom MCP server.
- Name it Cirrus and paste the server URL under Connection.
- Set authentication to OAuth. Leave the client ID and secret empty.
- Tick I understand and want to continue and choose Create as a plugin.
- Install the plugin and sign in to Cirrus when asked.
Business and Enterprise: a workspace admin grants Create plugins with MCPs, and publishes the plugin before members can use it.
Steps follow ChatGPT’s own guide. Menus move; if yours differs, look for “custom connector” or “MCP server”.
AI app
Grok
grok.com on the web.
- Open Connectors (grok.com/connectors) and choose New Connector.
- Choose Custom and paste the server URL.
- Sign in to Cirrus when asked and set the limits.
Business and Enterprise: a team admin adds it first (+ Add Connector → Other), then each member connects their own account.
Steps follow Grok’s own guide. Menus move; if yours differs, look for “custom connector” or “MCP server”.
Editor
Cursor
Cursor editor and Cursor CLI.
- Add the server to
~/.cursor/mcp.json(every project) or.cursor/mcp.json(this project). - Turn it on under Customize in the sidebar and sign in when Cursor asks.
{
"mcpServers": {
"cirrus": { "url": "https://mcp.cirrus.trade" }
}
}Steps follow Cursor’s own guide. Menus move; if yours differs, look for “custom connector” or “MCP server”.
Editor
VS Code / Copilot
VS Code with GitHub Copilot.
- Run MCP: Add Server from the Command Palette, choose HTTP and paste the server URL. Or add it to
.vscode/mcp.json. - Start the server and sign in to Cirrus when VS Code asks.
{
"servers": {
"cirrus": { "type": "http", "url": "https://mcp.cirrus.trade" }
}
}Copilot Business and Enterprise: an org owner must turn on the MCP servers in Copilot policy (off by default).
Steps follow VS Code / Copilot’s own guide. Menus move; if yours differs, look for “custom connector” or “MCP server”.
Command line
Codex CLI
OpenAI Codex CLI and IDE extension.
- Add the server, then sign in.
codex mcp add cirrus --url https://mcp.cirrus.trade
codex mcp login cirrus[mcp_servers.cirrus]
url = "https://mcp.cirrus.trade"Steps follow Codex CLI’s own guide. Menus move; if yours differs, look for “custom connector” or “MCP server”.
Command line
Gemini CLI
Gemini CLI.
- Add the server, then run
/mcp auth cirrusinside Gemini CLI to sign in.
gemini mcp add --transport http --scope user cirrus https://mcp.cirrus.trade{
"mcpServers": {
"cirrus": { "httpUrl": "https://mcp.cirrus.trade" }
}
}Steps follow Gemini CLI’s own guide. Menus move; if yours differs, look for “custom connector” or “MCP server”.
Editor
Windsurf
Windsurf editor.
- Open Settings → Tools → Windsurf Settings → Add Server, or edit the MCP config file.
- Refresh the server list and sign in to Cirrus when asked.
{
"mcpServers": {
"cirrus": { "serverUrl": "https://mcp.cirrus.trade" }
}
}Teams and Enterprise: an admin may need to turn MCP on or allowlist the server.
Steps follow Windsurf’s own guide. Menus move; if yours differs, look for “custom connector” or “MCP server”.
Command line
OpenClaw
OpenClaw gateway.
- Register the server with the streamable-http transport (the default is SSE, which this server does not use), then sign in.
openclaw mcp set cirrus '{"url":"https://mcp.cirrus.trade","transport":"streamable-http","auth":"oauth"}'
openclaw mcp login cirrusSteps follow OpenClaw’s own guide. Menus move; if yours differs, look for “custom connector” or “MCP server”.
What the assistant can do
Depends on the scopes you grant. Turn off Place orders and it can only look.
- Account and portfolio read
- Profile, accounts, holdings, positions, orders, trades and activity.
- Market data read
- Instrument search, expiries, candles, option chain, option metrics (ATM IV, IV percentile, put-call ratios), payoff at expiry and the market calendar.
- Orders orders
- Margin checks, place, modify, cancel, bracket orders, convert and exit positions; baskets; GTT.
- Triggers triggers
- Alerts, exits and loss limits: create, modify, pause, resume and cancel.
- Strategies strategies
- Build, validate, dry-run, version and clone strategies; run backtests and sweeps; deploy, pause, resume, stop and exit; risk limits.
You set the limits
Cirrus asks before the assistant connects. Change them later in API Access → Connected apps. Exits, cancels and stops are never blocked.
- Place orders
- Off makes the connection read-only: it can look, never trade.
- Paper accounts only
- On by default. The agent acts only on paper-trading accounts; no real money moves.
- Accounts
- Which accounts it may trade or deploy on. None until you pick.
- Max order value (₹)
- The largest single order it may place or modify.
- Orders a day
- How many orders it may place per trading day (IST).
- Live strategies
- Whether it may deploy or take a strategy live. Off by default; offered only when paper only is off.
- Running strategies at once
- How many strategies started by this connection may run at the same time. Default 1.
See everything it did
Every change shows in your activity with who made it, for example “By Claude · via MCP · Place order”, and whether Cirrus could confirm the app.
Disconnect at any time
API Access → Connected apps → Disconnect. Removing the connector in your AI app alone does not revoke access.
For developers
What the server speaks, for your own client or a security review. Full guide: Connect an AI agent.
- Server URL
https://mcp.cirrus.trade- Transport
- Streamable HTTP at the URL above. Use the URL as it is, with no path added.
- Sign-in
- OAuth 2.1 with PKCE (S256) and dynamic client registration. Clients register themselves; there is no client ID to request.
- Resource metadata
https://mcp.cirrus.trade/.well-known/oauth-protected-resource- API key instead
- Scripts and CI can send
Authorization: token <key id>:<secret>from your own machine. Connection limits do not apply to a key.
OAuth scopes
- read
- Look at accounts, portfolio, orders, activity and market data.
- orders
- Place, modify, cancel and exit orders, baskets and GTT.
- triggers
- Create and manage alerts, exits and loss limits.
- strategies
- Build, backtest and deploy strategies on paper.
- strategies_live
- Take a strategy live on a real account.
Questions
- Claude asks which OAuth client to use. What do I pick?
- Choose Register automatically and leave the client ID and secret empty. Cirrus registers each app on its own.
- Can the assistant trade with real money?
- Only if you allow it. A new connection works on paper accounts only. To trade a real account you turn off Paper accounts only and pick the accounts; you can also cap the order value and orders a day.
- Can it see market prices?
- It can read candles, the option chain and option metrics, and work out a payoff, while one of your broker accounts is logged in for the day. It cannot stream live quotes.
- How do I disconnect it?
- In Cirrus, open API Access → Connected apps and choose Disconnect. Removing the connector in your AI app alone does not revoke access. Orders and strategies it already created stay, with their normal controls.
- Is this investment advice?
- No. An assistant can make mistakes. Check what it proposes before you act on it. Investments in securities are subject to market risks.