SuperAPIAI Directory

spicy-mcp

github.com · AI developer platforms

spicy-mcp is the official local MCP server provided by SpicyAPI, used to let MCP-supporting AI assistants such as Claude Desktop, Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, etc. connect to SpicyAPI. Through one API Key, the assistant can browse the real-time catalog of 200+ image, video, audio, and chat models, compare prices, create generation tasks, and get results. All billable steps will first obtain an exact USD quote and request user confirmation before execution, supporting either a two-step confirmation_token process or automatic approval with a local USD cap. The server runs on the user's own computer, with no self-hosting required.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux · API

About this tool

spicy-mcp is SpicyAPI's official local MCP (Model Context Protocol) server. MCP is an open standard for extending the capabilities of AI assistants; after adding this server, users can use natural language to have their existing AI assistant perform operations such as model selection, file upload, quote confirmation, task creation, and result retrieval.

Purpose: to let Claude Desktop, Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, or any MCP client connect to SpicyAPI and thereby call 200+ image, video, audio, and chat models (such as Seedance, Kling, Wan, MiniMax, Seedream, GPT Image, Suno, etc.). SpicyAPI is described as an AI API without content restrictions, and the platform does not add extra content filtering; what a specific request can generate depends on the selected model, and the catalog indicates which models are uncensored.

Main capabilities: the assistant can browse the real-time model catalog, read the input formats accepted by models, compare prices, upload local files, obtain exact USD quotes, create generation tasks, wait for task completion, and return result links. The server registers 22 tools prefixed with spicyapi_ as well as two resources (spicyapi://docs/index and spicyapi://contract/openapi) and one prompt (spicyapi_generation_workflow). Model input schemas are returned as pure JSON Schema, and presentational and rate card annotations are stripped before reaching the assistant.

Usage: requires Node.js 22.13 or later, and a SpicyAPI API Key (starting with sk-spicy-, shown only once). Create an account at spicyapi.ai/register, create a key on the API keys page, and you can set daily limits, monthly budgets, lifetime limits, allowed models, IP allowlists, and expiration times. All clients run the same stdio server command: npx --yes --package=@spicyapi/mcp spicyapi-mcp. This server is started by the MCP client and should not be run manually; starting it manually will silently wait for stdin, appears to hang. The package also includes spicyapi-mcp-http (loopback-only Streamable HTTP), but does not include a CLI or Agent Skill. Configuration file locations and formats differ across clients and must be configured according to their respective documentation; VS Code's .vscode/mcp.json is committed with the repository, so VS Code should be prompted to enter the key and store it in its secret storage.

Billing protection: billable tools use protocol elicitation and signed request state. Task creation obtains and binds an exact quote, then asks the user to confirm the USD estimate and maximum cost; the confirmation question is sent to the user rather than the model, and the answer is bound to the exact parameters, so parameter changes cause the call to fail and no task is created. Declining confirmation creates nothing, charges nothing, and destroys nothing. For clients that do not support form elicitation (such as Claude Desktop and Claude Code), a two-step confirmation_token flow is used by default: the first call only obtains a free quote and returns a signed token, and after the user approves, the assistant calls again with the token. You can also set SPICY_MCP_AUTO_APPROVE_MAX_USD (a positive USD amount, up to 1000) to automatically approve task creation when the quote does not exceed the limit; this setting does not apply to spicyapi_task_retry and does not bypass clients that support elicitation. Irreversible content destruction (spicyapi_task_purge and spicyapi_asset_delete) always requires form elicitation and is never automatically approved.

Use cases: generate images, video, speech, and music via natural language within an existing AI assistant; compare prices across models; turn local images into video; check balance and usage; query failed tasks and their reasons; save results to the asset library and use them as inputs for subsequent tasks.

Limitations: requires Node.js 22.13+, a SpicyAPI API Key, and account funds (browsing, quoting, and reading results are free). Task creation accepts an optional retentionSeconds to shorten the retention time for that task's generated media, result payloads, prompts, and other input text, but cannot extend it; 0 means remove after the task reaches a terminal state, and billing records are always retained. The optional callBackUrl must be a public https:// address; explicit ports other than http://、localhost、私有网络地址、非 443/80 and URLs carrying credentials are rejected, all returning 400 Invalid callback URL. spicyapi_task_purge only accepts terminal tasks; accepted tasks cannot be canceled and there is no cancellation API; it destroys content but does not destroy billing records and is not a refund.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools