inspector.restDocs

Connect an AI agent

Step-by-step setup of the inspector.rest MCP server in Claude, Claude Code, Cursor, VS Code and other MCP clients, with OAuth sign-in or a personal token.

The server address is the same for every client:

Text
https://mcp.inspector.rest/mcp

You can connect in two ways. Clients that support OAuth need no token: you sign in to inspector.rest and choose what the agent may see. For other clients, create a personal token in the console under MCP access (console.inspector.rest/<org-slug>/mcp) and send it as Authorization: Bearer irt_.... See Access, scopes and masking for the differences.

  1. In Claude, open Settings → Connectors and add a custom connector.
  2. Paste the server URL.
  3. Sign in to inspector.rest. On the consent screen choose the organization, what the agent can see, the tool groups, masking and the expiry.

Claude connects with OAuth, so you do not need a token. The connection appears under MCP access in the console once you allow it.

Create a token

  1. Open the console and go to MCP access.
  2. Choose New token.
  3. Name it, choose the scope (all projects, or selected projects and optionally environments), the tool groups, whether secrets are masked and the expiry.
  4. Copy the token. It is shown once, together with a ready-made command for your client.

Check that it works

Ask your agent: “List my inspector.rest environments.” It calls list_environments and shows the environments the connection can read. Then try “Summarize the errors in production over the last 24 hours.”

If something is wrong, see Troubleshooting.