1Install an SDK
Add the Node.js or PHP SDK to your service and instrument your HTTP client (axios, Guzzle or another client). It stays out of the way of your requests.
Every request, explained. Record the HTTP calls your services make, including each retry, header and body, and find out what happened.
npm install @inspector-rest/sdkimport axios from 'axios';
import { create_inspector } from '@inspector-rest/sdk';
import instrument_axios from '@inspector-rest/sdk/axios';
const inspector = create_inspector({
server_key: process.env.INSPECTOR_REST_KEY,
service: 'billing',
});
instrument_axios(axios, inspector);composer require inspector-rest/sdkuse InspectorRest\GuzzleMiddleware;
use InspectorRest\Inspector;
$inspector = new Inspector([
'server_key' => getenv('INSPECTOR_REST_KEY'),
'service' => 'billing',
]);
$stack->push(GuzzleMiddleware::create($inspector));Set INSPECTOR_REST_KEY to the ingest key of an environment. Your first request shows up in the app a few seconds later.
inspector.rest records the outgoing HTTP requests of your services: the request, the response, every retry, headers, bodies, timings and errors. You search and inspect them in the web app, or you let an AI agent do it through a read-only MCP server.
Add the Node.js or PHP SDK to your service and instrument your HTTP client (axios, Guzzle or another client). It stays out of the way of your requests.
Open the app to filter, search bodies with text or regex, follow requests live and see every attempt as a waterfall.
Connect Claude, Claude Code, Cursor, VS Code or any MCP client. Agents summarize first and read only what they need.
Give your agent the full story.
The MCP server is read-only. Sign in with OAuth 2.1 or use a personal token, then ask about your traffic.
https://mcp.inspector.rest/mcpStill stuck? Read Troubleshooting or email [email protected].