Connect Claude Code
Claude Code connects to Trace natively over HTTP. Add the server once, then complete the OAuth sign-in from inside a session.
Before you start
Section titled “Before you start”You need a Trace account on the Starter plan or higher. Connecting uses OAuth — you’ll sign in to Trace in your browser; there’s no API key to paste. Your Trace email must be verified, and some tools require the Pro plan. See Authentication for the full access model.
-
Add the server:
Terminal window claude mcp add --transport http trace https://mcp.tracedata.ai/mcp -
Start (or resume) a Claude Code session and run:
/mcpThis lists your MCP servers and triggers the browser sign-in for any that need authentication. You can also run
claude mcp login tracedirectly. -
Log in to Trace and approve access. Tokens are stored in your OS keychain, so you only sign in once per machine.
Next steps
Section titled “Next steps”- See what Claude can do with the connection in MCP tools.
- Background on the server and transport: MCP overview.