Connect Spritory to Cursor and ask its agent for pixel art sprites and effects while you build your game, without leaving the editor.
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.
Pick a config file
- One project.
.cursor/mcp.jsonin the project folder. - Every project.
~/.cursor/mcp.jsonin your home folder.
Add Spritory
Add Spritory under mcpServers. This example reads the token from an environment variable, which keeps it out of the file:
{
"mcpServers": {
"spritory": {
"url": "https://spritory.com/api/mcp",
"headers": {
"Authorization": "Bearer ${env:SPRITORY_TOKEN}"
}
}
}
}Set your token
Set SPRITORY_TOKEN in your shell profile, then restart Cursor so it sees the variable:
export SPRITORY_TOKEN="spt_your_token"Check the connection
Open Cursor Settings and go to the MCP section. Spritory should be listed and enabled, with its tools. If it shows an error, check the address and the token.
Next steps
Ask your agent to make something in Spritory. For ideas, see prompt ideas. If something goes wrong, see troubleshooting.