mcp-tradovate
MCP server for the Tradovate platform
claude mcp add --transport stdio 0xjmp-mcp-tradovate go run ./cmd/mcp-tradovate \ --env TRADOVATE_CID="Client ID" \ --env TRADOVATE_SEC="Client Secret" \ --env TRADOVATE_APP_ID="Tradovate App ID" \ --env TRADOVATE_PASSWORD="Tradovate password" \ --env TRADOVATE_USERNAME="Tradovate username" \ --env TRADOVATE_APP_VERSION="Tradovate App Version"
How to use
This MCP server provides a Tradovate integration for Claude Desktop, enabling an AI assistant to manage Tradovate trading accounts through natural language interactions. It exposes tools for authentication, account management, trading operations, and market data, allowing you to authenticate with Tradovate, view accounts and positions, manage risk settings, place and cancel orders, view fills, and fetch real-time or historical market data. Typical workflows include connecting to Tradovate via the authenticate tool, listing accounts with get_accounts, adjusting risk via set_risk_limits, submitting trades with place_order, and pulling live or historical market data with get_market_data and get_historical_data. The server is designed to work with Claude Desktop environments where these tools can be invoked by natural language prompts. To use it, ensure your Tradovate credentials are provided in the environment configuration and then run the server; the tools will be available to handle requests from your AI assistant.
How to install
Prerequisites:
- Go 1.18+ installed on your machine
- Git installed
- Tradovate developer credentials (username, password, app id/version, client id/secret)
Installation steps:
-
Clone the repository: git clone https://github.com/0xjmp/mcp-tradovate.git cd mcp-tradovate
-
Install dependencies and build: go mod download go build ./cmd/mcp-tradovate
-
Prepare environment variables (recommended): Create a .env file in the project root with Tradovate credentials: TRADOVATE_USERNAME=your_username TRADOVATE_PASSWORD=your_password TRADOVATE_APP_ID=your_app_id TRADOVATE_APP_VERSION=your_app_version TRADOVATE_CID=your_client_id TRADOVATE_SEC=your_client_secret
-
Run the server: ./mcp-tradovate
Notes:
- If you prefer not to run directly, you can use Go run without building: go run ./cmd/mcp-tradovate
- Ensure network access to Tradovate APIs and that credentials are kept secure.
Additional notes
Tips and common issues:
- Ensure your .env or environment variables are loaded before starting the server; the Tradovate client requires these credentials for authentication.
- If you encounter authentication failures, double-check credentials and that API access is enabled in Tradovate.
- For troubleshooting, verify internet connectivity, Tradovate API status, and that firewall rules allow outbound connections to Tradovate services.
- When deploying, consider using a secure secret management system for credentials and avoid committing .env files to version control.
Related MCP Servers
go
deprecated: use the official MCP sdk! (https://github.com/modelcontextprotocol/go-sdk) / ⚡ A type-safe, intuitive Go SDK for building MCP servers with ease and confidence
go-utcp
Official Go implementation of the UTCP
sandbox
A Model Context Protocol (MCP) server that enables LLMs to run ANY code safely in isolated Docker containers.
mcp-zero
Model Context Protocol (MCP) server for go-zero framework - Generate APIs, RPC services, and models with AI assistance.
miro
MCP server for controlling Miro whiteboards with AI assistants
mcp4go
A comprehensive Go SDK for the Model Context Protocol (MCP) - simplifying AI application development by abstracting away protocol complexities.