MCP server: One MCP server.

AIMALL (搜蚁智选)

@sukyboorMCP server · External

Pay-per-use API marketplace for AI agents: LLMs, image, TTS, search. Free trial, x402.

LLM access & routingv1.1.0MITPython
Freeno charge per call

One address for any MCP client. No sign-in needed on this server.

What it does

3 read2 other

Grouped by tool name. At most: moves money, runs code or commands, deletes data, or sends messages for you.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Tools

5 · grouped by tool name · checked 9 Oct 2026

Read · 3Look things up

  • list_assets
  • ai_estimate
  • get_onboarding

Other · 2Neither hinted nor named

  • ai_request
  • bootstrap_account
Try it in the Inspector
README3 min read

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

Streamable HTTP endpoint:

json
{
  "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

bash
curl -O https://souyi.net.cn/mcp/server.py   # or clone this repo
python3 server.py                            # Python 3.9+, stdlib only
json
{
  "mcpServers": {
    "aimall": {
      "command": "python3",
      "args": ["/absolute/path/to/server.py"],
      "env": { "AIMALL_API_KEY": "ak_...", "AIMALL_BASE_URL": "https://souyi.net.cn" }
    }
  }
}

Tools

ToolAuthWhat it does
list_assetsnoneList available models/tools with asset_id and unit price
ai_estimatenoneEstimate a call's cost in USD without charging — a budget gate before you commit
ai_requestkeyCall an asset; returns result, order_id, cost_usd, balance_remaining, latency_ms
bootstrap_accountnoneSelf-register and create an agent; returns a ready-to-use ak_... key
get_onboardingnoneOnboarding 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:

json
{"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_estimate is 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:

FilePurpose
https://souyi.net.cn/llms.txtOverview for LLMs
https://souyi.net.cn/llms-full.txtFull catalogue, endpoints, pricing, curl examples
https://souyi.net.cn/openapi.jsonOpenAPI 3 spec
https://souyi.net.cn/.well-known/agent.jsonAgent card (protocols, auth, capabilities)
SKILL.mdCapability 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.

bash
curl -O https://souyi.net.cn/SKILL.md

Quick check that it works

bash
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.


x402 payment (optional)

No wallet top-up needed: call with no API key → server returns a 402 quote → pay exactly that Base USDC → resend with the tx hash. Zero platform fee.


License

MIT — see LICENSE.

Similar modules

Browse LLM access & routing