penpot-mcp-server
by zcube·★ 16·综合分 39
Penpot MCP 服务器将 AI 助手与 Penpot 设计平台连接,提供全面的设计操作功能。
概述
这个 MCP 服务器为 Penpot 提供全面的设计操作能力,这是一个开源设计工具。它使 AI 助手能够通过 76 多个工具以编程方式创建、修改和管理 Penpot 设计,涵盖项目管理、形状创建和操作、组件系统、团队协作、评论、媒体导出、字体管理、Webhook、搜索等。服务器支持 stdio 和 HTTP 传输模式,使其兼容各种 MCP 客户端和外部应用程序。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要 AI 助手在 Penpot 中创建或操作设计时,选择此 MCP 服务器,特别是如果您已经在使用 Penpot 作为设计平台。
什么时候不要选它
如果您需要超越 Penpot 的设计工具互操作性,或者需要需要访问令牌身份验证之外的商业 Penpot 云功能,请避免使用。
此 server 暴露的工具
从 README 抽取出 12 个工具list_teamsList all accessible teams
list_projectsList all accessible projects
list_filesList files in a project
create_fileCreate a new design file
create_rectangleCreate rectangle shapes
create_textCreate text elements with alignment and styling
update_shapeModify shape properties like position, size, and style
export_shapeExport shape or frame as image (PNG, JPG, SVG, PDF)
create_componentCreate reusable component from shape
search_shapesSearch shapes within a file
upload_file_mediaUpload image file (PNG, JPG, SVG, GIF, WEBP)
get_profileGet current user profile
可对比工具
安装
# 全局安装
npm install -g @zcubekr/penpot-mcp-server
# 运行服务器
penpot-mcp-server使用 Claude Desktop:
{
"mcpServers": {
"penpot": {
"command": "node",
"args": ["/path/to/penpot-mcp-server/dist/index.js"],
"env": {
"PENPOT_API_URL": "https://design.penpot.app",
"PENPOT_ACCESS_TOKEN": "your-access-token"
}
}
}
}必需的环境变量:
PENPOT_API_URL: 您的 Penpot 实例 URLPENPOT_ACCESS_TOKEN: 您的 Penpot 访问令牌
FAQ
- 如何获取 Penpot 访问令牌?
- 1. 登录您的 Penpot 账户 2. 转到设置 → 访问令牌 3. 创建新访问令牌 4. 复制并安全保存
- 我可以将其与自托管 Penpot 实例一起使用吗?
- 是的,您需要在自托管实例中通过在 PENPOT_FLAGS 配置中添加 'enable-access-tokens' 来启用访问令牌支持
penpot-mcp-server 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。