
LibreSprite
Controls the LibreSprite pixel art editor through JavaScript scripting via a proxy server, enabling automated sprite creation and batch processing workflows.
Enables control of the LibreSprite pixel art editor through JavaScript scripting via a Flask proxy server that bridges communication between external commands and LibreSprite's internal scripting environment for automated sprite creation, batch image processing, and animation workflows.
What it does
- Run JavaScript scripts inside LibreSprite
- Automate sprite creation workflows
- Process images in batches
- Control animation workflows
- Execute pixel art editing commands programmatically
Best for
About LibreSprite
LibreSprite is a community-built MCP server published by snehil-shah that provides AI assistants with tools and capabilities via the Model Context Protocol. Automate LibreSprite pixel art, batch image edits & animation using a Flask server with JavaScript scripting integration It is categorized under productivity, developer tools. This server exposes 1 tool that AI clients can invoke during conversations and coding sessions.
How to install
You can install LibreSprite in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
License
LibreSprite is released under the GPL-2.0 license.
Tools (1)
Run a JavaScript script inside Libresprite. IMPORTANT: Make sure you are well versed with the documentation and examples provided in the resources `docs:reference` and `docs:examples`. Args: script: The script to execute Returns: Console output
LibreSprite-MCP
Prompt your way into LibreSprite
Model Context Protocol (MCP) server for prompt-assisted editing, designing, and scripting inside LibreSprite.
https://github.com/user-attachments/assets/71440bba-16a5-4ee2-af10-2c346978a290
Prerequisites
uv is the recommended way to install and use this server. Here are quick one-liners to install it if you haven't:
-
Windows: (run as administrator)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" -
Unix:
curl -LsSf https://astral.sh/uv/install.sh | sh
More on installing uv.
The package is published on PyPI, so feel free to consume it any other way you prefer (pipx, etc)
Usage
Step 1: Setting up the client
Add the MCP server with the following entrypoint command (or something else if you are not using uv) to your MCP client:
uvx libresprite-mcp
Examples:
-
Claude Desktop & Cursor
Edit Claude > Settings > Developer > Edit Config > claude_desktop_config.json or .cursor > mcp.json to include the server:
{ "mcpServers": { // ...existing servers... "libresprite": { "type": "stdio", "command": "uvx", "args": [ "libresprite-mcp" ] } // ...existing servers... } }You can also use this fancy badge to make it quick:
[!NOTE] You will have to restart Claude Desktop to load the MCP Server.
Step 2: Setting up LibreSprite
Download the latest stable remote script mcp.js from releases and add it to LibreSprite's scripts folder:
![]()
Step 3: Connect and use
Run the mcp.js script (that you see in the screenshot above), and make sure your MCP server is running (Claude Desktop/Cursor is loaded and running). If all went well, you should see the following screen:
![]()
Click the "Connect" button and you can now start talking to Claude about your next big pixel-art project!
Some pointers
- You can only run one instance of the MCP server at a time.
- The server expects port
64823to be free. - The server has a hacky and brittle implementation (see ARCHITECTURE), and is not extensively tested.
- The MCP resources are kinda low quality with unclear API reference and limited examples, leaving the LLM confused at times. If you're a LibreSprite expert, we need your help.
Alternatives
Related Skills
Browse all skillsUI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.
Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".
Leveraging AI coding assistants and tools to boost development productivity, while maintaining oversight to ensure quality results.
Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.
Creates educational Teams channel posts for internal knowledge sharing about Claude Code features, tools, and best practices. Applies when writing posts, announcements, or documentation to teach colleagues effective Claude Code usage, announce new features, share productivity tips, or document lessons learned. Provides templates, writing guidelines, and structured approaches emphasizing concrete examples, underlying principles, and connections to best practices like context engineering. Activates for content involving Teams posts, channel announcements, feature documentation, or tip sharing.
Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.