apimodels for VS Code
io.github.stimqq/apimodels-mcp
Image, video, chat and speech models with one API key. The model can review its own images.
client:VS Code
transport:stdio
runtime:npm
Install apimodels in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "apimodels-api-key",
"description": "APIMODELS_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "apimodels-base-url",
"description": "APIMODELS_BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "apimodels-wait-seconds",
"description": "APIMODELS_WAIT_SECONDS",
"password": true
},
{
"type": "promptString",
"id": "apimodels-timeout-ms",
"description": "APIMODELS_TIMEOUT_MS",
"password": true
}
],
"servers": {
"apimodels-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"apimodels-mcp"
],
"env": {
"APIMODELS_API_KEY": "${input:apimodels-api-key}",
"APIMODELS_BASE_URL": "${input:apimodels-base-url}",
"APIMODELS_WAIT_SECONDS": "${input:apimodels-wait-seconds}",
"APIMODELS_TIMEOUT_MS": "${input:apimodels-timeout-ms}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs