Canvas AIGC
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Canvas AIGCCreate a text node with content 'Hello' at position 100,100"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Canvas AIGC
Canvas AIGC 是连接网页画布与本机 Codex / Claude 的 MCP 服务。v0.2 通过本地 HTTP 桥接按浏览器会话隔离画布状态,并通过 stdio MCP 暴露读取、创建、修改、连线和生成等 30 个工具。
环境要求
Node.js 18 或更高版本
已安装并登录 Codex CLI,或已配置 Claude Agent SDK 所需凭据
本地 Infinite Canvas 默认运行在
http://localhost:3000
Related MCP server: @designjs/mcp-server
快速启动
直接启动本地桥接服务:
npx -y github:3108482409song-commits/Canvas-AIGC默认输出:
Canvas AIGC
Local URL: http://127.0.0.1:17371
Connect token: <token>配置保存在 ~/.canvas-aigc/config.json。服务只监听 127.0.0.1,网页必须携带正确 token,首次成功连接后会记录允许访问的网页 Origin。
Codex MCP
codex mcp add canvas-aigc -- npx -y github:3108482409song-commits/Canvas-AIGC mcpMCP 启动时会自动检测并拉起本地 HTTP 桥接服务,不需要另外启动第二个进程。注册或更新后需要开启新的 Codex 对话加载工具。
也可以在 ~/.codex/config.toml 中手动配置:
[mcp_servers.canvas-aigc]
command = "npx"
args = ["-y", "github:3108482409song-commits/Canvas-AIGC", "mcp"]
startup_timeout_sec = 60
tool_timeout_sec = 90Claude MCP
claude mcp add --scope user --transport stdio canvas-aigc -- npx -y github:3108482409song-commits/Canvas-AIGC mcp主要工具
canvas_get_capabilities、canvas_list_sessions、canvas_use_sessioncanvas_get_state、canvas_get_selection、canvas_export_snapshotcanvas_get_nodescanvas_create_node、canvas_create_text_node、canvas_create_text_nodescanvas_create_config_node、canvas_create_generation_flowcanvas_generate_text、canvas_generate_image、canvas_generate_video、canvas_generate_audiocanvas_update_node、canvas_move_nodes、canvas_resize_nodecanvas_delete_nodes、canvas_connect_nodes、canvas_select_nodescanvas_set_viewport、canvas_run_generation、canvas_apply_opscanvas_get_generation_status、canvas_wait_generation、canvas_cancel_generation
写入操作仍由网页 Agent 侧边栏按手动或自动模式处理,MCP 不绕过画布确认流程。每次写入都校验目标会话和 revision,批量操作返回逐项结果;生成工具只表示任务已排队,需要通过状态或等待工具取得真实结果。
本地开发
npm install
npm run dev源码位于 src/,协议层使用官方 @modelcontextprotocol/sdk,工具入参使用 zod 校验。
License
AGPL-3.0-only。维护与派生说明见 NOTICE。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/3108482409song-commits/Canvas-AIGC'
If you have feedback or need assistance with the MCP directory API, please join our Discord server