Quantplay MCP server

One link connects Claude, ChatGPT or any MCP app to your accounts on 10+ Indian brokers. You sign in with OAuth; there’s no Quantplay API key to copy.

By Ashok, Co-founder, Quantplay
Updated 14 November 2026

On this page

The Quantplay MCP server connects your AI app to your accounts at 10+ Indian brokers, using one URL.

  • Works with ChatGPT, Claude, Grok, Hermes, OpenClaw, Muse, Cursor, Claude Code, Codex and other MCP apps.
  • Account reading is free. Orders require your permission and PRO: ₹700 per broker account per month.
  • PRO includes risk limits and a static IP. Limits run on Quantplay’s servers.
  • No AI tool can change your kill switch.
An option-chain chart in Claude showing open interest by strike, NIFTY spot 25,097.1, ATM strike 25,100, put-call ratio 0.79 and ATM implied volatility 12.84%.
An option-chain response in Claude, retrieved through the Quantplay connector.

What it is

MCP is a standard that lets AI apps use tools from another service. Quantplay exposes tools for connected broker accounts, so an assistant can request positions, orders or margins instead of interpreting a screenshot.

Before you start: add your broker

The agent works with the broker accounts you’ve added to Quantplay. Sign up, click Add account, pick your broker and enter its API details. Find your broker’s guide.

Quantplay’s Accounts panel with two linked accounts, available margin of ₹3.3 lakh each and an Add account button. Sample data.
Add your broker accounts in Quantplay before connecting an AI app. Sample data.

What you can do

  • Read positions, holdings, orders, margins, live P&L and history.
  • Look up option chains, expiries, instruments and market data.
  • Place, modify and cancel orders, or square off positions, if you allow trading.
  • Set stoploss, target and trailing stoploss, if you allow risk changes.

Authentication and permissions

No Quantplay API key is needed for the connector flow. Add the URL, pick OAuth if asked, then sign in and choose what the agent can do. Viewing is always on; trading and risk changes are off until you allow them.

https://mcp.quantplay.tech/mcp

There is one connector URL. The approval screen decides which actions are allowed; you do not choose a different server for trading.

Approval labelWhat it allows
View your accountsRead account information such as positions, holdings, orders, margins and P&L.
Place, modify and cancel ordersSend order actions to the connected broker accounts.
Change stoploss, target and trailChange these account risk settings.

Keep order and risk changes unticked if you want account answers only. Permission to trade does not give an AI permission to change your kill switch.

Quantplay approval screen with View your accounts selected, while order and risk permissions are unticked.
The approval screen separates account reading, order actions and risk changes.

What to ask a connected AI

What you wantTry asking
See your portfolioShow my positions across all accounts and today’s P&L.
Check marginsHow much free margin do I have left in each account?
Check ordersDid my orders fill? Show any rejection reasons.
Read the option chainShow the NIFTY option chain for this expiry around the ATM strike.
Place an orderBuy 1 lot of NIFTY 24300 CE on my main account, with the expiry and limit price I specify.
Set risk limitsSet stoploss ₹5,000 and target ₹12,000 on my main account.
Review holdingsAnalyse my holdings. Which positions make up the largest share?
Example requests, not trade recommendations. Order actions and risk changes need their respective permissions.

Begin with a result you can check in the broker app. If you later enable trading, specify the account, instrument, quantity, side, order type and price. Check the order book for the result.

Quantplay’s order book showing two completed NIFTY option orders, each filled for 65 of 65 units at an average price of ₹150. Sample data.
Check the quantity, average price and status in the order book after an order request. Sample data.

Setup guides

For the broker details you need first, find your broker’s guide. The AI agent guides show the screens for each app.

Claude

  1. 1
    Copy the server URL above.
  2. 2
    Open Customize → Connectors → Add custom connector, name it Quantplay and paste the URL.
  3. 3
    Click Connect. Sign in to Quantplay, choose permissions and approve.
  4. 4
    Start a new chat and ask for your Quantplay accounts to check it works.
Claude’s Add custom connector form with the name Quantplay and server URL https://mcp.quantplay.tech/mcp.
Name the connector Quantplay and enter the same server URL in Claude.

ChatGPT

ChatGPT Free works. Quantplay was connected on a Free account on 14 November 2026.

  1. 1
    Open Add custom MCP server in ChatGPT.
  2. 2
    Name it Quantplay, paste the server URL and choose OAuth.
  3. 3
    Create the connection, sign in to Quantplay, choose permissions and approve.
  4. 4
    Ask ChatGPT for your Quantplay accounts to check the connection.

See the ChatGPT setup screens.

Claude Code

Add the remote server:

claude mcp add --transport http quantplay https://mcp.quantplay.tech/mcp

Optional: add --scope user for every project, or --scope project to share the server configuration through .mcp.json. Then run /mcp, pick Quantplay and complete authentication. See Claude Code’s MCP documentation.

Codex

For Codex, add the server and then run the login command:

codex mcp add quantplay --url https://mcp.quantplay.tech/mcp
codex mcp login quantplay

Approve the sign-in in your browser. The Codex MCP guide explains remote servers and OAuth authentication.

Cursor

Add this to ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one:

{ "mcpServers": { "quantplay": { "url": "https://mcp.quantplay.tech/mcp" } } }

Approve the sign-in Cursor opens, then check that Quantplay’s tools appear in its MCP settings. See Cursor’s MCP configuration guide.

Grok

  1. 1
    Open Grok’s connectors and add a custom connector.
  2. 2
    Paste the same server URL, sign in to Quantplay, choose permissions and approve.
  3. 3
    Ask Grok for your Quantplay accounts.

Muse

Add a custom connector in Muse with the same URL. Sign in to Quantplay, choose permissions and approve.

Other MCP clients and scripts

Add the URL as a remote server using Streamable HTTP. Pick OAuth and approve the sign-in. For Hermes, OpenClaw and other clients, see the AI agent guides.

A script without a browser can send an API key from Settings → Developer as an X-Api-Key header. Use OAuth for interactive clients so you can choose their permissions on the approval screen. Keep API keys out of chat messages and shared configuration files.

Risk limits keep running outside the chat

Quantplay’s stoploss, target and trail run on its servers. They auto-exit intraday and F&O positions a few seconds after the limit is crossed. They do not block orders in advance, and an exit can land beyond the limit.

You can edit the kill switch only before 9:15 am or after 3:20 pm IST. An AI cannot edit it at any time, including when you have allowed changes to stoploss, target and trail.

If something’s off

  • No accounts appear: check that the broker account has been added in Quantplay and that you completed sign-in.
  • The AI cannot place an order: check the permission you approved and the account’s PRO access.
  • Tools do not appear: confirm the URL, check configuration JSON for typos and finish the approval screen; restart a desktop client after changing its configuration.

You can also check the MCP server’s health endpoint.

Asked to sign in again and again

Finish the approval step in the Quantplay tab that opens. If it keeps happening, remove the connector, add it again and approve once more.

Using an old URL with a key in it

Replace URLs containing ?QUANTPLAY_API_KEY= with the plain server URL above, then sign in with OAuth.

Disconnecting an agent

In Quantplay, open Settings → AI Integration → Disconnect. The Privacy Policy explains access revocation and what is stored.

Still stuck?

For account help, use the support page or email hello@quantplay.tech. Data handling is covered in the Privacy Policy.

FAQ

Ask your AI about your portfolio

Connect your broker accounts to the AI app you use. Reading your accounts is free.

  • ChatGPT
  • Claude
  • Grok
  • Muse
  • Hermes
  • OpenClaw
  • Cursor
  • Zerodha
  • Upstox
  • Angel One
  • Kotak Neo
  • Motilal Oswal
  • Alice Blue
  • Finvasia
  • Flattrade
  • IIFL
  • Jainam

Works with AI apps that support MCP and 10+ Indian brokers.