Docs menu
Docs/AI agents

Connect VS Code to Spritory

Connect Spritory to VS Code and let GitHub Copilot in agent mode build pixel art sprites and effects for 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.

Add Spritory

Create .vscode/mcp.json in your project. To use Spritory in every workspace, run MCP: Open User Configuration from the Command Palette instead. Add:

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "spritory-token",
      "description": "Spritory MCP token",
      "password": true
    }
  ],
  "servers": {
    "spritory": {
      "type": "http",
      "url": "https://spritory.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${input:spritory-token}"
      }
    }
  }
}

The inputs entry makes VS Code ask for your token the first time and store it securely, so the token never sits in the file. That makes this file safe to commit.

Start the server

  1. Open the file and click Start above the Spritory entry.
  2. Paste your token when VS Code asks for it.
  3. Open Copilot Chat, switch to Agent mode, and check that the Spritory tools are enabled in the tools picker.

Good to know

  • Manage the server. Run MCP: List Servers and pick Spritory to start, stop or restart it, or to see its output when something goes wrong.
  • Organization policies. Some GitHub organizations turn off MCP servers in Copilot. Ask your admin if Spritory does not appear.

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