atas-mcp
Model Context Protocol (MCP) bridge for ATAS Platform and ATAS X to connect trading and market data with AI agents
Install / Use
claude mcp add Ax3lsk3r3 -- npx -y github:Ax3lsk3r3/atas-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of atas-mcp
atas-mcp scores 81/100 on our quality scale, 3427th of 4,698 Development & Engineering skills we index.
Its MCP Server is 14 KB long, well organised into 29 sections with 14 code examples: a thorough specification that gives an agent plenty to work with.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so atas-mcp is actively maintained.
- Our last check on 2026-11-10 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-11-10. Automated pattern scan on 2026-11-09. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
atas-mcp compared with similar skills
All 4 of these similar skills score higher than atas-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| atas-mcp (this skill)by Ax3lsk3r3 | 81 | 10 | 2mo ago | MCP Server |
| taste-skillby Leonxlnx | 100 | 116.8k | 8d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 112.3k | 8d ago | CLAUDE.md |
| rufloby ruvnet | 100 | 81.9k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install atas-mcp?
- Run
claude mcp add Ax3lsk3r3 -- npx -y github:Ax3lsk3r3/atas-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does atas-mcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is atas-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is atas-mcp still maintained?
- The repository was last updated about 2 months ago, so atas-mcp is actively maintained.
Skill content
View source on GitHubATAS MCP Bridge
Model Context Protocol (MCP) server connecting ATAS Platform (7.x) and ATAS X (8.x) to AI agents and development assistants.
Overview
ATAS MCP Bridge bridges the gap between institutional-grade order flow trading in ATAS and modern AI models. It exposes real-time market data, full order book depth (DOM), delta volume candles, account positions, open orders, trade executions, and automated order routing directly to AI assistants.
Compatible with all major AI coding agents and MCP clients:
- OpenCode
- Qwen Code
- Kiro (CLI & IDE)
- Claude Code
- OpenAI Codex / Developers Platform
- OpenClaw
- Kimi Kode
- Z Code
- Google Antigravity (AGY CLI & IDE)
- Cursor
- Claude Desktop
- Windsurf / VS Code (Cline & Roo Code)
Architecture
+------------------------------------+ HTTP / SSE (127.0.0.1:8787) +----------------------+
| ATAS Platform | <------------------------------------------> | MCP Server (Py) |
| "MCP Bridge" | GET /api/* | server.py |
| (ChartStrategy in C# / .NET) | POST /api/order | (mcp 2.0) |
+------------------------------------+ GET /api/stream +----------------------+
^
| MCP (stdio)
v
+----------------------+
| AI Clients |
| - OpenCode |
| - Qwen Code |
| - Kiro |
| - Claude Code |
| - OpenAI Codex |
| - OpenClaw |
| - Kimi Kode |
| - Z Code |
| - Antigravity |
| - Cursor |
| - Claude Desktop |
+----------------------+
Communication Flow:
- C# Addon (
ATAS.McpBridge): Runs inside the ATAS process as a nativeChartStrategy. It hosts an embedded HTTP and Server-Sent Events (SSE) listener on127.0.0.1:8787. - Thread Safety & Lock-Free Design: All ATAS API calls occur strictly on the main ATAS thread within
OnCalculate(). Incoming HTTP execution requests are queued in a thread-safeConcurrentQueueand processed on the next tick. Read requests are answered immediately from volatile in-memory JSON snapshots without interrupting market data processing. - Python MCP Server (
server.py): Speaks Model Context Protocol over standard I/O (stdio), exposing 12 production-ready tools with robust structured error handling. - Python HTTP Client (
atas_client.py): Zero-dependency client using Python standard library with automated port discovery and environment variable support.
MCP Tools (12 Tools)
| Tool | Description | Parameters |
|---|---|---|
| atas_status | Returns bridge connectivity status, symbol, portfolio account, tick size, activation state, and active port. | None |
| atas_quote | Live quote snapshot: last price, best bid and ask with volumes, DOM cumulative volume (order flow imbalance), spread, and tick size. | None |
| atas_dom | Full order book depth (DOM): sorted bids (highest first) and asks (lowest first) with exact price and size. | levels (int, default: 15) |
| atas_candles | Historical bars (up to 2000 candles) for the chart: open, high, low, close, volume, delta, timestamp, and the current forming candle. | None |
| atas_position | Current open position details: net volume, average entry price, direction (Buy/Sell), open PnL, and closed PnL. | None |
| atas_orders | Working orders: ID, direction, order type, price, trigger price, executed volume, remaining volume, and order state. | None |
| atas_trades | Execution log (fills) completed during the active session. | None |
| atas_snapshot | Consolidates status, quote, DOM, candles, orders, position, and trades in a single call. | None |
| atas_place_order | Places an order through ATAS. Prices are automatically rounded and snapped to instrument tick size. | direction ("buy"/"sell"), order_type ("limit"/"stop"/"market"/"stoplimit"), qty (float), price (optional float), trigger_price (optional float), comment (optional string) |
| atas_cancel_order | Cancels an open working order by its unique ID. | order_id (string) |
| atas_close_position | Closes (flattens) the current position using an opposing market order for the full or partial volume. | volume (optional float), direction (optional string) |
| atas_bridge_log | Retrieves recent diagnostic logs from the C# bridge inside ATAS for debugging. | None |
HTTP REST and SSE Endpoints
The C# addon serves the following endpoints locally at http://127.0.0.1:8787:
| Endpoint | Method | Description |
|---|---|---|
| /api/health | GET | Health check ({"ok":true,"id":"atas-mcp-bridge","version":"1.0.0"}). |
| /api/status | GET | Metadata: platform version, instrument, security code, portfolio, and tick size. |
| /api/quote | GET | Live ticker, best bid/ask, and cumulative order book imbalance. |
| /api/dom | GET | Full depth of market book snapshot. |
| /api/candles | GET | Array of completed candles plus current active bar. |
| /api/orders | GET | List of working orders. |
| /api/position | GET | Calculated net position and session PnL. |
| /api/trades | GET | Session trade executions (fills). |
| /api/snapshot | GET | All-in-one consolidated payload. |
| /api/log | GET | Diagnostic log buffer. |
| /api/order | POST | Submits a new order ({"direction":"buy","type":"limit","qty":1,"price":22000.25}). |
| /api/order/cancel | POST | Cancels an existing order ({"id":"<order_id>"}). |
| /api/position/close | POST | Flattens the open position ({}). |
| /api/stream | GET (SSE) | Real-time Server-Sent Events: quote (200ms throttle), dom (500ms throttle), position (1000ms throttle), orderSent, orderFailed, orderCancelSent, flattenSent. |
Prerequisites
- Operating System: Windows 10 / 11 (x64)
- Platform: ATAS Platform (7.x) or ATAS X (8.x) installed
- .NET SDK: .NET 8 SDK or higher (
winget install Microsoft.DotNet.SDK.8ordotnet --version) - Python: Python 3.10 or higher with pip
Installation and Quickstart
1. Clone the repository and install dependencies
git clone https://github.com/Ax3lsk3r3/atas-mcp.git
cd atas-mcp
pip install -r requirements.txt
Optionally install as an editable package so the atas-mcp CLI command is globally available:
pip install -e .
2. Compile and deploy the C# Addon
Run the build script:
build.bat
The script compiles the project in Release mode and copies ATAS.McpBridge.dll to both ATAS strategy folders:
%APPDATA%\ATAS\Strategies\(ATAS Platform 7.x)%APPDATA%\ATAS X\Strategies\(ATAS X 8.x)
3. Attach the Strategy in ATAS
- Launch ATAS (or ATAS X).
- Open a chart for the instrument you want to trade (e.g. NQ, ES, BTCUSDT, EURUSD).
- Right-click the chart -> select Indicators (or Add Indicator).
- Search for MCP Bridge and add it to the chart.
- In the strategy properties panel:
- Check the
IsActivatedcheckbox. - Select your portfolio / account (simulation or demo accounts recommended).
- Check the
- Verify in your web browser:
- Navigate to
http://127.0.0.1:8787/api/health - Expected output:
{"ok":true,"id":"atas-mcp-bridge","version":"1.0.0"}
- Navigate to
4. Run the Automated Smoke Test
Verify the Python client against a local mock bridge without launching ATAS:
python test_client.py
All 13 automated tests should pass.
5. Start the MCP Server
The server supports two primary modes:
Mode A: Stdio (for local desktop IDEs and CLIs):
start_mcp.bat
# or directly:
python server.py
# or if installed via pip:
atas-mcp
Mode B: Server-Sent Events (SSE) (for web applications, remote environments, cloud agents):
start_mcp_sse.bat
# or directly:
python server.py --transport sse --host 127.0.0.1 --port 8000
# or with Docker:
docker compose up -d
The SSE endpoint will be available at http://127.0.0.1:8000/sse for web chat UIs (LibreChat, Open WebUI, AnythingLLM) and remote agent runners (OpenClaw, LangChain, CrewAI, AutoGen).
Client Integration Examples
Detailed setup guides for all supported clients are provided in mcp-config-examples.md.
OpenCode
Add to ~/.config/opencode/config.json or project opencode.json:
{
"mcp": {
"atas": {
"type": "stdio",
"command": "python",
"args": ["<PATH_TO_ATAS_MCP>/server.py"]
}
}
}
Qwen Code
Run via CLI:
qwen mcp add atas python "<PATH_TO_ATAS_MCP>/server.py"
Kiro (CLI & IDE)
Run via CLI:
kiro mcp add atas python "<PATH_TO_ATAS_MCP>/server.py"
Claude Code (CLI)
Run via CLI:
claude mcp add atas -- python "<PATH_TO_ATAS_MCP>/server.py"
Google Antigravity (AGY)
Add to %USERPROFILE%\.gemini\config\mcp_config.json:
{
"mcpServers": {
"atas": {
"command": "python",
"args": ["<PATH_TO_ATAS_MCP>/server.py"]
}
}
}
Cursor
Add to %USERPROFILE%\.cursor\mcp.json:
{
"mcpServers": {
"atas": {
"command": "python",
"args": ["<PATH_TO_ATAS_MCP>/server.py"]
}
}
}
Claude Desktop
Add to %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"atas": {
"command": "python",
"args": ["<PATH_TO_ATAS_MCP>\\server.py"],
"cwd": "<PATH_TO_ATAS_MCP>"
}
}
}
Technical Details
- ATAS 7.x and 8.x Compatibility:
- Targets .NET 8, which runs natively on ATAS 7.x and forwards cleanly into ATAS X .NET 10 cross-platform runtime.
- Uses
IndicatorCandlefor full access to volume and delta statistics. - Price rounding respec
Truncated for display — read the full file on GitHub.
Related Skills
taste-skill
116.8kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
112.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
81.9k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
79.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
