tradeos-mcp
OfficialClick on "Deploy 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., "@tradeos-mcpcompare option spreads for AAPL and MSFT"
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.
tradeos-mcp
TradeOS MCP lets you connect TradeOS trading intelligence to MCP-compatible AI tools, so your assistant can analyze markets, search tickers, compare spreads, use macro context, and manage custom trading agents directly from natural-language prompts.
Overview
This repo publishes @tradeos/tradeos-mcp on npm: a stdio MCP bridge that proxies tools to TradeOS Streamable HTTP (mcp-call). You can connect in two ways:
Mode | Best for | Auth |
HTTP (recommended) | Cursor, Claude Code, most MCP clients | Browser OAuth in the client |
npm stdio | Clients that only support |
|
Production endpoint (both modes ultimately call this):
https://ai.tradeos.xyz/api/agent/mcp/mcp-callProduct docs: TradeOS MCP integration & usage
Related MCP server: OpenFinClaw CLI
Prerequisites
Node.js 18+
A TradeOS account with MCP API access
For npm stdio: ability to run a local install (see Windows notes)
Option A — HTTP (recommended)
No npm install. The client handles OAuth.
Cursor
Edit user config ~/.cursor/mcp.json (Windows: %USERPROFILE%\.cursor\mcp.json):
{
"mcpServers": {
"tradeos": {
"url": "https://ai.tradeos.xyz/api/agent/mcp/mcp-call"
}
}
}Save, restart Cursor (or refresh MCP in Settings → MCP), then complete OAuth when prompted.
Claude Code (plugin — recommended)
Use the bundled plugin in tradeos-skills/:
claude --plugin-dir ./tradeos-skillsThen complete OAuth and run /tradeos:analyze. Full plugin workflow (validate, community marketplace submit): tradeos-skills/README.md — aligned with Claude plugin docs.
Option B — npm stdio bridge
Use when your client requires a local process (command + stdio).
1. Install locally
Do not rely on npx inside MCP on Windows (cache/path issues). Install once to a fixed directory:
mkdir -p ~/tradeos-mcp-run # Windows: mkdir %USERPROFILE%\Downloads\tradeos-mcp-run
cd ~/tradeos-mcp-run # Windows: cd %USERPROFILE%\Downloads\tradeos-mcp-run
npm install @tradeos/tradeos-mcpPin a version if you prefer, e.g. @tradeos/tradeos-mcp@1.0.0.
2. Get TRADEOS_ACCESS_TOKEN
Run the OAuth helper (opens browser → log in on TradeOS → prints token):
# Linux / macOS
npx -y -p @tradeos/tradeos-mcp tradeos-mcp-oauth
# Or subcommand on main bin:
npx -y @tradeos/tradeos-mcp oauth
# Or, from your install directory:
node node_modules/@tradeos/tradeos-mcp/scripts/fetch-token.mjsWindows (recommended):
cd /d %USERPROFILE%\Downloads\tradeos-mcp-run
node node_modules\@tradeos\tradeos-mcp\scripts\fetch-token.mjsCopy the printed JWT (eyJ...). For local development of this repo, copy into .env:
cp .example.env .env
# TRADEOS_ACCESS_TOKEN=eyJ...End users who only npm install the package do not need .env — set the token in MCP client config (mcp.json) instead.
Do not commit tokens to git.
3. Configure Cursor
{
"mcpServers": {
"tradeos-npm": {
"command": "node",
"args": [
"C:/Users/YOU/Downloads/tradeos-mcp-run/node_modules/@tradeos/tradeos-mcp/build/index.js"
],
"env": {
"TRADEOS_ACCESS_TOKEN": "eyJ..."
}
}
}
}Replace YOU and the path with your actual install location. Use forward slashes or escaped backslashes in JSON.
If Cursor cannot find node, set the full path:
"command": "C:/nvm4w/nodejs/node.exe"Enable tradeos-npm in Settings → MCP. Status should show connected with tools listed.
4. Verify in terminal (optional)
Environment variables in mcp.json do not apply to your shell. Set the token in the same terminal session:
REM Windows CMD
set TRADEOS_ACCESS_TOKEN=eyJ...
node C:\Users\YOU\Downloads\tradeos-mcp-run\node_modules\@tradeos\tradeos-mcp\build\index.js# Linux / macOS
export TRADEOS_ACCESS_TOKEN=eyJ...
node ~/tradeos-mcp-run/node_modules/@tradeos/tradeos-mcp/build/index.jsSuccess:
[tradeos-mcp] remote: https://ai.tradeos.xyz/api/agent/mcp/mcp-call
[tradeos-mcp] stdio bridge readyPress Ctrl+C to stop. Cursor starts its own process; you do not need to keep this terminal open.
Windows notes
Use local
node+ install path inmcp.json, notnpx, for MCP.If npm cache errors mention
C:\Program Files\nodejs\node_cache, run once:npm config set cache "%USERPROFILE%\.npm-cache"npx @pkg tradeos-mcp-oauthmay run the wrong bin on Windows. Prefer:npx -y -p @tradeos/tradeos-mcp tradeos-mcp-oauthor
node .../scripts/fetch-token.mjsfrom your install directory.Clear a broken npx cache (quit Cursor first):
rmdir /s /q "%USERPROFILE%\.npm-cache\_npx"
npm package reference
Item | Value |
Package |
|
MCP Registry name |
|
Bin: MCP bridge |
|
Bin: OAuth token |
|
OAuth subcommand |
|
Install:
npm install @tradeos/tradeos-mcpDevelopment (this repo)
git clone https://github.com/TradeOS-AI/tradeos-mcp.git
cd tradeos-mcp
npm ci
npm run build
npm run oauth:token # browser OAuth → prints token (copy into .env if needed)
npm run registry:verifyScript | Purpose |
| Compile stdio bridge to |
| Browser OAuth → print token |
| Pre-publish checks ( |
| Sync version from release tag |
Publishing (maintainers)
Push a version tag to trigger .github/workflows/publish-mcp.yml:
git tag v1.0.0
git push origin v1.0.0Stable tags (
v1.0.0) publish to npmlatestand the MCP Registry.Pre-release tags (
v1.0.0-beta.1) publish with an npm dist-tag matching the prerelease label (e.g.beta).Requires GitHub Actions secret
NPM_TOKEN(Classic Automation token for@tradeos).
Verify on the registry API:
curl "https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.TradeOS-AI/tradeos-mcp"Troubleshooting
Symptom | Likely cause | Fix |
| Token not set in env / | Run oauth helper; set |
| Expired or invalid token | Re-run oauth; paste fresh JWT (no |
| npm cache under |
|
|
| Local install + |
| Ran script from wrong directory |
|
Token works in terminal, not in Cursor |
| Match paths; restart Cursor / refresh MCP |
MCP connects but no tools | Wrong server enabled | Disable broken |
Related
tradeos-skills/— Claude Code plugin + analyze skillserver.json— MCP Registry manifest
This server cannot be deployed
Maintenance
Related MCP Connectors
Trade across 22+ exchanges and brokers from any MCP-capable AI agent, no install required.
Trade 16 crypto exchanges + MetaTrader 5 from your AI assistant via one MCP connection.
Let AI agents query data and act across all your business apps via MCP.
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Related MCP Servers
- FlicenseBqualityDmaintenanceConnects MCP-compatible AI agents to GT Protocol trading accounts, enabling natural language control of automated trading bots, strategy backtesting, deal execution, and balance monitoring on Binance and Hyperliquid exchanges.1-
- FlicenseNot gradedqualityDmaintenanceEnables quant research, strategy generation, backtesting, and paper trading from natural language prompts, integrating with AI agents via an MCP server.63-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Interactive Brokers through 48 tools for market data, orders, account management, and more, via the MCP protocol.MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI tools to execute trades and fetch market data across six crypto exchanges via natural language or API, with dual Telegram and MCP interfaces.2-