Tradovate
About
Integrates with the Tradovate trading platform API to enable futures contract management, position monitoring, and order execution with real-time market data and offline capabilities.
Details
- Author
- alexanimal
- Repository
- alexanimal/tradovate-mcp-server
- GitHub stars
- 1
- Downloads
- 175
- License
- MIT License
- Categories
- Productivity, Design, Developer Tools, AI, Security, API, Infrastructure, Knowledge Base, Other
Jump to
- Authentication with Tradovate API
- Real-time data fetching with caching
- Tools for contract details, position management, order placement, and more
- Fallback to simulated data when API is unavailable
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
TradovateCommand (node, npx, python, etc.)npxArguments-
Argument 1
-y -
Argument 2
@highlight/mcp-server
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Start the server:
npm start
Or use with the MCP Inspector:
npm run inspector
- /auth/accessTokenRequest - Get access token
- /auth/renewAccessToken - Renew access token
get_contract_details
Get details for a specific contract by symbol.
list_positions
List positions for an account.
place_order
Place a new order.
modify_order
Modify an existing order.
cancel_order
Cancel an existing order.
liquidate_position
Liquidate a position.
get_account_summary
Get account summary information.
get_market_data
Get market data (quotes, DOM, charts).
The server provides the following tools:
1. get_contract_details - Get details for a specific contract by symbol
2. list_positions - List positions for an account
3. place_order - Place a new order
4. modify_order - Modify an existing order
5. cancel_order - Cancel an existing order
6. liquidate_position - Liquidate a position
7. get_account_summary - Get account summary information
8. get_market_data - Get market data (quotes, DOM, charts)
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"tradovate": {
"env": {},
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
}
}
Linux
{
"env": [],
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
Macos
{
"env": [],
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
Windows
{
"env": [],
"args": [
"/c",
"npx",
"-y",
"@highlight/mcp-server"
],
"command": "cmd"
}
Tradovate MCP Server
A Model Context Protocol (MCP) server for interacting with the Tradovate API. This server provides tools for managing contracts, positions, orders, and accounts in Tradovate.
Features
- Authentication with Tradovate API
- Real-time data fetching with caching
- Tools for contract details, position management, order placement, and more
- Fallback to simulated data when API is unavailable
Installation
1. Clone the repository
2. Install dependencies:
npm install
3. Create a .env file with your Tradovate credentials:
TRADOVATE_API_ENVIRONMENT=demo
TRADOVATE_USERNAME=your_username
TRADOVATE_PASSWORD=your_password
TRADOVATE_APP_ID=Sample App
TRADOVATE_APP_VERSION=1.0
TRADOVATE_CID=your_cid
TRADOVATE_SEC=your_sec
Usage
Start the server:
npm start
Or use with the MCP Inspector:
npm run inspector
Development
Project Structure
- src/index.ts - Main server entry point
- src/auth.ts - Authentication functions
- src/data.ts - Data fetching and caching
- src/tools.ts - Tool handlers for MCP
- src/types.ts - TypeScript type definitions
- tests/ - Test files
Building
npm run build
Testing
Run tests:
npm test
Run tests with coverage:
npm run test:coverage
Generate coverage badge:
npm run coverage:badge
Available Tools
The server provides the following tools:
1. get_contract_details - Get details for a specific contract by symbol
2. list_positions - List positions for an account
3. place_order - Place a new order
4. modify_order - Modify an existing order
5. cancel_order - Cancel an existing order
6. liquidate_position - Liquidate a position
7. get_account_summary - Get account summary information
8. get_market_data - Get market data (quotes, DOM, charts)
API Endpoints
The server interacts with the following Tradovate API endpoints:
Authentication
- /auth/accessTokenRequest - Get access token
- /auth/renewAccessToken - Renew access token
Contracts
- /contract/list - List all contracts
- /contract/find - Find a specific contract
Positions
- /position/list - List all positions
Orders
- /order/list - List all orders
- /order/placeOrder - Place a new order
- /order/modifyOrder - Modify an existing order
- /order/cancelOrder - Cancel an existing order
- /order/liquidatePosition - Liquidate a position
Accounts
- /account/list - List all accounts
- /account/find - Find a specific account
- /cashBalance/getCashBalanceSnapshot - Get cash balance for an account
Market Data
- /md/getQuote - Get quote data
- /md/getDOM - Get depth of market data
- /md/getChart - Get chart data
License
MIT License
This project is licensed under the MIT License - see the LICENSE file for details.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





