FNOTraderAI Access
FNOTrader MCP · setup

Connect FNOTrader to your AI assistant

One server, every assistant. Describe a strategy in plain English — your AI builds and backtests it on the same engine, data and credits as the Algo app. Stock screening is included free with your Stocks plan; AI backtesting (options) and mutual-fund analysis need their MCP plans.

Server URLhttps://mcp.fnotrader.com/mcp
Two ways to authenticate. Claude, ChatGPT, Cursor and Gemini web all use the same OAuth flow — paste the URL, click Connect, approve the FNOTrader sign-in. Nothing to copy, revocable anytime. Clients without OAuth use a personal token from the token page, sent as Authorization: Bearer fntmcp_…. Stock screening is included free with your Stocks plan; AI backtesting (options) and mutual-fund analysis need their MCP plans.
Setup

Connect in three steps.

Connectors⌕ +
+ Add custom connector
CONNECTED
NOT CONNECTED
01

Open Claude.

Go to Settings → Connectors and choose Add custom connector. Works in the web, desktop and mobile apps once added.

https://mcp.fnotrader.com/mcp
02

Add the FNOTrader URL.

Name it FNOTrader and paste the connector URL. No token to copy.

F
Connect FNOTrader to Claude
Approve & connect
03

Sign in with FNOTrader.

Authorize once in your browser with your regular fnotrader.com login. Enable FNOTrader in any chat and just ask.

terminal
$ claude --version Claude Code, ready.
01

Open your terminal.

Anywhere a claude session runs — no settings screen needed.

terminal
$ claude mcp add \ --transport http fnotrader \ https://mcp.fnotrader.com/mcp
02

Add the FNOTrader server.

One command. Leave the token out — Claude Code signs you in.

terminal
/mcp fnotrader ✓ connected 37 tools available
03

Authenticate.

Run /mcp, pick fnotraderAuthenticate. Your browser opens the FNOTrader sign-in; approve it and you're connected.

Connectors⌕ +
+ Create
CONNECTED
NOT CONNECTED
01

Turn on Developer mode.

Settings → Connectors → Advanced → enable Developer mode. Plus, Pro and Business plans.

https://mcp.fnotrader.com/mcp
02

Create the connector.

Name FNOTrader, Authentication OAuth, and this MCP server URL.

F
Connect FNOTrader to ChatGPT
Approve & connect
03

Sign in with FNOTrader.

Approve once, then in a chat use + → Developer mode and tick FNOTrader. The “unverified connector” notice is expected for every custom connector.

Tools & MCP⌕ +
+ Add Custom MCP
CONNECTED
NOT CONNECTED
01

Open Cursor Settings.

Settings ⚙ → Cursor Settings → Tools & MCP → Add Custom MCP, or edit ~/.cursor/mcp.json directly.

terminal
{ "mcpServers": { "fnotrader": { "url": "https://mcp.fnotrader.com/mcp" } } }
02

Add the FNOTrader server.

Paste this into mcp.json — no key, Cursor detects OAuth.

F
Connect FNOTrader to Cursor
Approve & connect
03

Sign in with FNOTrader.

Cursor opens your browser to authorize. The tools then appear under MCP — use them from Agent chat.

Connected apps⌕ +
+ Add custom app
CONNECTED
NOT CONNECTED
01

Pick your Gemini.

Web app: Settings → Connected apps → Add custom app (rolling out). CLI: edit ~/.gemini/settings.json. Enterprise: your admin adds it as a custom MCP server.

terminal
{ "mcpServers": { "fnotrader": { "httpUrl": "https://mcp.fnotrader.com/mcp", "headers": { "Authorization": "Bearer fntmcp_…" } } } }
02

Add the FNOTrader server.

The web app takes the URL and signs you in. The CLI takes a token from the token page:

F
Connect FNOTrader to Gemini
Approve & connect
03

Verify with /mcp.

Run /mcp in the CLI (or open a chat on the web) — FNOTrader should list its tools. Then just ask.

MCP servers⌕ +
+ Add server
CONNECTED
NOT CONNECTED
01

Open your MCP client.

VS Code Copilot, Windsurf, Grok, LangChain / agno pipelines, your own agent — anything that speaks MCP over streamable HTTP.

https://mcp.fnotrader.com/mcp
02

Point it at the URL.

One endpoint, every client. Streamable HTTP — no SSE shim needed.

F
Connect FNOTrader to your AI
Approve & connect
03

Authenticate.

Use OAuth if the client offers a sign-in. Otherwise send a token from the token page as Authorization: Bearer fntmcp_…, or append ?key=fntmcp_… to the URL.

🧰Other ways to connect

The three steps above cover the sign-in route. These are the alternatives — config files, and clients that can't open a browser.

Claude Desktop — config file

claude_desktop_config.json (needs Node.js); restart Claude after saving.

{
  "mcpServers": {
    "fnotrader": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.fnotrader.com/mcp",
               "--header", "Authorization: Bearer fntmcp_…"]
    }
  }
}

Claude Code — headless / CI

With no browser to sign in with, send the header instead.

claude mcp add --transport http fnotrader https://mcp.fnotrader.com/mcp --header "Authorization: Bearer fntmcp_…"

Cursor — without OAuth

{
  "mcpServers": {
    "fnotrader": {
      "url": "https://mcp.fnotrader.com/mcp",
      "headers": { "Authorization": "Bearer fntmcp_…" }
    }
  }
}

Any client — every auth option

Sign-in:      OAuth — pick "sign in" if the client offers it
or Header:    Authorization: Bearer fntmcp_…
or keyed URL: https://mcp.fnotrader.com/mcp?key=fntmcp_…
Tokens come from https://mcp.fnotrader.com/mcp/connect — rotate or revoke anytime. Gemini Enterprise (Google Cloud): your admin adds a custom MCP server with the same URL — Streamable HTTP is exactly what this server speaks.

📋Quick reference

AssistantWhereAuth
ClaudeSettings → Connectors → Add custom connectorOAuth (sign in)
Claude Codeclaude mcp add --transport http/mcp → AuthenticateOAuth, or token
ChatGPTSettings → Connectors → Developer mode → CreateOAuth (sign in)
CursorCursor Settings → Tools & MCP (mcp.json)OAuth, or token
Gemini webSettings → Connected apps → Add custom appFollow sign-in
Gemini CLI / othersmcpServers configBearer token

Then just ask

Backtest a NIFTY 09:20 short straddle with 30% SL per leg for 2023–2025.
Find stocks within 5% of their all-time high with turnover above ₹5 Cr.
Algo appHelp & manualFeature guidePlansAll times IST