mcpField
O
Oanda MCP Server

Oanda MCP Server

Local
github.com/BJLG-92Finance3Updated 74w ago

About Oanda MCP Server

Oanda MCP Server exposes Oanda trading and market-data operations through a REST API. It is for clients that need to retrieve account and price information or manage orders and positions.

Key features

  1. 01Retrieve account information
  2. 02View positions and pending orders
  3. 03Get current and historical prices
  4. 04Place market and limit orders
  5. 05Cancel orders and close positions

Use cases

  1. 01Review account and open-position information
  2. 02Check current or historical instrument prices
  3. 03Place or cancel Oanda orders
  4. 04Close an instrument position

MCP support

The REST API server is compatible with Model Context Protocol (MCP), making its Oanda operations available to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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 check
  • GET /account - Get account information
  • GET /positions - Get current positions
  • GET /orders - Get pending orders
  • GET /price/{instrument} - Get current price for instrument
  • GET /historical/{instrument} - Get historical data
  • POST /order/market - Place market order
  • POST /order/limit - Place limit order
  • DELETE /order/{order_id} - Cancel order
  • POST /position/close/{instrument} - Close position

Environment Variables

  • OANDA_API_KEY - Your Oanda API key
  • OANDA_ACCOUNT_ID - Your Oanda account ID
  • OANDA_ENVIRONMENT - 'practice' or 'live'
  • PORT - Server port (set automatically by Railway)

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.