MCP Overview
MCP Overview
Section titled “MCP Overview”The AutoVio MCP server lets you call the AutoVio API directly from MCP-compatible clients such as Claude Desktop. It exposes tools for:
- Health checks
- Authentication (login/register/me)
- Project and work management
- AI analysis, scenario, image and video generation
- Provider and template management
Instead of writing HTTP requests by hand, you call MCP tools like autovio_projects_create or autovio_ai_generate_image from your AI assistant.
How it works
Section titled “How it works”- The MCP server is a Node.js process that:
- Loads configuration (AutoVio base URL, API token, AI models and keys).
- Creates an
AutoVioClientto talk to the AutoVio REST API. - Registers tools with the MCP SDK.
- Communicates with the MCP client over stdio.
- Clients (e.g. Claude Desktop) start the server with
"command": "node", "args": [".../dist/index.js", ...]in their MCP config.
When you call a tool in the MCP client, the server:
- Validates the tool input with Zod schemas.
- Calls the corresponding AutoVio API endpoint(s).
- Returns formatted JSON text back to the client.
Tool groups
Section titled “Tool groups”From the MCP client’s perspective, tools are grouped roughly as:
| Group | Examples | Description |
|---|---|---|
| Health | autovio_health | Check API and MCP connectivity. |
| Auth | autovio_auth_login, autovio_auth_register, autovio_auth_me | Authenticate and fetch current user info. |
| Projects | autovio_projects_list, autovio_projects_create, autovio_projects_get, autovio_projects_update, autovio_projects_delete | Manage projects. |
| Works | autovio_works_list, autovio_works_create, autovio_works_get, autovio_works_update, autovio_works_delete, autovio_works_apply_template, autovio_works_generate_scenario, autovio_works_generate_scene | Manage works and run the video pipeline. |
| AI | autovio_ai_analyze_video, autovio_ai_generate_scenario, autovio_ai_generate_image, autovio_ai_generate_video | Direct AI operations not tied to a specific work. |
| Providers | autovio_providers_list | List AI providers and models. |
| Templates | autovio_templates_list, autovio_templates_get, autovio_templates_create, autovio_templates_update, autovio_templates_delete | Manage editor templates. |
See MCP Tools Reference for full input schemas and usage examples.
When to use MCP vs REST API
Section titled “When to use MCP vs REST API”Use MCP when:
- You are inside an AI IDE or assistant (Claude Desktop, Cursor, etc.).
- You want the assistant to call tools directly without managing HTTP and auth.
Use the REST API when:
- You integrate AutoVio into your own backend services or automation workflows.
- You want full control over HTTP requests and responses.
Requirements
Section titled “Requirements”- Node.js >= 18
- Access to an AutoVio API instance (base URL + API token or credentials)