Connect
Connect MiraDock to Cursor
Cursor connects to MiraDock with a Bearer token via its MCP settings.
Before you start
- You need a MiraDock account. Sign up at /auth/sign-up.
- Generate a write token at /app/mcp.
Configuration
{
"mcpServers": {
"miradock": {
"url": "https://miradock.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN_HERE>"
}
}
}
}- `mcpServers.miradock` registers MiraDock as a named MCP server.
- `url` points Cursor at MiraDock's MCP endpoint.
- `headers.Authorization` carries your write token as a Bearer credential.
Setup walkthrough
- Generate a MiraDock write token from the Your tokens section in /app/mcp.
- Copy the token immediately; it is only shown once.
- Save the JSON above to ~/.cursor/mcp.json or your project's .cursor/mcp.json.
- Replace <YOUR_TOKEN_HERE> with the full secret, then reload or restart Cursor.
- Verify the connection with the prompt below.
What success looks like
Cursor should show MiraDock in its MCP settings and make MiraDock tools available to the agent.
Read the MiraDock Game SDK and help me build, validate, and publish a small Game.Common errors
Error: Tool not showing up.
Fix: Restart Cursor after editing settings.
Error: Token rejected.
Fix: Make sure the Authorization header starts with 'Bearer ' and includes your full MiraDock token.
Error: JSON fails to load.
Fix: Validate the file and check for missing commas or extra comments.