mcp

v0.1.2
@inferall/mcp Checked 4 days ago Published 27 days ago

InferAll MCP server: one key for chat, image, video and speech across Claude, GPT, Gemini, Grok, NVIDIA NIM, Runway, Seedance, Kling, Veo and ElevenLabs.

Connect your agent to one MCP server and it can chat with any model, make images, make videos and speak. One InferAll key covers Claude, GPT, Gemini, Grok, the open NVIDIA NIM models ($0), Runway, Seedance, Kling, Veo, Hailuo, FLUX and ElevenLabs. The open NVIDIA NIM chat models are free on the trial. Paid models, images, video and speech draw from credit: add $5 at https://inferall.ai/billing. 1. Create a key at https://inferall.ai/keys. 2. Put it in your shell environment as INFERALL_API_KEY (for example in ~/.zshrc, not in a file you commit). 3. Add the server to your agent.

Summary extracted from the README.

@inferall/mcp

Connect your agent to one MCP server and it can chat with any model, make images, make videos and speak. One InferAll key covers Claude, GPT, Gemini, Grok, the open NVIDIA NIM models ($0), Runway, Seedance, Kling, Veo, Hailuo, FLUX and ElevenLabs.

Tools

Tool What it does
chat Prompt any chat model. Default nvidia/nemotron-3-ultra-550b-a55b ($0).
generate_image Text to image. Default black-forest-labs/flux-schnell; also FLUX 1.1 Pro and Gemini image models. Returns URLs.
generate_video Text or image to video. Default gen4.5; also seedance2_5, veo3.1, kling3.0_pro, hailuo3, wan3 and more. Returns the video URL.
text_to_speech ElevenLabs speech, saved as an MP3 file.
list_models List model ids, filtered by a word (video, image, claude, nvidia).
account_status Free trial calls left, balance, and whether paid models are unlocked.

The open NVIDIA NIM chat models are free on the trial. Paid models, images, video and speech draw from credit: add $5 at https://inferall.ai/billing.

Setup

  1. Create a key at https://inferall.ai/keys.
  2. Put it in your shell environment as INFERALL_API_KEY (for example in ~/.zshrc, not in a file you commit).
  3. Add the server to your agent.

Claude Code

claude mcp add inferall -e INFERALL_API_KEY="$INFERALL_API_KEY" -- npx -y @inferall/mcp

Video generation takes 1 to 6 minutes. If your client times out tool calls sooner, raise its limit (Claude Code: MCP_TOOL_TIMEOUT=600000).

Cursor, Claude Desktop, Windsurf and other clients (mcpServers JSON):

{
  "mcpServers": {
    "inferall": {
      "command": "npx",
      "args": ["-y", "@inferall/mcp"],
      "env": { "INFERALL_API_KEY": "ifu_..." }
    }
  }
}

Errors

A refused call comes back as a tool error with InferAll's own message: an unknown model id, a paid model on a trial key (HTTP 402, with the billing link), or a used-up trial. Nothing is substituted silently.

Options

INFERALL_BASE_URL overrides the API host (default https://api.inferall.ai).

License

MIT. See LICENSE.