mcp-server-metatrader-4

mcp-server-metatrader-4 is a server implementation written in TypeScript for the MetaTrader 4 platform. This project enables automation and customization of trading systems, providing developers with a foundation to build their own trading strategies. By using TypeScript, it enhances type safety and development efficiency.

GitHub Stars

0

User Rating

Not Rated

Favorites

0

Views

20

Forks

0

Issues

0

README
MetaTrader 4 Server with Model Context Protocol

This project implements a MetaTrader 4 server integration using the Model Context Protocol (MCP) SDK. It provides a TypeScript-based solution for connecting and interacting with MetaTrader 4 trading platform.

Prerequisites
  • Node.js (v14 or higher)
  • npm (Node Package Manager)
  • MetaTrader 4 platform
  • TypeScript
Installation
  1. Clone the repository:
git clone https://github.com/rafehusain/mcp-server-metatrader-4.git
cd mcp-server-metatrader-4
  1. Install dependencies:
npm install
Inspector
npx @modelcontextprotocol/inspector --cli node ./build/index.js --method tools/list
Project Structure
├── build/           # Compiled JavaScript files
├── tools/          # Utility scripts and tools
├── index.ts        # Main application entry point
├── package.json    # Project dependencies and scripts
└── tsconfig.json   # TypeScript configuration
Development
  1. Build the project:
npm run build
  1. Start the server:
npm start
Dependencies
License

See License

Contributing
  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request
Support

For support, please open an issue in the GitHub repository.