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:
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. - Running another script while connected disconnects
mcp.js. Re-runmcp.jsto reconnect. - 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.
Metadata
Release files for libresprite-mcp 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| libresprite_mcp-0.1.4.tar.gz | 10.1 kB | Without provenance | Details for libresprite_mcp-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| libresprite_mcp-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for libresprite_mcp-0.1.4-py3-none-any.whl |
Total release size: 22.5 kB
Release files / libresprite_mcp-0.1.4.tar.gz
| Download URL | libresprite_mcp-0.1.4.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71967a2db03366b135d89ca4ccecfdf687f75a57bf4e1cb538a53c574076e156
|
|
BLAKE2b-256 checksum How to use checksums |
ae7048fb0bfe46ec2bb3a9c28639af64d3aa77b5672b6d35500431a494af5da7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / libresprite_mcp-0.1.4-py3-none-any.whl
| Download URL | libresprite_mcp-0.1.4-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9cc0b03d7a8d344baf4b218004e05889118e7b5cbfda121631af30b98334a93b
|
|
BLAKE2b-256 checksum How to use checksums |
cd34a0a7fc27a4b41127e261cc4c0e8c8d8a13f189e9270879813a177cade557
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for libresprite-mcp 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.