Hooking up MCP in SnekLab
A guide on setting up Claude Code and SnekLab together via MCP

MCP lets an AI helper like Claude or Codex work on your SnekLab projects. It can read your game’s code, make changes, and save them as a new version. It can also be a massive cost savings if you have a subscription with one of those services. In a nutshell, you can use your Claude or Codex subscription to build on SnekLab.
You stay in charge. It can only see the projects you turn on.
What you need
A SnekLab account with an active plan
Claude Code, Claude Desktop, or Codex
About five minutes
Step 1: Make a token
A token is like a key. It lets your AI helper into SnekLab as you.
Click your profile picture in the left sidebar, then choose Settings.
Open the Tokens tab.

Screenshot of the Settings Modal (A token is a generated key that is a secret between SnekLab and your provider (Claude Code or Codex). With it, the provider can operate in SnekLab on your behalf, so it is critical you do not share it with anyone or otherwise make it publicly available. It is also considered a good practice to "rotate them" often. Meaning that you delete the old key and make a new one. This is to ensure no malicious actor can get into your stuff on SnekLab.)
Give your token a name, like “My laptop”.
Pick how long it lasts: 7, 30 or 90 days.
Click Create token.
Copy your token right away. SnekLab shows it only once. If you lose it, revoke it and make a new one.
Step 2: Connect your AI helper
Once your token is made, SnekLab shows setup steps for each helper, with your token already filled in. Pick yours and follow along.

Claude Code
Pick the Claude Code tab.
Copy the command, paste it into a terminal, and press Enter.
Start Claude Code and type
/mcp. You should see sneklab connected.
The first time, the command may say there’s nothing to remove. That’s normal.
Using the Code tab in Claude Desktop? It uses these same steps.

Claude Desktop
There are two ways in. Try the connector first. If it doesn’t work for you, use the config file.
Connector
In Claude Desktop, open Customize → Connectors. Click + Add, then Add custom connector.
Name it SnekLab, paste the server URL from SnekLab, and click Continue.
Under Authentication, choose No sign-in.
Open Request headers and pick authorization. Paste the value SnekLab gives you. Keep the word “Bearer” at the start.
Click Add. Then, in a chat, open + → Connectors and turn SnekLab on.
Don’t see Request headers? That option is still rolling out. Use the config file instead.
Config file
Install Node.js 18 or newer from nodejs.org if you don’t have it.
In Claude Desktop, open Settings → Developer and click Edit Config.
Open
claude_desktop_config.jsonand paste in the text SnekLab gives you. If the file already has settings, keep them. SnekLab’s steps show where the new part goes.
Save the file. Quit Claude Desktop all the way, then open it again.
In a chat, open + → Connectors. SnekLab is listed there.

Codex
Pick the Codex tab.
Copy the two lines, paste them into a terminal, and press Enter.
Add the first line to your shell profile (for example
~/.zshrc) so it works in every new terminal.Run
codex mcp listto check that sneklab is there. Then start Codex.
Step 3: Turn on MCP for your projects
Right now your helper can’t see anything. That’s on purpose. You choose which projects it can work on.
For a game:
Open the game.
Click the gear icon at the top (Prototype settings).

Tick Enable MCP access, then click Save.

For a design plan:
Open the board.
Click the gear icon at the top (Board settings).

Tick Allow MCP access. It saves right away.

On a shared project board, everyone on the project can reach the board with their own token. Only the board’s owner can turn this on or off.
Step 4: Try it
Ask your provider (Claude Code or Codex) something like:
“List my SnekLab prototypes.”
“Open my space game and make the player jump higher.”
“Add a sticky note to my design plan with three ideas for new enemies.”
Every change your helper saves becomes a new version of your game. You can go back to an older version any time from Versions & tools.
If something goes wrong
“Token expired”: Tokens stop working after the days you picked. Make a new token and do Step 2 again.
It can’t find your project: Check that MCP access is on for that project. When it’s off, your helper can’t see that the project exists.
You lost your token: Revoke it on the Tokens tab and make a new one.
Keep your token private. Anyone who has it can work on the projects you’ve turned on. If it gets out, revoke it right away.