One protocol. Any AI talks to your account.
MCP (Model Context Protocol) is an open standard from Anthropic through which AI assistants connect to external systems. We host servers for each instrument type — you create a token and paste it into your assistant.
Analyse markets in plain language
Ask AI about live quotes, historical candles, spreads, volumes — in your own words, across all 4 markets at once.
See your portfolio in chat
Open positions, pending orders, trade history, total equity — all through plain conversation. No window switching.
Token-level control
Each token is a separate integration with its own lifetime. See all active ones in Settings → AI integrations and revoke any of them with one click.
Four markets — four MCP endpoints.
Each instrument type lives on its own server. A single token from your IQ Option settings works on all four — connect all of them or just the ones you need.
Read by default. Trade — opt-in, per market.
Every token has its own scope. Read access to all 4 servers is enabled automatically and cannot be turned off — AI needs it just to "see" your data. The right to open and close trades is granted explicitly — separately for each market, when you create the token.
New AI integration token
🟢 Read — cannot be turned off
Without read access AI is useless — it can't show your balance or prices. That's why the read scope is enabled automatically across all 4 servers. This is the safest level: AI only looks, never touches.
🟠 Trade — surgical, per use case
Want AI to help trade only options? Tick Trade · Digital Options and nothing else. Margin CFD/Crypto/Forex stay read-only — even if AI tries, the server returns 403 Forbidden.
🔵 Scope can be changed without recreating the token
Want to drop a trade permission from a token that's already in use? Open Settings → AI integrations, find the token, uncheck the market — the permission is dropped instantly. The token value itself does not change, so no need to update your assistant's config.
Ready-made permission sets by scenario
Three steps. No code, no terminal.
Our MCP runs over streamable-HTTP — no Python environments, no virtual venv, no repos to clone. Just a URL + Bearer token you create in one click.
Create a token
In the mobile app or on the web:
- Open Settings → AI integrations →
- Tap + Add integration
- Give the token a name and an expiry
- Tick which markets are allowed for trading (read is always on). Details — section 03 above
- Copy the token immediately — once you close the screen it won't be shown again
Pick your assistant
Native MCP support is available in:
- Claude Desktop / Claude Code
- Cursor / Windsurf / Zed
- OpenAI Codex / ChatGPT Desktop
- Cline / Continue / Goose / LibreChat
Paste the config
Copy the snippet for your assistant. Each one needs three things:
- The server URL
- Authorization: Bearer + your token
- Restart your assistant
Pick your assistant — the config is ready.
Each snippet connects all 4 servers at once. Just replace YOUR_TOKEN with the token you created in step 1. If you only need one market, keep just that block and delete the rest.
Claude Desktop
Easy{
"mcpServers": {
"iq-digital-options": {
"transport": "streamable-http",
"url": "https://digital-options.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
},
"iq-margin-cfd": {
"transport": "streamable-http",
"url": "https://marginal-cfd.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
},
"iq-margin-crypto": {
"transport": "streamable-http",
"url": "https://marginal-crypto.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
},
"iq-margin-forex": {
"transport": "streamable-http",
"url": "https://marginal-forex.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
What IQ Option tools do I have available? — you'll see the tools list from all four servers.
Claude Code (CLI)
Easy# Digital Options
claude mcp add --transport http iq-digital-options \
https://digital-options.mcp.iqoption.com \
--header "Authorization: Bearer YOUR_TOKEN"
# Margin CFD
claude mcp add --transport http iq-margin-cfd \
https://marginal-cfd.mcp.iqoption.com \
--header "Authorization: Bearer YOUR_TOKEN"
# Margin Crypto
claude mcp add --transport http iq-margin-crypto \
https://marginal-crypto.mcp.iqoption.com \
--header "Authorization: Bearer YOUR_TOKEN"
# Margin Forex
claude mcp add --transport http iq-margin-forex \
https://marginal-forex.mcp.iqoption.com \
--header "Authorization: Bearer YOUR_TOKEN"
claude mcp list — you should see 4 lines with ✓ connected status.
Cursor
Easymcp.json directly or via the UI.
{
"mcpServers": {
"iq-digital-options": {
"url": "https://digital-options.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
},
"iq-margin-cfd": {
"url": "https://marginal-cfd.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
},
"iq-margin-crypto": {
"url": "https://marginal-crypto.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
},
"iq-margin-forex": {
"url": "https://marginal-forex.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
Windsurf (Codeium)
Medium{
"mcpServers": {
"iq-digital-options": {
"serverUrl": "https://digital-options.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
},
"iq-margin-cfd": {
"serverUrl": "https://marginal-cfd.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
},
"iq-margin-crypto": {
"serverUrl": "https://marginal-crypto.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
},
"iq-margin-forex": {
"serverUrl": "https://marginal-forex.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
OpenAI Codex CLI
Mediumconfig.toml[mcp_servers.iq-digital-options]
url = "https://digital-options.mcp.iqoption.com"
headers = { Authorization = "Bearer YOUR_TOKEN" }
[mcp_servers.iq-margin-cfd]
url = "https://marginal-cfd.mcp.iqoption.com"
headers = { Authorization = "Bearer YOUR_TOKEN" }
[mcp_servers.iq-margin-crypto]
url = "https://marginal-crypto.mcp.iqoption.com"
headers = { Authorization = "Bearer YOUR_TOKEN" }
[mcp_servers.iq-margin-forex]
url = "https://marginal-forex.mcp.iqoption.com"
headers = { Authorization = "Bearer YOUR_TOKEN" }
/mcp shows the list of servers. Run codex mcp status to verify.
ChatGPT Desktop
Medium# Add 4 connectors, one at a time:
Name: IQ Digital Options
Server URL: https://digital-options.mcp.iqoption.com
Transport: Streamable HTTP
Auth header: Authorization: Bearer YOUR_TOKEN
Name: IQ Margin CFD
Server URL: https://marginal-cfd.mcp.iqoption.com
Auth header: Authorization: Bearer YOUR_TOKEN
Name: IQ Margin Crypto
Server URL: https://marginal-crypto.mcp.iqoption.com
Auth header: Authorization: Bearer YOUR_TOKEN
Name: IQ Margin Forex
Server URL: https://marginal-forex.mcp.iqoption.com
Auth header: Authorization: Bearer YOUR_TOKEN
Cline (VS Code Extension)
Easy{
"mcpServers": {
"iq-digital-options": {
"url": "https://digital-options.mcp.iqoption.com",
"transport": "streamable-http",
"headers": { "Authorization": "Bearer YOUR_TOKEN" },
"disabled": false
},
"iq-margin-cfd": {
"url": "https://marginal-cfd.mcp.iqoption.com",
"transport": "streamable-http",
"headers": { "Authorization": "Bearer YOUR_TOKEN" },
"disabled": false
},
"iq-margin-crypto": {
"url": "https://marginal-crypto.mcp.iqoption.com",
"transport": "streamable-http",
"headers": { "Authorization": "Bearer YOUR_TOKEN" },
"disabled": false
},
"iq-margin-forex": {
"url": "https://marginal-forex.mcp.iqoption.com",
"transport": "streamable-http",
"headers": { "Authorization": "Bearer YOUR_TOKEN" },
"disabled": false
}
}
}
Continue.dev
Mediumconfig.yamlmcpServers:
- name: iq-digital-options
type: streamable-http
url: https://digital-options.mcp.iqoption.com
requestOptions:
headers:
Authorization: "Bearer YOUR_TOKEN"
- name: iq-margin-cfd
type: streamable-http
url: https://marginal-cfd.mcp.iqoption.com
requestOptions:
headers:
Authorization: "Bearer YOUR_TOKEN"
- name: iq-margin-crypto
type: streamable-http
url: https://marginal-crypto.mcp.iqoption.com
requestOptions:
headers:
Authorization: "Bearer YOUR_TOKEN"
- name: iq-margin-forex
type: streamable-http
url: https://marginal-forex.mcp.iqoption.com
requestOptions:
headers:
Authorization: "Bearer YOUR_TOKEN"
Zed
Mediumcontext_servers in Zed settings (Cmd , / Ctrl ,).
{
"context_servers": {
"iq-digital-options": {
"source": "custom",
"transport": "http",
"url": "https://digital-options.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
},
"iq-margin-cfd": {
"source": "custom",
"transport": "http",
"url": "https://marginal-cfd.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
},
"iq-margin-crypto": {
"source": "custom",
"transport": "http",
"url": "https://marginal-crypto.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
},
"iq-margin-forex": {
"source": "custom",
"transport": "http",
"url": "https://marginal-forex.mcp.iqoption.com",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
Goose (Block)
Mediumconfig.yamlextensions:
iq-digital-options:
type: streamable_http
uri: https://digital-options.mcp.iqoption.com
headers:
Authorization: "Bearer YOUR_TOKEN"
enabled: true
iq-margin-cfd:
type: streamable_http
uri: https://marginal-cfd.mcp.iqoption.com
headers:
Authorization: "Bearer YOUR_TOKEN"
enabled: true
iq-margin-crypto:
type: streamable_http
uri: https://marginal-crypto.mcp.iqoption.com
headers:
Authorization: "Bearer YOUR_TOKEN"
enabled: true
iq-margin-forex:
type: streamable_http
uri: https://marginal-forex.mcp.iqoption.com
headers:
Authorization: "Bearer YOUR_TOKEN"
enabled: true
goose session will show the loaded extensions on start.
Cherry Studio
Easy# Add 4 servers; for each one:
Name: iq-digital-options (or another)
Type: HTTP (Streamable)
URL: https://digital-options.mcp.iqoption.com
Headers:
Authorization → Bearer YOUR_TOKEN
# Repeat for marginal-cfd, marginal-crypto, marginal-forex.
# Enable the toggle next to each server.
LibreChat
MediummcpServers:
iq-digital-options:
type: streamable-http
url: https://digital-options.mcp.iqoption.com
headers:
Authorization: "Bearer YOUR_TOKEN"
iq-margin-cfd:
type: streamable-http
url: https://marginal-cfd.mcp.iqoption.com
headers:
Authorization: "Bearer YOUR_TOKEN"
iq-margin-crypto:
type: streamable-http
url: https://marginal-crypto.mcp.iqoption.com
headers:
Authorization: "Bearer YOUR_TOKEN"
iq-margin-forex:
type: streamable-http
url: https://marginal-forex.mcp.iqoption.com
headers:
Authorization: "Bearer YOUR_TOKEN"
docker compose restart api. MCP tools will appear under Plugins.
Custom / Enterprise
MediumTransport: streamable-http (HTTP/SSE per spec)
Method: POST (for invocations)
URL: https://<market>.mcp.iqoption.com
Header: Authorization: Bearer YOUR_TOKEN
Content-Type: application/json
# Available <market> values:
# · digital-options · marginal-cfd
# · marginal-crypto · marginal-forex
curl -X POST https://digital-options.mcp.iqoption.com \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Your token, your responsibility. Guardrails are built in.
MCP gives AI the keys to your trading account. So we — and you — watch the limits together.
Token lives in headers, not in chat
The Bearer token is attached to the HTTP header on the assistant ↔ server connection. AI does not see it in the message body and cannot accidentally send it out.
Don't share. Don't commit.
The token = access to your trading account. Never publish in git, screenshots, chats or gists. If you suspect a leak — open Settings → AI integrations and hit Revoke next to that token. All requests using it stop working instantly.
Expiry and rotation
You set the expiry at creation. After that date the token stops working automatically. We recommend keeping separate tokens per integration — that way you can revoke only what you need.
Start small
AI is powerful but not infallible. It can pick the wrong instrument, size, or direction. Before trusting the model with size — walk through scenarios manually and double-check its suggestions. The responsibility for every trade is yours.
What to ask AI once connected.
Plain language — no commands or slashes. Ask in English, Spanish, Portuguese, or your own language — the model figures out which server to call.
Account
- Show my balance
- Which account am I on right now
- List my IQ Option accounts
- How much free margin do I have
Markets
- Which assets are available on Margin Crypto
- Show me the EUR/USD quote
- Compare BTC movement over the last hour
- What are the current spreads on the top 5 forex pairs
Portfolio
- Show my open positions
- List my pending orders
- What's my total account exposure
- How many trades did I make today
Trading
- Open a long BTC at 0.01 with a 5% stop loss
- Buy a 5-minute EUR/USD call option
- Close all my Tesla positions
- Place a limit buy on SPY around 580
FAQ
Do I need to install anything on my computer?
No. Our MCP servers are hosted by us — no repos to clone, no Python or venv to install. Just the URL + Bearer token in your AI assistant's config.
Does one token really work on all 4 servers?
Yes. Create a single Bearer token in Settings → AI integrations and use it in the Authorization header for all four endpoints: digital-options, marginal-cfd, marginal-crypto, marginal-forex.
What if I only want to connect one market, e.g. Forex?
Delete the other blocks from the config — keep only iq-margin-forex. AI will see only the tools from that server and won't be able to touch, e.g., options by accident.
What can AI actually do through MCP?
Each of our servers exposes its own tools list — you can see the full set right after connecting by asking the assistant: "What IQ Option tools do you have?". In total this is reading market data, portfolio and trades, plus methods to open/close positions. Which methods are available to a specific token is determined by its scope (read + optionally trade per market).
How do I make sure AI can't trade?
When creating the token in Settings → AI integrations just don't tick any of the four "Trade · …" checkboxes. Read stays on (it can't be turned off — AI needs it), and any attempt to call a trading tool will return 403 Forbidden. This is the safest setup for research use cases.
Can I allow trading on only one instrument?
Yes. For example, tick only Trade · Margin Crypto — AI will be able to open/close crypto positions, but options, CFD and forex stay read-only. Useful when you're testing the AI setup on a market you're comfortable with.
What if I want to drop a trade permission from an existing token?
Open Settings → AI integrations, find the token and uncheck the relevant box (e.g. Trade · Margin CFD). The permission is removed instantly — the server will start returning 403 Forbidden on trading calls for that market. The token value itself doesn't change, so no need to touch your assistant's config.
What if my token leaked?
Go to Settings → AI integrations, find the compromised token and hit Revoke. All requests with it stop working instantly. Create a new one and update the assistant's config.
What are the limits on tokens and servers?
One account can have multiple active tokens at once (visible in the Active tokens list). One token works across all 4 servers. If you want separate keys per integration for easier revocation — create several and give them meaningful names.
My assistant doesn't see the tools after setup. What now?
Checklist: (1) restart the assistant completely, (2) make sure the token is copied without extra whitespace at the start/end, (3) check that the URL has no trailing slash and matches your subscription, (4) make sure the Authorization header starts exactly with Bearer (note the space), (5) check the assistant's logs — usually it's a JSON syntax error in the config.
Which assistant is the easiest to set up from scratch?
If you're not a developer — Claude Desktop or Cherry Studio: both have a UI that handles the config for you. If you live in code — Cursor or Claude Code will feel more natural.
Is using MCP free?
At the moment — yes, free for all IQ Option clients with an active account. You only pay for your AI assistant's subscription (Claude Pro / ChatGPT Plus, etc.).