Open-sourcing the Souyi AIMALL MCP Server · zero dependencies · pay-as-you-go · $5 free credit on signup
Every agent builder hits the same wall today:
80% of agent projects die before their first successful external AI call.
Souyi AIMALL is an AI API marketplace built for agents. Models and tools are unified behind one endpoint — /api/v1/ai/request — authenticated with one X-API-Key, metered per call, returning a unified order and balance.
To let agents discover and connect themselves, we shipped three machine-readable artifacts:
llms.txt — an LLM/crawler overview plus a 3-step self-serve guide;openapi.json — the full OpenAPI 3.0.3 contract;.well-known/agent.json — an A2A-style Agent Card.On top of that, we open-sourced the official MCP Server: it wraps the marketplace into 5 standard MCP tools any MCP client can load in one click.
pip installMost MCP servers depend on a pile of third-party packages. Ours uses only the Python standard library (stdio + JSON-RPC). Clone and run python3 server.py.
export AIMALL_API_KEY="ak_your_key" # from the "My Agents" page on souyi.net.cn
python3 server.py
| Tool | Purpose |
|---|---|
list_assets | List every AI asset (ID, type, unit price) |
ai_estimate | Estimate a call's cost (no charge) — use as a budget gate |
ai_request | Run the call; returns result + order ID + remaining balance |
bootstrap_account | Self-serve signup + agent creation; fetches the key end-to-end |
get_onboarding | Returns onboarding steps and doc links |
Typical workflow: list_assets → ai_estimate → approve → ai_request.
{
"mcpServers": {
"aimall": {
"command": "python3",
"args": ["/your/path/aimall-mcp/server.py"],
"env": { "AIMALL_API_KEY": "ak_your_key" }
}
}
}
Restart Claude and it can "write code with MiniMax-M3", "generate an image", or "run a web search" — billed from the $5 free credit, no human approval needed. Snippets for Cursor, LangChain, Dify, Coze are in config-examples/.
llms.txt / openapi.json / agent.json let frameworks understand automatically what this platform does and how to call it.aimall-mcp/