inspector.restDocs

MCP for AI agents

Let AI agents such as Claude, Claude Code and Cursor investigate your recorded HTTP requests over a read-only MCP server that is designed to keep the model's context small.

The inspector.rest MCP server gives AI agents read-only access to your recorded requests. An agent can summarize traffic, filter requests, open a single request with its attempts, and read exactly the part of a body it needs.

Serverhttps://mcp.inspector.rest/mcp
Transport
Streamable HTTP, stateless. Only POST is supported; GET answers 405.
Sign-in
OAuth 2.1 (browser sign-in), or a personal token (irt_...) in an Authorization: Bearer header.
Access
Read-only. Every tool is marked readOnlyHint: true.

In this section

Designed for small context

The main goal is that an agent can work on projects with millions of requests and megabytes of body without filling its context window.

  • Summarize first. Tool descriptions guide the agent from summary to list to request to body.
  • Small by default. Every tool takes max_output_bytes. Defaults are 4 KB for lists and summaries, 6 KB for get_request and 8 KB for read_body; the server maximum is 32 KB. Results are cut at row or part boundaries, never in the middle of a value, and tell the agent how to continue.
  • Compact format. Lists are { columns, rows } without indentation, empty fields are omitted, times are ISO 8601, durations are whole milliseconds.
  • Bodies on demand. No tool returns a whole body by itself. describe_body shows the structure, and read_body reads selected JSON paths, matching lines, head, tail or a byte range. Binary bodies return metadata only.
  • Hints. Results include hints for the next step, for example “the body is 2.1 MB JSON; call describe_body first, then read_body with json_path”.

Safe by design

  • Read-only and limited to what you allow: scope (projects and environments), tool groups and expiry are set per connection.
  • Secrets are masked by default. See Access, scopes and masking.
  • Never more than the user. A connection never exceeds the role of the user who created it, and stops working when that user leaves the organization.
  • Untrusted content is labeled. Headers, bodies, URLs and labels come from third-party systems. Results are marked untrusted_content: true and tool descriptions tell agents never to follow instructions found in them.