← Back to Skills Marketplace
psyb0t

mt5-httpapi

by Ciprian Mandache · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ Security Clean
1607
Downloads
4
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install mt5-httpapi
Description
MetaTrader 5 trading via REST API — get market data, place/modify/close orders, manage positions, pull history. Use when you need to interact with forex/cryp...
Usage Guidance
This skill appears to do what it says: controlling MetaTrader 5 via a local HTTP API. Before installing, note: (1) you will need to host an MT5 instance (VM + Docker) and supply broker credentials and an API token — these are sensitive, so store them securely; (2) the skill/docs instruct copying Cloudflare tunnel credentials if you want public access — that copies sensitive files from your home directory and should only be done if you understand the exposure; (3) the registry metadata omitted declaring MT5_API_URL/MT5_API_TOKEN even though SKILL.md requires them — verify env vars are configured; (4) the API can run without auth if the token file is missing — do not expose an unauthenticated trading API; (5) because the agent can invoke the skill autonomously, restrict or require confirmation for any actions that place/modify/close trades to avoid accidental financial loss.
Capability Analysis
Type: OpenClaw Skill Name: mt5-httpapi Version: 1.2.0 The skill bundle provides documentation and instructions for an AI agent to interact with a MetaTrader 5 REST API wrapper (mt5-httpapi). The SKILL.md and setup.md files describe standard trading operations, environment configuration, and authentication via bearer tokens. While the skill handles sensitive financial credentials and facilitates market transactions, the behavior is transparently aligned with its stated purpose, and there is no evidence of malicious intent, data exfiltration, or harmful prompt injection.
Capability Tags
cryptorequires-oauth-token
Capability Assessment
Purpose & Capability
Name/description match the instructions: the SKILL.md documents a REST interface to an MT5 instance and the references/setup.md explains how to run that instance and supply broker credentials. All required artifacts (API URL, optional token, broker credentials, MT5 installer) are coherent with a trading API.
Instruction Scope
SKILL.md expects environment variables (MT5_API_URL and optionally MT5_API_TOKEN) and uses curl to call API endpoints — fine for its purpose — but the registry metadata did not declare these envs. references/setup.md also instructs copying Cloudflare credentials from ~/.cloudflared and placing broker login/passwords in config/accounts.json. Those instructions involve handling sensitive secrets and exposing the API publicly; the docs also say the API can run without auth if the token file is missing (insecure).
Install Mechanism
This is an instruction-only skill (no install spec or code executed by the agent). Setup instructs cloning a GitHub repo and using Docker/KVM to provision a Windows VM and MT5; those are normal user-run operations and not performed by the agent itself. No arbitrary remote binaries are installed by the platform on behalf of the agent.
Credentials
The skill requires sensitive data for its function: broker login/password and an API token (and optionally Cloudflare tunnel credentials for public exposure). These are proportionate to a trading API, but the registry omitted declaring MT5_API_URL/MT5_API_TOKEN. Be cautious about where you store the broker credentials and cloudflared creds and avoid running the API without an auth token.
Persistence & Privilege
always:false and normal agent invocation are used. The skill does not request elevated platform privileges or modify other skills. However, because it enables automated trading, allow-listing or strict confirmation controls on autonomous agent actions are recommended to prevent unintentional trades.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install mt5-httpapi
  3. After installation, invoke the skill by name or use /mt5-httpapi
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.0
- Added support for optional bearer token authentication via the MT5_API_TOKEN environment variable. - Documentation updated to show how to use the Authorization header for all endpoints if server authentication is enabled. - Described the behavior when no token is set or required; requests go through only if the server does not require a token. - Added a mention of the new /terminal/restart endpoint. - All example curl commands now include Authorization header usage where appropriate. - Compatibility section updated to mention MT5_API_TOKEN as optional.
v1.1.0
Initial public release. - Added API reference covering health checks, account info, symbols, orders, positions, and history endpoints. - Included detailed field/key descriptions for safer pre-trade checks and parameter usage. - Provided concise setup instructions and example curl commands for all major endpoints. - Documented example position sizing calculations and helpful trading tips. - Added dedicated [references/setup.md] file for installation details.
v1.0.0
mt5-httpapi 1.0.0 initial release - Provides REST API access to MetaTrader 5 for market data retrieval and trading operations. - Supports getting account info, symbols, terminal state, market history, open positions, and more. - Enables placing, modifying, and closing orders on forex/crypto/stock markets via HTTP/JSON. - Designed for easy integration using curl or similar tools — no MT5 libraries or Windows dependencies required. - Includes environment variable setup instructions and clear API documentation.
Metadata
Slug mt5-httpapi
Version 1.2.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 3
Frequently Asked Questions

What is mt5-httpapi?

MetaTrader 5 trading via REST API — get market data, place/modify/close orders, manage positions, pull history. Use when you need to interact with forex/cryp... It is an AI Agent Skill for Claude Code / OpenClaw, with 1607 downloads so far.

How do I install mt5-httpapi?

Run "/install mt5-httpapi" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is mt5-httpapi free?

Yes, mt5-httpapi is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does mt5-httpapi support?

mt5-httpapi is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created mt5-httpapi?

It is built and maintained by Ciprian Mandache (@psyb0t); the current version is v1.2.0.

💬 Comments