1. Conduid
  2. Documentation
  3. Pico8 MCP Server
MCP server · Documentation

Pico8 MCP Server

MCP server for PICO-8 development. Token counting, code analysis, validation, minification, and cart comparison via shrinko8. Includes documentation resources. Compatible with any MCP client.

Unclaimed last commit a year ago docs
34Low

Scored 6 months ago · breakdown

About Pico8 MCP Server

Pico8 MCP Server is an MCP server published by EBonura in the Documentation category: mCP server for PICO-8 development. Token counting, code analysis, validation, minification, and cart comparison via shrinko8. Includes documentation resources. Compatible with any MCP client.

The repository has 10 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/EBonura/pico8-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Pico8 MCP Server

Powered by Claude · Grounded in docs

I know everything about Pico8 MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

PICO-8 MCP Server

An MCP server for working with PICO-8 game carts, built on top of shrinko8.

Features

Code Analysis Tools

  • count_tokens - Count tokens, characters, and compressed size
  • analyze_cart - List functions, globals, and code metrics
  • validate_cart - Validate cart with token limits and linting
  • search_code - Search for code patterns across carts
  • compare_carts - Compare two cart versions with diff

Cart Manipulation

  • read_cart - Read cart sections (code, gfx, map, sfx, music)
  • minify_cart - Minify carts to reduce token count
  • list_carts - List all carts in a directory with metadata

Documentation Resources

  • add_documentation - Fetch and save PICO-8 documentation from URLs
  • Resources - Saved documentation is available as MCP resources (e.g., pico8://docs/api)

Installation

Prerequisites

  • Python 3.8+
  • uv package manager

Setup

  1. Clone the repository:
git clone https://github.com/YOUR_USERNAME/pico8-mcp-server.git
cd pico8-mcp-server
  1. Initialize the shrinko8 submodule:
git submodule update --init --recursive
  1. Install dependencies:
uv sync

For Claude Code (VSCode)

Add the server using the Claude CLI:

cd /Users/ebonura/Desktop/repos/pico8-mcp-server
claude mcp add pico8 --scope project -- uv run server.py

Or manually create a .mcp.json in your project root:

{
  "mcpServers": {
    "pico8": {
      "command": "uv",
      "args": ["run", "/Users/ebonura/Desktop/repos/pico8-mcp-server/server.py"]
    }
  }
}

For Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "pico8": {
      "command": "uv",
      "args": ["--directory", "/Users/ebonura/Desktop/repos/pico8-mcp-server", "run", "server.py"]
    }
  }
}

Usage Examples

Once configured, you can ask Claude:

  • "Count the tokens in my horizon-glide cart"
  • "Analyze the code structure of v0.16.p8"
  • "Search for all uses of 'terrain' in my carts"
  • "Compare v0.15.p8 and v0.16.p8"
  • "List all carts in the horizon-glide directory"
  • "Validate my cart and show any errors"

Adding Documentation

You can fetch and save PICO-8 documentation:

"Fetch the PICO-8 API reference from https://pico-8.fandom.com/wiki/APIReference
and save it as 'api'"

Once saved, Claude can automatically reference the documentation when helping with PICO-8 code.

License

MIT (inherits from shrinko8)

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Pico8 MCP Server

How do I install Pico8 MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Pico8 MCP Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Pico8 MCP Server still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.