APIBox MCP server

Let AI assistants and agents use the 394 APIBox APIs. The MCP server runs on the same infrastructure as the REST API, uses your API key and the same monthly quota.

Endpoint and authentication

Transport: Streamable HTTP (MCP protocol versions 2024-11-05 to 2025-11-25). Send your API key with every request, as for the REST API:

URL: https://apibox.io.vn/mcp
Authorization: Bearer YOUR_API_KEY
# or
X-API-Key: YOUR_API_KEY

No key, or an unknown / revoked key, returns 401. Create a free key in the dashboard (Free plan: 1,000 requests / month). Keep the key out of shared repositories: use the environment variables or input prompts shown below.

Tools

Instead of one tool per API (about 394 tools would not fit in a model’s context), the server exposes three tools that cover every API:

ToolWhat it doesQuota
search_apisFind APIs by keyword (English or Vietnamese, accents optional) and/or category. Returns the API slugs.Free
get_apiParameters, method, description and a real example of one API.Free
call_apiCall any API with {"api": "<slug>", "params": {…}}. Returns JSON, text or an image.1 request

Each call_api call counts as exactly one request of your monthly quota, like a REST call, and the per-minute limit of your plan applies. search_apis and get_api do not use the quota. When the quota is used up, call_api returns an error saying so, with the link to upgrade your plan; the quota resets on the 1st of every month (UTC).

Files: pass them as base64 in <field>_base64 (for example file_base64, up to 8 MB per message) or give a public url when the API accepts one. Image results come back as MCP images, other files as base64 resources (up to 5 MB).

Set up your client

Claude Code

Run once in a terminal (add --scope user to use it in every project):

claude mcp add --transport http apibox https://apibox.io.vn/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Claude Desktop

Settings → Developer → Edit config, then add to claude_desktop_config.json and restart Claude. The mcp-remote bridge (Node.js 18+) connects the desktop app to the HTTP server with your key:

{
  "mcpServers": {
    "apibox": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://apibox.io.vn/mcp",
        "--header",
        "Authorization:${APIBOX_AUTH}"
      ],
      "env": {
        "APIBOX_AUTH": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "apibox": {
      "url": "https://apibox.io.vn/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

VS Code (GitHub Copilot)

Add to .vscode/mcp.json. VS Code asks for the key once and stores it securely:

{
  "inputs": [
    {
      "type": "promptString",
      "id": "apibox-key",
      "description": "APIBox API key (abx_...)",
      "password": true
    }
  ],
  "servers": {
    "apibox": {
      "type": "http",
      "url": "https://apibox.io.vn/mcp",
      "headers": {
        "Authorization": "Bearer ${input:apibox-key}"
      }
    }
  }
}

MCP Inspector

Start the inspector, choose transport Streamable HTTP, URL https://apibox.io.vn/mcp, and add the header Authorization: Bearer YOUR_API_KEY:

npx @modelcontextprotocol/inspector

Any HTTP client

The server answers plain JSON-RPC 2.0 over HTTP POST, so you can test it without an MCP client:

curl https://apibox.io.vn/mcp \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"call_api","arguments":{"api":"uuid","params":{"count":2}}}}'

Other clients that support remote MCP servers over Streamable HTTP with custom headers (Windsurf, Cline, Zed, Continue…) use the same URL and header. Clients that only accept OAuth sign-in cannot connect yet.

Things to ask

  • Generate a VietQR code for 150,000 VND to account 0123456789 at Vietcombank.
  • Convert https://example.com to Markdown and summarise it.
  • Check the SPF, DKIM and DMARC records of my domain.
  • Tính lương net từ lương gross 25 triệu ở Hà Nội.
  • Give me 5 UUID v7 identifiers.

Machine-readable files