MCP Server Studio
Chat, image, video, speech, music and media models with one account — local (npx) or hosted.
Registry name: io.github.stimQQ/apimodels-mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"apimodels-mcp": {
"command": "npx",
"args": [
"-y",
"apimodels-mcp@0.11.0"
],
"env": {
"APIMODELS_API_KEY": "<APIMODELS_API_KEY>",
"APIMODELS_BASE_URL": "<APIMODELS_BASE_URL>",
"APIMODELS_WAIT_SECONDS": "<APIMODELS_WAIT_SECONDS>",
"APIMODELS_TIMEOUT_MS": "<APIMODELS_TIMEOUT_MS>"
}
}
}
}Run in your terminal:
claude mcp add apimodels-mcp -e APIMODELS_API_KEY='<APIMODELS_API_KEY>' -e APIMODELS_BASE_URL='<APIMODELS_BASE_URL>' -e APIMODELS_WAIT_SECONDS='<APIMODELS_WAIT_SECONDS>' -e APIMODELS_TIMEOUT_MS='<APIMODELS_TIMEOUT_MS>' -- npx -y apimodels-mcp@0.11.0Add to .cursor/mcp.json:
{
"mcpServers": {
"apimodels-mcp": {
"command": "npx",
"args": [
"-y",
"apimodels-mcp@0.11.0"
],
"env": {
"APIMODELS_API_KEY": "<APIMODELS_API_KEY>",
"APIMODELS_BASE_URL": "<APIMODELS_BASE_URL>",
"APIMODELS_WAIT_SECONDS": "<APIMODELS_WAIT_SECONDS>",
"APIMODELS_TIMEOUT_MS": "<APIMODELS_TIMEOUT_MS>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"apimodels-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"apimodels-mcp@0.11.0"
],
"env": {
"APIMODELS_API_KEY": "<APIMODELS_API_KEY>",
"APIMODELS_BASE_URL": "<APIMODELS_BASE_URL>",
"APIMODELS_WAIT_SECONDS": "<APIMODELS_WAIT_SECONDS>",
"APIMODELS_TIMEOUT_MS": "<APIMODELS_TIMEOUT_MS>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"apimodels-mcp": {
"command": "npx",
"args": [
"-y",
"apimodels-mcp@0.11.0"
],
"env": {
"APIMODELS_API_KEY": "<APIMODELS_API_KEY>",
"APIMODELS_BASE_URL": "<APIMODELS_BASE_URL>",
"APIMODELS_WAIT_SECONDS": "<APIMODELS_WAIT_SECONDS>",
"APIMODELS_TIMEOUT_MS": "<APIMODELS_TIMEOUT_MS>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"apimodels-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.apimodels.app/mcp"
]
}
}
}Run in your terminal:
claude mcp add --transport http apimodels-mcp https://api.apimodels.app/mcpAdd to .cursor/mcp.json:
{
"mcpServers": {
"apimodels-mcp": {
"url": "https://api.apimodels.app/mcp"
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"apimodels-mcp": {
"type": "http",
"url": "https://api.apimodels.app/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"apimodels-mcp": {
"serverUrl": "https://api.apimodels.app/mcp"
}
}
}| Name | Required | What it is |
|---|---|---|
APIMODELS_API_KEY | Yes | Your sk_… API key from https://apimodels.app/console/api-keys |
APIMODELS_BASE_URL | No | API base URL. Default https://api.apimodels.app/v1 |
APIMODELS_WAIT_SECONDS | No | Default wait_seconds for generate_image / generate_video / text_to_speech / transcribe_audio / get_task before they hand back a task id. Default 50 (Codex aborts tool calls at 60 s). |
APIMODELS_TIMEOUT_MS | No | Deprecated: same wait in milliseconds, honoured for old configs. |