BJLG-92/oanda-mcp-server
3.1
If you are the rightful owner of oanda-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Oanda MCP Server is a REST API server designed for executing trading operations on the Oanda platform, utilizing the Model Context Protocol (MCP) for enhanced compatibility and deployment on Railway.
Oanda MCP Server
A REST API server for Oanda trading operations, deployed on Railway and compatible with Model Context Protocol (MCP).
Features
- Account information retrieval
- Position management
- Order placement (market and limit orders)
- Current price data
- Historical data
- Order cancellation
API Endpoints
GET /
- Health checkGET /account
- Get account informationGET /positions
- Get current positionsGET /orders
- Get pending ordersGET /price/{instrument}
- Get current price for instrumentGET /historical/{instrument}
- Get historical dataPOST /order/market
- Place market orderPOST /order/limit
- Place limit orderDELETE /order/{order_id}
- Cancel orderPOST /position/close/{instrument}
- Close position
Environment Variables
OANDA_API_KEY
- Your Oanda API keyOANDA_ACCOUNT_ID
- Your Oanda account IDOANDA_ENVIRONMENT
- 'practice' or 'live'PORT
- Server port (set automatically by Railway)