dify-canvas-mcp
Click on "Deploy 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., "@dify-canvas-mcp show me the draft canvas for my Customer Support Bot"
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.
dify-canvas-mcp
MCP server for Dify workflow canvases. Read, patch, publish and test drafts through the user's signed-in Chrome — in any MCP client (Qoder, DSH, Claude Desktop, …).
Tools
Tool | What it does |
| List configured instances |
| Add/update an instance (alias + site URL only) |
| Show which browser channel is available |
| Start a dedicated Chrome with a debugging port |
| List apps (an app can be referenced by name later) |
| Draft node index (+ hash), or one node in full |
| Patch nodes; dry-run by default, |
| Publish and verify the published hash |
| Run the draft once and return the executed node path |
Related MCP server: BrowserLemon
Install
npm i -g dify-canvas-mcp
# or run without installing:
npx -y dify-canvas-mcpMCP client config (stdio):
{
"mcpServers": {
"dify-canvas": {
"command": "npx",
"args": ["-y", "dify-canvas-mcp"]
}
}
}First use
The transport is resolved automatically, in this order:
Your daily Chrome, via
--autoConnect— nothing to restart or reopen. Chrome asks for permission once (chrome://inspectremote debugging), then the connection is kept alive and reused. This preserves your sign-ins, extensions and tabs.chrome-pool on
127.0.0.1:3333, when present (one shared authorized connection).A Chrome started with
--remote-debugging-port.dify_browser_launch— a dedicated Chrome window (isolated profile, sign in once) as the fallback.
Then:
dify_setup { alias: "prod", baseUrl: "https://dify.example.com" }From then on, say the app's name — no UUID needed.
Credentials
The credential is the browser session. No cookie or token is stored on disk. Config lives in ~/.dify-canvas/config.json; backups of every written draft go to ~/.dify-canvas/backups/.
Write safety
dify_canvas_patchis dry-run unlessapply:true.Pre-write: on-disk backup + self-check (dangling edges, self loops,
default_valuetypes, code-node parameter mismatch).Post-write: page reload, rendered-node count, crash banners.
dify_canvas_publishverifies the published hash against the draft hash.
MIT.
Available Tools
9 toolsdify_appsA
列出 Dify 应用(id、名称、类型、更新时间,支持分页和名称过滤)。其他工具的 app 参数可以直接写应用名称。
Inputs: name, page, alias, limit.
dify_browser_launchA
启动一个专用的 Chrome 窗口(独立配置目录,不动日常浏览器),带调试端口并打开 Dify。首次需要在这个窗口里登录 Dify;之后直接复用。
Inputs: port, alias.
dify_browser_statusA
查看当前可用的浏览器通道:chrome-pool、日常 Chrome 的调试端口、专用 Chrome,以及能否用 autoConnect 直接连日常 Chrome(零重启)。不会触发 Chrome 授权。
Inputs: alias.
dify_canvas_getA
读取工作流草稿。不传 nodeId 返回节点索引(id/标题/类型/备注/坐标)与草稿 hash;传 nodeId 返回该节点完整定义(代码、提示词、变量、坐标)。
Inputs: app (required), alias, nodeId.
dify_canvas_patchA
修改草稿中的已有节点(按 id 合并 data、整块替换 data、改坐标)。默认 dry-run 只返回 diff;apply=true 才写回。写回前自动备份并自检(悬空边、自环、default_value 类型、Code 节点参数一致),写后刷新页面并核对渲染。
Inputs: app (required), changes (required), alias, apply, +1 more.
dify_canvas_publishA
发布当前草稿并回读发布态 hash 核对。发布立即上线,调用前先向用户确认。
Inputs: app (required), alias, expectedHash.
dify_instancesA
列出已配置的 Dify 实例(别名、站点、调试端口、默认项)。其他工具的 alias 省略时使用默认实例。
Inputs: no named parameters.
dify_runA
在草稿上试运行一次(不发布)。返回工作流状态、实际执行的节点顺序、失败节点与最终回复。
Inputs: app (required), query (required), alias, inputs, +1 more.
dify_setupA
添加或修改一个 Dify 实例。只需要 alias 和站点地址(例如 https://dify.example.com);凭据是本机 Chrome 的登录态,不需要账号密码。
Inputs: alias (required), baseUrl (required), poolPort, debugPort, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a clearly distinct resource or lifecycle stage: instance configuration, browser channel status/launch, app listing, draft read/patch/publish, and draft test run. The status-versus-launch and read-versus-patch-versus-publish boundaries are explicit. No two tools appear to perform the same action.
All names use a consistent snake_case style with the dify_ prefix and meaningful resource grouping such as browser_ and canvas_. However, the convention is not uniformly verb_noun: some are noun-only list-style names (dify_instances, dify_apps), while others are verb-based (dify_run) or resource_action combinations. This is readable and mostly predictable, with only minor deviations.
Nine tools is well-scoped for a Dify canvas management server. Instance setup, browser handling, app discovery, draft inspection, editing, publishing, and test running each earn their place without redundant coverage.
The surface covers listing apps, reading drafts, modifying existing nodes, publishing, running drafts, and supporting instance/browser setup. However, there are notable authoring gaps: no tool creates or deletes canvas nodes, and dify_canvas_patch explicitly only modifies existing nodes. Creating new apps/workflows is also absent, limiting full lifecycle coverage.
Maintenance
Related MCP Connectors
AppFlowy MCP server for ChatGPT, Claude and any AI agent: list workspaces, read page tree, list database rows, create database row, update database row, create page, restore from trash and share page in your own AppFlowy account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to AppFlowy yourself; Cotlet does not store your password and you need no AppFlowy API key. About the official AppFlowy API: AppFlowy Cloud has a documented REST API for workspaces, the folder tree and database rows, but no hosted MCP server (checked 25 Oct 2026). The official MCP service is an optional part of the commercial self-hosted edition. Setup and FAQ: https://cotlet.dev/integrations/appflowy-api-mcp-server
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Create, browse, remix, collaborate on, and run durable AI workflow nodes from MCP hosts.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceConnects AI agents to your Chrome browser via MCP, enabling real-time control of existing tabs, sessions, and application state for development workflows.MIT
- AlicenseBqualityDmaintenanceEnables AI to control your existing logged-in Chrome session via MCP, supporting social media drafting and explicit user-confirmed publishing.8MIT
- FlicenseNot gradedqualityCmaintenanceEnables a local MCP server to control an authenticated Chrome browser for interacting with Google Search, Gemini, ChatGPT, Claude, and DeepSeek, including web search and image generation without per-provider API keys.-
- AlicenseBqualityCmaintenanceEnables browser control through your existing signed-in Chrome profile, letting MCP clients like Claude Code manage tabs, navigate, inspect pages, and perform real user interactions via tool calls. Works with any model backend without needing Playwright or a fresh browser profile.21MIT