MCP Server for AI Coding Assistants

Use Nexsprite directly from Claude Code, Cursor, Windsurf, or any MCP-compatible AI assistant. Generate pixel art and check credits without leaving your editor.

Setup

Add the following to your MCP configuration file (e.g. mcp.json, .cursor/mcp.json, etc.):

{
  "mcpServers": {
    "nexsprite": {
      "command": "npx",
      "args": ["@nexsprite/mcp"],
      "env": {
        "NEXSPRITE_API_KEY": "nxs_your_api_key"
      }
    }
  }
}

Available Tools

generate_pixel_art

Generate isometric pixel art from a text description. Supports a save_to parameter to write the image directly to a file path.

check_credits

Check remaining credits on the account.

Supported Environments

  • Claude Code
  • Cursor
  • Windsurf
  • Any editor or agent that supports the MCP protocol

API Key

The MCP server authenticates using the same API keys as the REST API. Create and manage keys on your Account page.