Piskel MCP Server
Enables AI assistants to create and manipulate pixel art by providing tools for drawing, layer management, and animation frame control. It supports exporting projects to PNG, GIF, and sprite sheet formats via the Model Context Protocol.
README
Piskel MCP Server
Piskel 像素画编辑器的 MCP(Model Context Protocol)服务器,让 AI 助手能够通过 MCP 协议创建和操作像素画。
<img src="./docs/examples/bird_fly.gif" alt="Bird Animation" width="80"> <img src="./docs/examples/heart_icon.gif" alt="Heart" width="80"> <img src="./docs/examples/sword_item.gif" alt="Sword" width="80"> <img src="./docs/examples/treasure_chest.gif" alt="Treasure Chest" width="80"> <img src="./docs/examples/explosion_effect.gif" alt="Explosion" width="80">
功能特点
- 创建和管理像素画项目
- 绘制像素、线条、矩形、圆形
- 洪水填充工具
- 图层管理
- 导出为 PNG、GIF 和雪碧图
- 动画帧支持
安装
git clone https://github.com/yafeiaa/piskel-mcp-server.git
cd piskel-mcp-server
npm install
npm run build
快速开始
接入 Agent
服务器使用 stdio 传输协议。将以下配置添加到你的 Agent 设置中:
{
"mcpServers": {
"piskel": {
"command": "node",
"args": ["/path/to/piskel-mcp-server/dist/index.js"]
}
}
}
请将 /path/to/piskel-mcp-server/ 替换为你实际的克隆路径。
开始创作!
连接后,你可以用自然语言创建像素画:
"创建一个 32x32 的红色爱心精灵图"
"在中心画一个蓝色圆形"
"用绿色填充左半边"
"导出为动画 GIF"
MCP 工具
项目管理
piskel_create_project- 创建新像素画项目piskel_list_projects- 列出所有项目piskel_get_project_info- 获取项目详情piskel_delete_project- 删除项目
图层管理
piskel_add_layer- 添加新图层piskel_remove_layer- 移除图层
帧管理
piskel_add_frame- 添加新帧piskel_remove_frame- 移除帧piskel_duplicate_frame- 复制帧
绘图工具
piskel_draw_pixel- 绘制单个像素piskel_draw_pixels- 绘制多个像素piskel_draw_line- 绘制线条piskel_draw_rectangle- 绘制矩形piskel_draw_circle- 绘制圆形piskel_fill_area- 洪水填充piskel_erase_pixel- 擦除像素piskel_clear_frame- 清空帧
数据读取
piskel_get_pixel- 获取像素颜色piskel_get_frame_data- 获取帧像素数据
导出
piskel_export_png- 导出为 PNGpiskel_export_gif- 导出为 GIFpiskel_export_sprite_sheet- 导出为雪碧图
贡献指南
开发和 Pull Request 规范请查看 CONTRIBUTING.md。
许可证
Apache-2.0
致谢
基于 Julian Descottes 创建的 Piskel。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.