Back to Home
QuantConnect icon

mcp-server

Verified Safe

by QuantConnect

Overview

Serves as a bridge for AIs to interact with the QuantConnect cloud platform, enabling tasks like project updates, strategy writing, backtesting, and live trading deployments.

Installation

Run Command
docker run -i --rm -e QUANTCONNECT_USER_ID='<your_user_id>' -e QUANTCONNECT_API_TOKEN='<your_api_token>' -e AGENT_NAME='MCP Server' --platform linux/amd64 quantconnect/mcp-server

Environment Variables

  • QUANTCONNECT_USER_ID
  • QUANTCONNECT_API_TOKEN
  • AGENT_NAME
  • MCP_TRANSPORT
  • MOUNT_SOURCE_PATH
  • MOUNT_DST_PATH

Security Notes

The server loads sensitive credentials (API token, user ID) from environment variables, which is a good security practice. Input validation for tools is handled by Pydantic models, mitigating common injection risks. The `organization_workspace.py` reads local `config.json` files, which could be a concern if the mounted `MOUNT_DESTINATION` is writable and contains malicious JSON, however, `test_organization_workspace.py` indicates it's typically mounted as read-only, limiting this risk in a Docker environment. No direct `eval` or `exec` of user input was found. The core functionality relies on `httpx` for API calls with robust error handling (`raise_for_status`). Dockerization provides good isolation.

Similar Servers

Stats

Interest Score29
Security Score9
Cost ClassLow
Avg Tokens1000
Stars63
Forks21
Last Update2025-12-19

Tags

QuantConnectAlgorithmic TradingAI IntegrationCloud PlatformTrading Bots