Skip to main content

Overview

AihubMax MCP is the official MCP server for AihubMax. It wraps the platform’s image / video / audio / document generation, media understanding, and async task system into a set of tools, so agents inside Claude Desktop, Claude Code, Cursor, Cline, and other MCP clients can discover models, generate media, and retrieve results — all within the conversation. It is the third official integration form, alongside the CLI base-URL setup in the Integration Guide and the Skills.
All you need is an AihubMax API Key starting with sk-. Get one from the AihubMax console.

Prerequisites

Node.js 18+

Launching the MCP server via npx requires Node.js 18 or later. Download Node.js →

AihubMax API Key

A valid API Key starting with sk-. Go to console →

Installation

Add the following to your MCP client’s config file, replacing sk-your-key with your own API Key:
On first launch, npx downloads and compiles automatically — give it a moment. Subsequent launches are fast.
Config file locations per client:
Restart the client after configuring. You’re ready once the aihub server shows as connected and its tools are loaded.

Tools

Once configured, the agent can use these 14 tools:

Example

Just drive it with natural language in the conversation, for example:
1

Discover models

“List the available video models and their prices” — the agent calls list_models and returns the model list, availability, and per-call price.
2

Generate media

“Generate a video of a seaside sunset with veo-3.1-text-to-video” — the agent calls generate_video to submit the task and wait_for_task to wait for the result URL.
3

Save / view

“Download that video to ~/Downloads” — download_asset saves it; image results are shown inline in the conversation.
Result URLs are valid for 24 hours — save them promptly with download_asset.

Notes

  • This MCP is distinct from the built-in documentation-search MCP (docs.aihubmax.com/mcp, for searching this site): the former calls generation APIs, the latter only reads and searches docs.
  • Authentication uses the AIHUBMAX_API_KEY environment variable (or pass --api-key sk-...); the Base URL defaults to https://api.aihubmax.com and can be overridden with AIHUBMAX_BASE_URL.
  • Source and issues: GitHub