Skip to main content
Glama

spritecook-mcp

将你的 AI 智能体(Cursor、VS Code、Claude、Codex、Grok Build 等)连接到 SpriteCook,用于 AI 驱动的像素艺术和游戏资源生成。

快速设置

npx spritecook-mcp setup

这将:

  1. 检测你已安装的 AI 客户端,包括 Grok Build

  2. 验证在需要时使用 API 密钥;Grok Build 使用宿主管理的 OAuth

  3. 自动配置 MCP 连接

  4. 安装可选的智能体技能,以实现更智能的 AI 集成

可选的技能包括精选的指南,涵盖异步任务轮询、规范 sprite_url 输出、模型发现、GPT-Image-2 质量设置、引导式角色工作流、保存的预设、多图像风格参考、本地文件上传、背景清理、资源组织与恢复,以及 Godot 就绪的角色导出。

Related MCP server: aseprite_mcp

你将获得

设置完成后,你的 AI 智能体可以直接生成像素艺术和游戏资源:

"生成一个 64x64 像素艺术剑精灵"

"为我的平台游戏创建角色精灵表"

"制作一组带透明背景的药水图标"

"使用我的角色预设生成新的待机精灵"

"导入这个本地 Boss PNG,然后为其制作缓慢待机动作的动画"

"移除这个角色资源的背景,并给我透明的 PNG"

"将生成的剑资源重命名为 Iron Sword Pickup"

手动配置

如果你希望手动配置,请参考以下内容添加到编辑器的 MCP 配置中:

Cursor.cursor/mcp.json):

{
  "mcpServers": {
    "spritecook": {
      "url": "https://api.spritecook.ai/mcp/",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

VS Code.vscode/settings.json):

{
  "mcp": {
    "servers": {
      "spritecook": {
        "type": "http",
        "url": "https://api.spritecook.ai/mcp/",
        "headers": { "Authorization": "Bearer YOUR_API_KEY" }
      }
    }
  }
}

Grok Build.grok/config.toml~/.grok/config.toml):

[mcp_servers.spritecook]
url = "https://api.spritecook.ai/mcp/oauth"
enabled = true
tool_timeout_sec = 6000

在 Grok Build 中打开 /mcps 并验证 spritecook。Grok 会存储并刷新 OAuth 凭据,而不会将其暴露给模型。如果工具没有出现,请运行 grok mcp doctor spritecookgrok inspect

该仓库还包含一个根目录下的 .mcp.json,用于 Grok Build 市场提交。发布市场列表是一个单独的发布步骤。

环境变量

  • SPRITECOOK_API_URL - 覆盖 API 基础 URL(用于本地开发)

链接

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Generate game assets with AI: sprites, 3D models, animations, sound effects, music, and voices.

  • Build and run visual creative-production workflows from your AI agent.

  • Generate images, GIFs, and PDFs from HTML, URLs, or templates — from your AI agent.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SpriteCook/spritecook-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server