{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name":"com.wanapis/wanapis-mcp","title":"WanAPIs","description":"WanAPIs 统一 AI API 网关与多媒体生成 MCP 服务：一个 Key 接入 180+ 文本、生图与视频模型（Claude、GPT、Gemini、DeepSeek、字节豆包 Seedream 5.5、Seedance 2.5、MiniMax H3、Veo 3.1、Kling v3 等），支持生成前实时估价。","version":"0.2.0","protocolVersion":"2025-06-18","websiteUrl":"https://wanapis.com","repository":{"url":"https://github.com/ZXYZZP/wanapis-mcp","source":"github"},"icons":[{"src":"https://wanapis.com/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://api.wanapis.com/console/token?lng=zh","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://wanapis.com/docs","agentsPageUrl":"https://wanapis.com/agents","openapiUrl":"https://wanapis.com/openapi.json","llmsTxtUrl":"https://wanapis.com/llms.txt","llmsFullTxtUrl":"https://wanapis.com/llms-full.txt","pricingUrl":"https://wanapis.com/pricing.md","aboutUrl":"https://wanapis.com/about.md","skillUrl":"https://wanapis.com/SKILL.md","skillPackageUrl":"https://wanapis.com/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"}]}