{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name":"com.wanapis/wanapis-mcp","title":"WanAPIs","description":"Unified AI API gateway and media generation MCP server for 180+ LLM, image and video models (Claude, GPT, Gemini, DeepSeek, Seedream 5.5, Seedance 2.5, MiniMax H3, Veo 3.1, Kling v3) with pre-run cost estimation and pay-as-you-go RMB-anchored quota.","version":"0.2.0","protocolVersion":"2025-06-18","websiteUrl":"https://wanapi.ai","repository":{"url":"https://github.com/ZXYZZP/wanapis-mcp","source":"github"},"icons":[{"src":"https://wanapi.ai/logo.png","mimeType":"image/png"}],"packages":[{"registryType":"npm","identifier":"@wanapis/mcp","transport":{"type":"stdio"},"runtimeHint":"npx","packageArguments":["-y","@wanapis/mcp"],"environmentVariables":[{"name":"WANAPIS_API_KEY","description":"WanAPIs API key (starts with sk-) obtained from the console.","isRequired":true,"isSecret":true},{"name":"WANAPIS_BASE_URL","description":"Optional override for the WanAPIs API gateway base URL.","isRequired":false,"default":"https://api.wanapis.com/v1"}]}],"authentication":{"required":true,"schemes":["bearer"],"bearer":{"header":"Authorization","prefix":"Bearer ","envVar":"WANAPIS_API_KEY","keyUrl":"https://console.wanapi.ai/console/token?lng=en","oauthSupported":false,"notes":"Read-only model & pricing discovery (GET https://api.wanapis.com/api/pricing, /pricing.md, /SKILL.md) requires no API key. Generation and chat endpoints require Authorization: Bearer <WANAPIS_API_KEY>."}},"apiBaseUrl":"https://api.wanapis.com/v1","documentationUrl":"https://wanapi.ai/docs","agentsPageUrl":"https://wanapi.ai/agents","openapiUrl":"https://wanapi.ai/openapi.json","llmsTxtUrl":"https://wanapi.ai/llms.txt","llmsFullTxtUrl":"https://wanapi.ai/llms-full.txt","pricingUrl":"https://wanapi.ai/pricing.md","aboutUrl":"https://wanapi.ai/about.md","skillUrl":"https://wanapi.ai/SKILL.md","skillPackageUrl":"https://wanapi.ai/skills/wanapis-media.zip?v=0.2.0","tools":[{"name":"wanapis_list_models","summary":"Read the gateway media catalog, generation support, parameters, limits and pricing (free).","category":"discover"},{"name":"wanapis_estimate_cost","summary":"Estimate generation cost in RMB-anchored quota and approximate USD from the live pricing feed before running ($0 / free).","category":"discover"},{"name":"wanapis_generate_image","summary":"Generate or edit images via Seedream 5.5 / 5.0 Pro, GPT Image 2, Flux, Nano Banana, Midjourney with normalized parameters.","category":"execute","async":true},{"name":"wanapis_generate_video","summary":"Generate videos via Muse Video (muse-video-ext), Seedance 2.5 / 2.0, MiniMax H3, Veo 3.1, Kling v3, Vidu Q3 with automatic polling or async task return.","category":"execute","async":true},{"name":"wanapis_check_task","summary":"Poll the status and retrieve output URLs of an existing async image or video task ID.","category":"execute"}]}