# ModelsLab MCP server

> Access over 10,000 AI models to generate images, video, audio, and text through a single MCP interface.

- Repository: https://github.com/ModelsLab/modelslab-mcp
- Page: https://hostedmcp.org/servers/modelslab/modelslab-agents
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 1.0.0

## Install

### Claude Code

```sh
claude mcp add --transport http modelslab-agents https://modelslab.com/mcp/agents
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "modelslab-agents": {
      "url": "https://modelslab.com/mcp/agents"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "modelslab-agents": {
      "type": "http",
      "url": "https://modelslab.com/mcp/agents"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"modelslab-agents","type":"http","url":"https://modelslab.com/mcp/agents"}'
```

### Codex

```sh
codex mcp add modelslab-agents --url https://modelslab.com/mcp/agents
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.modelslab-agents]
url = "https://modelslab.com/mcp/agents"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http modelslab-agents https://modelslab.com/mcp/agents
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "modelslab-agents": {
      "url": "https://modelslab.com/mcp/agents",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MODELSLAB_API_KEY` | no | no |  |

## FAQ

### How does the generation process work for asynchronous tools?

Most generation tools return a processing status and an ID; you must then use the fetch-generation tool with that ID to check for success or error.

### What is the pricing for using MCP calls?

MCP calls are billed the same as the REST API, with plans starting at $21 per month.
