Skip to content

MCP Setup

The AutoVio MCP server is published on npm as autovio-mcp. No clone or build step is needed — run it directly with npx.

AutoVio MCP Setup

No installation required. npx downloads and runs the latest version automatically:

Terminal window
npx autovio-mcp --autovio-base-url http://localhost:3001 --autovio-api-token YOUR_TOKEN

To install globally and skip the npx prefix:

Terminal window
npm install -g autovio-mcp
Terminal window
# With CLI flags
npx autovio-mcp --autovio-base-url http://localhost:3001 --autovio-api-token YOUR_TOKEN
# With a config file
npx autovio-mcp --config /path/to/config.json
# With environment variables (no flags needed)
AUTOVIO_BASE_URL=http://localhost:3001 AUTOVIO_API_TOKEN=your-token npx autovio-mcp

Configuration is merged from four sources with this priority (highest first):

  1. CLI parameters
  2. Environment variables
  3. Config file (JSON)
  4. Defaults
FlagDescription
--autovio-base-urlAutoVio API base URL.
--autovio-api-tokenAutoVio API token.
--configPath to JSON config file.
--vision-modelVision model (e.g. gemini-2.0-flash-exp).
--vision-api-keyVision API key.
--llm-modelLLM model (e.g. gemini-2.5-flash).
--llm-api-keyLLM API key.
--image-modelImage model (e.g. gemini-2.5-flash-image).
--image-api-keyImage API key.
--video-modelVideo model (e.g. veo-3.0-generate-001).
--video-api-keyVideo API key.
--log-leveldebug | info | warn | error.
--enable-resourcestrue | false.
--enable-promptstrue | false.

CamelCase variants like --autovioBaseUrl are also accepted.

AUTOVIO_BASE_URL AUTOVIO_API_TOKEN
AUTOVIO_VISION_MODEL AUTOVIO_VISION_API_KEY
AUTOVIO_LLM_MODEL AUTOVIO_LLM_API_KEY
AUTOVIO_IMAGE_MODEL AUTOVIO_IMAGE_API_KEY
AUTOVIO_VIDEO_MODEL AUTOVIO_VIDEO_API_KEY
AUTOVIO_LOG_LEVEL AUTOVIO_MCP_CONFIG

Pass a JSON config via --config. Example (examples/config.example.json in the autovio-mcp repo):

{
"server": {
"name": "autovio-mcp-server",
"version": "1.0.0"
},
"autovio": {
"baseUrl": "http://localhost:3001",
"apiToken": "YOUR_AUTOVIO_API_TOKEN"
},
"providers": {
"vision": {
"model": "gemini-2.0-flash-exp",
"apiKey": "YOUR_VISION_API_KEY"
},
"llm": {
"model": "gemini-2.5-flash",
"apiKey": "YOUR_LLM_API_KEY"
},
"image": {
"model": "gemini-2.5-flash-image",
"apiKey": "YOUR_IMAGE_API_KEY"
},
"video": {
"model": "veo-3.0-generate-001",
"apiKey": "YOUR_VIDEO_API_KEY"
}
},
"features": {
"enableResources": true,
"enablePrompts": false,
"cacheResponses": false,
"logLevel": "info"
}
}
SectionFieldsDescription
servername, versionMCP server metadata.
autoviobaseUrl, apiTokenAutoVio REST API connection.
providersvision, llm, image, videoModel + API key pairs for each AI role.
featuresenableResources, enablePrompts, cacheResponses, logLevelMCP feature flags and logging.

The server derives the provider ID from the model name (e.g. gemini, claude, openai) before calling the AutoVio API.

  • Node.js >= 18
  • A running AutoVio backend (see Installation)
  • An AutoVio API token or user credentials
  • API keys for the AI providers you want to use