SajjadKiani/wallex-mcp-server
If you are the rightful owner of wallex-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.
Wallex MCP Server is a model context protocol server designed to facilitate interactions with the Wallex REST API using FastMCP.
Wallex MCP Server
development
fastmcp dev wallex_mcp/server.py
production
mcpo --port 8001 --api-key "wallex-local" -- fastmcp run wallex_mcp/server.py
structure
wallex-mcp/
โโโ wallex_mcp/
โ โโโ __init__.py
โ โโโ server.py # FastMCP instantiation & run()
โ โโโ config.py # Env var loader
โ โโโ client.py # HTTPX wrapper
โ โโโ schemas.py # Pydantic models
โ โโโ tools/
โ โ โโโ get_balance.py # @mcp.tool()
โ โ โโโ place_order.py
โ โ โโโ cancel_order.py
โ โโโ resources/
โ โโโ market_data.py # @mcp.resource("wallex://market/{symbol}")
โ โโโ order_status.py # @mcp.resource("wallex://orders/{id}")
โ โโโ instruments.py
โโโ requirements.txt
โโโ Dockerfile
โโโ README.md # Project overview + Quickstart
Workflow
flowchart LR
subgraph MCP Server
A[FastMCP Instance] --> B[Tool: place_order]
A --> C[Resource: get_balance]
A --> D[Resource: market_data]
end
B --> E[wallex_mcp.client] --> F[Wallex REST API]
C --> E
D --> E
F --> G[JSON Response] --> H[wallex_mcp.schemas] --> B/C/D return
B/C/D return --> A --> I[LLM]