Tradovate MCP Server
Displays code coverage statistics for the project through a badge, showing test coverage percentage for the codebase.
Manages environment variables for storing Tradovate API credentials and configuration.
Used for package management, dependency installation, and running scripts for building, testing, and starting the MCP server.
Displays license information through a badge in the README.
The project is built with TypeScript, providing type definitions for the Tradovate API integration.
Click 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., "@Tradovate MCP Servershow me my current positions"
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.
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
Related MCP server: Alpaca Trading MCP Server
Installation
Clone the repository
Install dependencies:
npm installCreate a
.envfile 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_secUsage
Start the server:
npm startOr use with the MCP Inspector:
npm run inspectorDevelopment
Project Structure
src/index.ts- Main server entry pointsrc/auth.ts- Authentication functionssrc/data.ts- Data fetching and cachingsrc/tools.ts- Tool handlers for MCPsrc/types.ts- TypeScript type definitionstests/- Test files
Building
npm run buildTesting
Run tests:
npm testRun tests with coverage:
npm run test:coverageGenerate coverage badge:
npm run coverage:badgeAvailable Tools
The server provides the following tools:
get_contract_details- Get details for a specific contract by symbollist_positions- List positions for an accountplace_order- Place a new ordermodify_order- Modify an existing ordercancel_order- Cancel an existing orderliquidate_position- Liquidate a positionget_account_summary- Get account summary informationget_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.
This server cannot be deployed
Maintenance
Related MCP Connectors
Model Context Protocol server for todo.vu task management and time tracking.
Model Context Protocol server for Studex tools, notifications, and profile integrations
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA server that implements the Model Context Protocol for Schwab API, allowing access to account information, positions, stock quotes, and order/transaction history designed for integration with Large Language Models.60MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that interfaces with Alpaca trading API, allowing users to manage portfolios, place trades, and access market data through natural language interactions.835MIT
- FlicenseNot gradedqualityDmaintenanceImplements a Model Context Protocol server that connects with Zerodha Kite API, allowing users to buy/sell stocks and retrieve holdings and positions information.1-
- FlicenseBqualityDmaintenanceA Model Context Protocol server that enables users to interact with Polygon.io API for retrieving financial market data including ticker details, quotes, aggregates, market status and news.81-