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

Full access to Spritory and the server URL https://spritory.com/api/mcp. You sign in to Spritory when your app asks, so there is no token to copy. See pricing for full access.

Add Spritory

Run this in your terminal:

bash
claude mcp add --transport http spritory https://spritory.com/api/mcp

Sign in

  1. Start Claude Code and type /mcp.
  2. Pick spritory and choose Authenticate.
  3. Sign in to Spritory in your browser and approve.

Claude Code keeps you signed in and refreshes access on its own.

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. Each person signs in with their own account.
bash
claude mcp add --scope user --transport http spritory https://spritory.com/api/mcp

Use a personal token instead

For scripts, CI or a machine without a browser, create a token on your Agents page and pass it as a header:

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

A token acts as your account. Do not commit it to a repository or paste it into shared chats. If one leaks, revoke it on your Agents page and create a new one.

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 what you can do. 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