Vigiar
1
0
Derivar
Você já tinha feito uma derivação do repositório algoforge-mcp-server, anteriormente
0
MCP server for MQL5 Algo Forge — 12 tools for managing repositories, commits, branches, PRs, issues, and releases via the Forgejo REST API
Procurar um ficheiro
Ficheiros do repositório (o cometimento mais recente em primeiro lugar)
Nome do ficheiro Mensagem do último cometimento Data do último cometimento
2026-06-28 08:19:33 +00:00
handlers Add handlers/search.py — public repo search (Explore) 2026-06-28 08:19:33 +00:00
.gitignore Initial commit 2026-06-28 08:15:29 +00:00
config.json Add config.json — template (replace token before use) 2026-06-28 08:18:09 +00:00
forgeclient.py Add forgeclient.py — authenticated httpx client and API helpers 2026-06-28 08:15:59 +00:00
README.md Update README.md with full documentation 2026-06-28 08:18:26 +00:00
requirements.txt Add requirements.txt 2026-06-28 08:15:35 +00:00
server.py Add server.py — FastMCP entry point with all 12 tools 2026-06-28 08:18:05 +00:00
SKILL.md Add SKILL.md — OpenClaw skill definition for Algo Forge dev workflows 2026-06-28 08:18:44 +00:00

Algo Forge MCP Server

MCP (Model Context Protocol) server for MQL5 Algo Forge. Lets AI agents manage your MQL5 code repositories directly through 12 tools — create repos, commit .mq5/.mqh files, branch, open pull requests, file issues, tag releases, and explore public projects.

Algo Forge is a Git platform, so the server talks to its standard REST API over HTTPS. There is no terminal, no COM interface, and nothing Windows-specific — it runs anywhere Python runs.

Prerequisites

  • An MQL5 account with access to Algo Forge
  • A personal access token (Algo Forge → Settings → Applications → Generate New Token)
  • Python 3.10+

Setup

cd algoforge-mcp-server
pip install -r requirements.txt

Edit config.json with your token:

{
  "base_url": "https://forge.mql5.io",
  "token": "your_personal_access_token",
  "timeout": 30
}

The token can also be supplied via the FORGE_TOKEN environment variable instead of the config file.

Run

python server.py

This starts the MCP server on stdio transport.

Claude Desktop Configuration

Add to your Claude Desktop claude_desktop_config.json:

{
  "mcpServers": {
    "algoforge": {
      "command": "python",
      "args": ["C:/path/to/algoforge-mcp-server/server.py"]
    }
  }
}

Claude Code Configuration

claude mcp add algoforge python C:/path/to/algoforge-mcp-server/server.py

Tools

Tool Description
get_me Authenticated user — login, name, profile URL
list_repos List your repositories
create_repo Create a new repository
get_file Read a file's text content
commit_file Create or update a file with a commit
list_branches List branches and their latest commits
create_branch Create a new branch
list_issues List issues (open/closed/all)
create_issue Open a new issue
open_pull_request Open a PR from one branch into another
create_release Tag a version with release notes
search_repos Search public projects (Explore)

Testing

Use the MCP Inspector for interactive testing:

npx @modelcontextprotocol/inspector

Select stdio transport, command: python server.py

Security

The personal access token grants write access to your Algo Forge account. Keep config.json out of version control, and revoke/regenerate the token if it is ever exposed.