MCP Catalogs
首页

pyxel-mcp

by kitao·17·综合分 43

MCP服务器,支持使用Pyxel进行AI辅助复古游戏开发,提供运行、捕获和分析游戏工具。

developer-toolsai-llmmedia
3
Forks
3
活跃 Issue
1 个月前
最近提交
2 天前
收录于

概述

Pyxel-MCP是一个专门的MCP服务器,使AI代理能够使用Pyxel(基于Python的复古游戏引擎)自主开发、测试和分析复古游戏。它提供全面的工具来运行游戏脚本、捕获屏幕截图、录制游戏玩法和调试游戏状态。服务器还将Pyxel参考文档作为MCP资源暴露,使AI代理在开发过程中更容易访问官方文档和示例。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:AI辅助复古游戏开发,包含自动化测试和迭代
:自动化精灵和动画分析,优化游戏设计
:游戏状态的视觉调试和像素级差异分析
:什么是Pyxel?
:如何通过此MCP服务器访问Pyxel示例?

什么时候选它

如果您正在使用Pyxel进行复古游戏开发,并希望AI协助进行自动化测试、视觉分析和代码验证,请选择此MCP服务器。

什么时候不要选它

如果您正在使用Unity或Unreal Engine等现代游戏引擎进行开发,请不要选择此服务器,因为它专门为Pyxel的复古游戏开发工作流程而设计。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • run_and_capture

    Run a Pyxel script and capture a screenshot after N frames

  • capture_frames

    Capture screenshots at multiple frame points for animation verification

  • record_gameplay

    Record N frames as a GIF for animation/transition verification

  • play_and_capture

    Play a game by sending simulated input and capture screenshots

  • validate_script

    Validate a Pyxel script without running it

  • inspect_state

    Read game object attributes at specific frames for debugging

  • inspect_screen

    Capture screen as a compact color index grid

  • compare_frames

    Compare screenshots at two frames and report pixel differences

  • inspect_sprite

    Inspect sprite pixel data from a Pyxel image bank

  • inspect_layout

    Analyze screen layout, text alignment, and visual balance

  • inspect_palette

    Analyze color usage and contrast in a Pyxel screenshot

  • render_audio

    Render a Pyxel sound or music to WAV and return waveform analysis

可对比工具

retro-engine-mcpgame-dev-toolspyxelpico-8-mcp

安装

安装

  1. 安装包:
pip install pyxel-mcp
  1. 在您的AI代理中将pyxel-mcp注册为MCP服务器。对于Claude Code,请添加到项目的.mcp.json中:
{
  "mcpServers": {
    "pyxel": {
      "type": "stdio",
      "command": "pyxel-mcp"
    }
  }
}

FAQ

什么是Pyxel?
Pyxel是一个用于Python的复古游戏引擎,灵感来自PICO-8,旨在创建小型复古风格游戏。
如何通过此MCP服务器访问Pyxel示例?
您可以在Claude Code中使用`@pyxel:examples/<name>`格式引用示例,例如`@pyxel:examples/02_jump_game`。

pyxel-mcp 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。