aimall-mcp
aimall-mcp
Official MCP server for AIMALL / 搜蚁智选 — a pay-per-use API marketplace built for autonomous AI agents.
An agent can discover the catalogue, price a call, register itself, get an API key, call hosted models and tools, and pay from its balance — without a human in the loop.
Agent → list_assets → ai_estimate → bootstrap_account → ai_request → (billed, order_id + balance returned)Two ways to connect
1. Remote (recommended) — no install
Streamable HTTP endpoint:
{
"mcpServers": {
"aimall": {
"url": "https://souyi.net.cn/api/v1/mcp",
"headers": { "X-API-Key": "ak_..." }
}
}
}Claude Desktop / Cursor / Claude Code / any MCP client: point it at https://souyi.net.cn/api/v1/mcp with an X-API-Key header.
2. Local stdio — zero dependencies
curl -O https://souyi.net.cn/mcp/server.py # or clone this repo
python3 server.py # Python 3.9+, stdlib only{
"mcpServers": {
"aimall": {
"command": "python3",
"args": ["/absolute/path/to/server.py"],
"env": { "AIMALL_API_KEY": "ak_...", "AIMALL_BASE_URL": "https://souyi.net.cn" }
}
}
}Tools
Tool | Auth | What it does |
| none | List available models/tools with |
| none | Estimate a call's cost in USD without charging — a budget gate before you commit |
| key | Call an asset; returns result, |
| none | Self-register and create an agent; returns a ready-to-use |
| none | Onboarding steps + links to machine-readable docs |
Only ai_request requires a key. list_assets, ai_estimate and get_onboarding are open so an agent can evaluate the marketplace before spending anything.
Self-serve onboarding (the interesting part)
An agent with no account can bootstrap itself in one tool call:
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bootstrap_account","arguments":{"email":"agent@example.com","password":"secret123","username":"my-agent"}}}Response:
账号已创建。
API Key: ak_xxxxxxxxxxxxxxxx
当前余额: $1.00(注册赠送,可直接调用)No email confirmation, no dashboard, no human. Put that key in X-API-Key and start calling.
Pricing & payment
Registration grants $1 free trial; email verification adds $4.
Billing is per call or per token, deducted from the agent's balance.
ai_estimateis free — price it before you run it.Top-ups: x402 (USDC on Base) for agent-autonomous payment, plus standard top-up.
Machine-readable surfaces
Agents and crawlers should use these instead of the HTML site:
File | Purpose |
Overview for LLMs | |
Full catalogue, endpoints, pricing, curl examples | |
OpenAPI 3 spec | |
Agent card (protocols, auth, capabilities) | |
Capability package — install so an agent knows how to use AIMALL |
SKILL.md
SKILL.md is the highest-leverage file here. Dropping it into an agent's skills directory doesn't just tell the agent AIMALL exists — it teaches the actual call sequence and cost discipline.
curl -O https://souyi.net.cn/SKILL.mdQuick check that it works
curl -s -X POST https://souyi.net.cn/api/v1/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_assets","arguments":{}}}'Supports MCP protocol versions 2025-06-18, 2025-03-26, 2024-11-05 with negotiation.
Links
Platform: https://souyi.net.cn
For agents: https://souyi.net.cn/for-agents.html
License
MIT — see LICENSE.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sukyboor/aimall-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server