Docs menu
Docs/AI agents

Connect Claude Code to Spritory

Connect Spritory to Claude Code, Anthropic's coding agent, and ask Claude to build and edit pixel art sprites and effects while you work on your game.

What you need

A Spritory token and the server address https://spritory.com/api/mcp. See how to connect to create a token. Below, replace spt_your_token with yours.

Add Spritory

Run this in your terminal:

bash
claude mcp add --transport http spritory https://spritory.com/api/mcp --header "Authorization: Bearer spt_your_token"

Your billing page shows this command with your token already filled in, right after you create the token.

Choose where it applies

Add --scope to the command to decide where Spritory is available:

  • local. The default. Only you, only in the current project.
  • user. Only you, in every project.
  • project. Everyone on the project, through a shared .mcp.json file. Do not put your token in a shared file. Have each person use their own token.
bash
claude mcp add --scope user --transport http spritory https://spritory.com/api/mcp --header "Authorization: Bearer spt_your_token"

Check the connection

bash
claude mcp list

Spritory should show as connected. Inside a session, type /mcp to see its status.

Next steps

Ask your agent to make something in Spritory. For ideas, see prompt ideas. If something goes wrong, see troubleshooting.

Try it in the Forge

Open the editor for free and build along with this page.

Open the Forge