Skip to main content
Glama

Manic MCP Server

让任何支持 MCP 的 AI——Claude Code、Claude Desktop 或本地模型——能够编写、验证并渲染 Manic 动画。

连接的模型即是作者:该服务器刻意不提供 AI 生成工具,也不消耗 Manic AI 积分。相反,它向模型提供完整的 Manic 创作指南,然后让模型验证自己的 .manic 源码,并通过 Manic 平台使用您的 API 密钥渲染真实的视频。

工具

工具

认证

功能

manic_authoring_guide

无

获取完整的、最新的 Manic 语言指南——与 Manic 自身 AI 使用的系统提示相同。模型读取一次后,即可编写真实的 Manic 代码。

manic_check

API 密钥 (check)

验证 .manic 源码并返回精确的诊断信息。成本低——渲染前务必先检查。

manic_render

API 密钥 (render:create)

将源码提交到托管渲染器(mp4/gif/webm/mov/still)。返回一个持久的任务 ID。消耗导出积分。

manic_render_status

API 密钥 (jobs:read)

轮询渲染任务;完成后返回产物 URL,或返回需要修复的精确编译错误。

manic_save_to_project

API 密钥 (projects:read/write)

将文件保存到您的 Manic 项目中,之后可在 Manic Create 和 Manic Workbench 中打开。

推荐流程:指南 → 编写 → 检查 →(修复 → 检查…)→ 渲染 → 轮询 → 视频——每次生成的文件都可以选择保存为真实项目文档。

Related MCP server: ShotFlow MCP Server

设置

在 app.maniclang.com/account 创建 API 密钥,权限范围包括:check、render:create、jobs:read、projects:read、projects:write。(没有密钥时,仅 manic_authoring_guide 可用。)

无需安装——直接使用 npx 运行已发布的包。

Claude Code

claude mcp add manic -e MANIC_API_KEY=mk_live_… -- npx -y @maniclang/mcp-server

Claude Desktop / 其他 MCP 客户端

{
  "mcpServers": {
    "manic": {
      "command": "npx",
      "args": ["-y", "@maniclang/mcp-server"],
      "env": { "MANIC_API_KEY": "mk_live_…" }
    }
  }
}

从源码(开发环境)

npm install && npm run build

然后在任何上述配置中使用 node /path/to/manic-mcp-server/dist/index.js 作为命令,替代 npx -y @maniclang/mcp-server。

其他客户端

Cursor、Windsurf、Cline、Continue、Zed、LM Studio 以及任何通用 stdio MCP 客户端——请参阅 docs/USAGE.md 获取可复制粘贴的配置、推荐创作流程、示例提示词、成本模型以及故障排除。

配置

变量

默认值

用途

MANIC_API_KEY

—

您的 Manic API 密钥;除创作指南外所有工具均需要

MANIC_API_BASE_URL

https://api.maniclang.com/v1

平台 API 基础地址

MANIC_SYSTEM_PROMPT_URL

托管的 Manic 指南

覆盖创作指南来源

试试看

请向您的模型提问:

"阅读 Manic 创作指南,然后创建一个 15 秒的动画,展示一个钟摆描绘其运动轨迹,验证它,渲染为 mp4 格式,并给我视频链接。"

链接

Available Tools

5 tools
manic_authoring_guideManic authoring guideA

Fetches the complete, current Manic language authoring guide (the same system prompt Manic's own AI uses). Call this ONCE before writing any .manic source and follow it exactly — Manic is a precise DSL and the guide is the source of truth for its verbs, blocks, and rules. No authentication needed.

Inputs: no named parameters.

manic_checkValidate Manic sourceA

Validates .manic source against the Manic platform's checker and returns diagnostics. Always check before rendering: rendering spends the user's export credits, checking is cheap. Fix every error diagnostic and re-check until clean. Requires MANIC_API_KEY (scope: check).

Inputs: source (required).

manic_renderRender Manic to videoA

Submits validated .manic source to the Manic hosted renderer. Returns a job id immediately — rendering is asynchronous and can take minutes; poll with manic_render_status. Rendering spends the user's export credits, so validate with manic_check first and render only when the user wants output. Requires MANIC_API_KEY (scopes: render:create, jobs:read).

Inputs: source (required), fps, still, canvas, +1 more.

manic_render_statusCheck render statusA

Reads the durable status of a render job. When succeeded, returns the video/image artifact URL. Poll no more than every 10 seconds. Requires MANIC_API_KEY (scope: jobs:read).

Inputs: job_id (required).

manic_save_to_projectSave Manic file to the user's projectA

Saves .manic source as a document in the user's default Manic project, so it appears in Manic Create and Manic Workbench. Saving to an existing path creates a new revision. Requires MANIC_API_KEY (scopes: projects:read, projects:write).

Inputs: path (required), source (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: fetching the guide, validating source, submitting renders, polling render status, and saving to project. No overlap in functionality.

    Naming Consistency5/5

    All tools follow the 'manic_<action>[_<target>]' pattern consistently, using clear verbs (check, render, save_to_project) and snake_case throughout.

    Tool Count5/5

    With 5 tools, the server is well-scoped for the Manic language authoring workflow. Each tool serves a necessary step without redundancy or excess.

    Completeness4/5

    The tools cover the core workflow (guide, validate, render, status, save) but lack a list or edit tool for project documents, though saving to existing paths creates revisions.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents and MCP clients to generate and edit video, images, 3D, music, and sound effects, upload or reuse media, preview credit costs, and follow production workflows through a single hosted connector.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables any MCP-compatible AI agent to generate videos and images from text or reference frames, chain scenes into seamless multi-scene films with sound and speech, and download finished media with manifests and previews. It also exposes account status, plan limits, history and library management through confirm-gated, safe-by-default operations.
      12
      34
      MIT