senti-mcp-server
This server provides read-only access to trading data from the Senti Quant Public API via MCP tools. It allows an AI assistant to:
List linked MT5 accounts, including balances, equity, terminal status, and running strategies
List supported brokers and their MT5 server details
Browse available trading strategies (expert advisors) with ratings and presets
View strategies deployed on a specific account, showing symbol, timeframe, and status
Retrieve open positions on an account, including symbol, volume, prices, stop loss/take profit, and floating profit
Retrieve pending limit and stop orders, showing order type, trigger price, volume, and more
All tools are read-only; no write operations (closing positions, cancelling orders, etc.) are exposed. A valid Senti Quant API key is required, and some endpoints may return a 409 error if the MT5 terminal is offline.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@senti-mcp-serverlist my MT5 accounts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
senti-mcp-server
A Model Context Protocol server that lets an AI assistant (Claude Code, Claude Desktop, Cursor, …) read trading data from the Senti Quant Public API.
Tools
Tool | Input | What it does |
| none | Lists the MT5 accounts linked to the configured API key: id, login, broker, last known balance and equity, sync state, running strategies. |
| none | Lists the platform-wide catalog of brokers Senti Quant supports — not the accounts this API key already has — with each broker's MT5 server names and account types. |
| none | Lists the platform-wide catalog of strategies (expert advisors) available to deploy — not the strategies currently running on any account — with each strategy's supported symbols, timeframes, rating and presets. |
|
| Lists the strategies currently deployed on one MT5 account, with each deployment's symbol, timeframe and status. |
|
| Lists the positions currently open on one MT5 account, read live from the terminal: symbol, direction, volume, open/current price, stop loss, take profit, swap and floating profit. A |
|
| Lists the pending limit and stop orders resting on one MT5 account, read live from the terminal: symbol, order type, volume, trigger price, stop loss, take profit and stop-limit price. These are orders that have NOT been filled — for open positions, use |
The id a tool returns is the accountId other Senti endpoints take. login is
the MT5 account number, not a key.
Related MCP server: ctrader-mcp-server
Requirements
Node.js ≥ 20.6.0 —
AbortSignal.any(), which every tool call goes through, landed in 20.3.0, andnpm run test:smokeusesnode --env-file, added in 20.6.0A Senti Quant API key (
sq_live_…). As of v0.2.0 the tool surface needs five read scopes:accounts:read,brokers:read,strategies:read,performance:read,trading:read— create one with all five at the API Keys dashboard. There is no key-introspection endpoint, so a missing scope isn't caught at startup: it surfaces as a403naming the scope the first time the affected tool is called, and every other tool keeps working. As of v1.0.0,accounts:read(list_accounts),brokers:read(list_brokers),strategies:read(list_strategies,list_account_strategies) andtrading:read(list_positions,list_pending_orders) are exercised by a shipped tool;performance:readis not yet.
Configuration
Variable | Required | Default | Purpose |
| ✅ | — | First-party key. The server exits at startup without it. |
|
| Set to |
The key and the base URL must belong to the same environment. Keys are environment-bound, and the default base URL is production (
https://api.sentitrade.xyz) while keys are currently issued from the staging dashboard. A key created in one environment returns401against another, however valid it is — so if a correct-looking key is rejected, checkSENTI_API_BASE_URLbefore regenerating the key.Verified pairing: a key issued from the staging dashboard (
https://stage.sentitrade.xyz/account/api-keys) works againsthttps://be-dev.sentitrade.xyz— that is the pairingnpm run test:smokeexercises, and it has passed against that pairing twice. Which base URL a production-issued key needs is not established; treat that pairing as unconfirmed until it is.
See docs/SETUP.md for a full local setup walkthrough.
Use with an MCP client
No install step — npx fetches the published package on first run:
{
"mcpServers": {
"senti": {
"command": "npx",
"args": ["-y", "senti-mcp-server"],
"env": {
"SENTI_API_KEY": "sq_live_..."
}
}
}
}Restart the client; all six tools should appear. npx -y senti-mcp-server
resolves to whatever npm's latest tag points at — 1.0.1 as of this release,
the first published version carrying all six tools. Only list_accounts is
reachable on 0.1.0, which was published before the other five existed, so
check npm view senti-mcp-server dist-tags if a tool you expect is missing.
Pin the version in args if you want to hold one —
["-y", "senti-mcp-server@1.0.1"]. To put it on your PATH instead:
npm install -g senti-mcp-serverThen the client block becomes "command": "senti-mcp-server" with no args.
From a git checkout
Point the client at your own build — useful while developing:
npm install
npm run build{
"mcpServers": {
"senti": {
"command": "node",
"args": ["/absolute/path/to/senti-mcp-server/dist/index.js"],
"env": {
"SENTI_API_KEY": "sq_live_..."
}
}
}
}Security
The API key is read from the environment and never appears in a tool's input schema. A tool parameter would live in the model's context, and from there in transcripts and logs; an environment variable does not. The test suite asserts the key appears in no error message.
This server registers read-only tools only. The Senti API's write operations
— closing positions, cancelling orders, stopping strategies — are deliberately
not exposed. Adding any of them requires its own design: an opt-in switch,
Idempotency-Key support, and user confirmation before execution.
Development
npm test # unit tests (stubbed fetch)
npm run test:watch
npm run test:smoke # one live call against the dev API; needs .env.local
npm run typecheck
npm run dev # run from source, e.g. SENTI_API_KEY=… npm run devnpm run test:smoke reads SENTI_SMOKE_KEY from .env.local, which is
gitignored. If .env.local exists but doesn't set SENTI_SMOKE_KEY, the smoke
test skips cleanly. If .env.local doesn't exist at all, node --env-file fails
to start (node: .env.local: not found, exit 9) rather than skipping — create
the file, even empty, to get the skip instead of the failure.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseDqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with the Deriv trading API, providing access to active trading symbols and account balance information.2
- Flicense-qualityFmaintenanceA standalone Model Context Protocol (MCP) server that enables AI assistants to interact with the cTrader trading platform.14
- Alicense-qualityCmaintenanceA Model Context Protocol (MCP) server for the Hyperliquid decentralized exchange, enabling AI assistants to perform trading operations, manage accounts, and retrieve market data.3MIT
- Flicense-qualityAmaintenanceEnables AI assistants to connect to MetaTrader 5 for trading, market data access, and account management through the Model Context Protocol.204
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Koniverse/Senti-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server