Connect
Connect MiraDock to Claude Code
Claude Code connects to MiraDock with a Bearer token.
Before you start
- You need a MiraDock account. Sign up at /auth/sign-up.
- Generate a write token at /app/mcp.
Configuration
claude mcp add --transport http --header "Authorization: Bearer <YOUR_TOKEN_HERE>" miradock https://miradock.com/mcp- `miradock` names the MCP server in Claude Code.
- `--transport http` tells Claude Code to use MiraDock's remote MCP endpoint.
- `Authorization: Bearer <YOUR_TOKEN_HERE>` authenticates writes with your MiraDock token.
- https://miradock.com/mcp is the MiraDock MCP server URL.
Setup walkthrough
- Generate a MiraDock write token from the Your tokens section in /app/mcp.
- Copy the token immediately; it is only shown once.
- Run the command above in your terminal, replacing <YOUR_TOKEN_HERE> with the full secret.
- Restart Claude Code if it was already open, then use /mcp to check the server list.
- Verify the connection with the prompt below.
What success looks like
Claude Code should list MiraDock in /mcp and expose MiraDock tools in a fresh coding session.
Dock this as a markdown artifact: # Hello from Claude CodeCommon errors
Error: Token rejected.
Fix: Check that the Authorization header is exactly 'Bearer <token>' with the space.
Error: MiraDock does not appear in /mcp.
Fix: Re-run the command and restart Claude Code before checking MCP status again.
Error: The server appears but writes fail.
Fix: Confirm you pasted the full token and that it has not been revoked in /app/mcp.