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": {
"type": "streamable-http",
"url": "https://miradock.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN_HERE>"
}
}
}
}- `mcpServers.miradock` registers MiraDock as a named MCP server.
- `type: "streamable-http"` tells Cursor to use MiraDock's remote MCP transport.
- `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.
Dock this as a markdown artifact: # Hello from CursorCommon 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.