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]