ModelsLab MCP

Generate images, video, speech, music and sound effects, and run LLM chat, across 10,000+ AI models from any MCP client. Hosted Streamable HTTP server with OAuth 2.1 or API key auth.

Hosted MCP Server

npx add-mcp 'https://modelslab.com/mcp/v7'

Installs into Claude Code, Codex, Cursor and more

Documentation

ModelsLab

ModelsLab MCP Server

Generate images, video, speech, music and sound effects, and run LLM chat, across 10,000+ AI models from any MCP client.

Website · Docs · Pricing · Discord

ModelsLab runs a hosted, remote MCP server. There is nothing to install: point your MCP client at the URL below and sign in with OAuth, or send your ModelsLab API key.

Server URLhttps://modelslab.com/mcp/v7
TransportStreamable HTTP
AuthOAuth 2.1 (PKCE + dynamic client registration), or Authorization: Bearer <API key>
API keymodelslab.com/dashboard/api-keys
Server card/.well-known/mcp/server-card.json
Official registryio.github.ModelsLab/modelslab

Tools

CategoryTools
Discoverylist-models, list-providers
Imagetext-to-image, image-to-image, inpaint-image, fetch-image
Videotext-to-video, image-to-video, video-to-video, lip-sync, motion-control, fetch-video
Audiotext-to-speech, speech-to-text, speech-to-speech, sound-generation, music-generation, song-extender, song-inpaint, dubbing, fetch-audio
LLMchat-completion
Jobsfetch-generation

Most generation is asynchronous. A tool returns "status": "processing" with an id; call fetch-generation with that id until the status is success or error. Use list-models first to get a valid model_id (Flux, Qwen Image, Seedream, Kling, Veo, Wan, Hailuo, ElevenLabs-class voices, open-source LLMs, and more).

Setup

Claude (claude.ai and Claude Desktop)

Settings → Connectors → Add custom connector → URL https://modelslab.com/mcp/v7. Claude detects OAuth and opens the ModelsLab sign-in page.

Claude Code

claude mcp add --transport http modelslab https://modelslab.com/mcp/v7

Or with an API key:

claude mcp add --transport http modelslab https://modelslab.com/mcp/v7 \
  --header "Authorization: Bearer $MODELSLAB_API_KEY"

Cursor

~/.cursor/mcp.json:

{
  "mcpServers": {
    "modelslab": {
      "url": "https://modelslab.com/mcp/v7",
      "headers": { "Authorization": "Bearer YOUR_MODELSLAB_API_KEY" }
    }
  }
}

VS Code (GitHub Copilot)

.vscode/mcp.json:

{
  "servers": {
    "modelslab": {
      "type": "http",
      "url": "https://modelslab.com/mcp/v7",
      "headers": { "Authorization": "Bearer ${input:modelslab-key}" }
    }
  },
  "inputs": [
    { "type": "promptString", "id": "modelslab-key", "description": "ModelsLab API key", "password": true }
  ]
}

Windsurf

~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "modelslab": {
      "serverUrl": "https://modelslab.com/mcp/v7",
      "headers": { "Authorization": "Bearer YOUR_MODELSLAB_API_KEY" }
    }
  }
}

Gemini CLI

~/.gemini/settings.json:

{
  "mcpServers": {
    "modelslab": {
      "httpUrl": "https://modelslab.com/mcp/v7",
      "headers": { "Authorization": "Bearer YOUR_MODELSLAB_API_KEY" }
    }
  }
}

OpenAI Codex CLI

~/.codex/config.toml:

[mcp_servers.modelslab]
url = "https://modelslab.com/mcp/v7"
bearer_token_env_var = "MODELSLAB_API_KEY"

Clients that only speak stdio

Use mcp-remote:

{
  "mcpServers": {
    "modelslab": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://modelslab.com/mcp/v7",
               "--header", "Authorization: Bearer ${MODELSLAB_API_KEY}"],
      "env": { "MODELSLAB_API_KEY": "YOUR_MODELSLAB_API_KEY" }
    }
  }
}

Example prompts

  • "List the ModelsLab video models, then make a 5 second clip of a paper boat in the rain with the best one."
  • "Generate a product photo of a ceramic mug on a wooden table, 1024x1024."
  • "Turn this paragraph into speech with a calm British voice."
  • "Write a 30 second lo-fi track with soft piano."

Other servers

URLWhat it doesAuth
https://modelslab.com/mcp/v8Next-generation v8 generation APIsOAuth or API key
https://modelslab.com/mcp/agentsAccount, billing, team, API key and model discovery for autonomous agentsAgent token

Pricing

MCP calls bill the same as the REST API. Plans start at $21/month; the $149/month plan gives unlimited generations on open-source models. See modelslab.com/pricing.

About ModelsLab

ModelsLab is an AI API platform with 10,000+ models, 400,000+ registered users and 500 million+ API requests served, running on its own GPU datacenter. Founded in 2022.

License

The documentation and config files in this repository are MIT licensed. The hosted service is covered by the ModelsLab terms.