We ship official MCP (Model Context Protocol) servers for every core service. Claude Desktop, Cursor, Windsurf, Continue, and any MCP-aware AI tool can call XHuoAPI APIs directly — no more pasting cURL commands; the AI assistant picks the right endpoint, passes parameters, and parses results.Documentation Index
Fetch the complete documentation index at: https://docs.xhuoapi.ai/llms.txt
Use this file to discover all available pages before exploring further.
When to use MCP
✅ Inside IDE / desktop AI
You want Claude / Cursor to generate images, search the web, transcode video for you
✅ Agent / workflow
Expose XHuoAPI as a toolset to an AI agent
❌ Web / mobile production
Use the REST API directly — more flexible
❌ Mass inference
Call api.xhuoapi.ai directly
All MCP Servers
Midjourney
AI image generation
Seedream
ByteDance image
Sora
OpenAI video
Veo
Google video
Luma
Luma Dream Machine
Seedance
ByteDance video
Suno
AI music
Serp
Google web search
ShortURL
URL shortener
Prerequisites
- An API Token (see Authentication)
- Python 3.10+ (or
pipx/uvx) - The MCP config file of your AI tool
Claude Desktop
Edit~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Cursor / Windsurf
In Cursor:Settings → Tools & Integrations → Add new MCP server, or edit ~/.cursor/mcp.json:
mcp.json format.
HTTP Transport
Every server supports bothstdio (default) and streamable-http:
http://your-host:8000/mcp.
pip Installation
If you don’t wantuvx:
Billing
Calls made via MCP tools are calls to the XHuoAPI API — same billing rules apply. The MCP server itself is free; your token gets charged normally. See Pricing.Troubleshooting
- AI doesn’t see tools: check MCP server logs (Claude Desktop:
~/Library/Logs/Claude/); confirm the token isn’t a typo uvxnot found:pip install uv, or use plainpip install- HTTP rejected: check firewall; listen on
0.0.0.0, not127.0.0.1 - Behind a proxy: set
HTTPS_PROXYenv var

