> ## Documentation Index
> Fetch the complete documentation index at: https://mcp-use.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://mcp-use.com/docs/feedback

```json
{
  "path": "/inspector/rpc-logging",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# RPC Logging

> Monitor JSON-RPC messages between the inspector and MCP servers in real-time

The MCP Inspector provides comprehensive RPC logging capabilities that allow you to monitor all [JSON-RPC](https://www.jsonrpc.org/) messages exchanged between the inspector and your MCP servers in real-time. This feature is essential for debugging, understanding server behavior, and troubleshooting connection issues.

## Overview

<Frame caption="Expanded RPC message showing detailed JSON payload">
  <img src="https://mintcdn.com/mcpuse/n93XEBNBBMRYn3wj/images/inspector/rpc-logs-detail.png?fit=max&auto=format&n=n93XEBNBBMRYn3wj&q=85&s=0b3b20085c8e20b596686a40a4d9b0e1" alt="Detailed view of an expanded RPC message with JSON payload" width="1274" height="842" data-path="images/inspector/rpc-logs-detail.png" />
</Frame>

### What is RPC Logging?

RPC (Remote Procedure Call) logging captures every [JSON-RPC](https://www.jsonrpc.org/) message sent to and received from MCP servers. This includes:

* **Tool calls**: Requests to execute tools and their responses
* **Resource requests**: Queries for resources and their results
* **Prompt requests**: Prompt execution requests and responses
* **Notifications**: Server-initiated notifications
* **Errors**: Error responses and connection issues

### Opening the RPC Panel

<Steps>
  <Step title="Navigate to a Tab">
    Open the Tools, Resources, or Prompts tab for a connected server.
  </Step>

  <Step title="Locate RPC Panel">
    The RPC Messages panel appears at the bottom of the left sidebar. It starts collapsed by default.
  </Step>

  <Step title="Expand Panel">
    Click on the "RPC Messages" header to expand the panel. You can resize it by dragging the handle above it.
  </Step>
</Steps>

<Frame caption="RPC Messages panel showing real-time JSON-RPC message logging">
  <img src="https://mintcdn.com/mcpuse/n93XEBNBBMRYn3wj/images/inspector/rpc-logs-full-screen.png?fit=max&auto=format&n=n93XEBNBBMRYn3wj&q=85&s=de985c430f7eba4a62ebd5740b8388b4" alt="RPC logging interface showing message list" width="3832" height="1974" data-path="images/inspector/rpc-logs-full-screen.png" />
</Frame>

## Understanding the Interface

### Message List

Each RPC message is displayed as a row with:

* **Timestamp**: Local time when the message was received
* **Direction Badge**:
  * <span className="inline-flex items-center px-1 py-0.5 rounded bg-green-500/10 text-green-600 dark:text-green-400">↑ SEND</span> - Outgoing messages from inspector to server
  * <span className="inline-flex items-center px-1 py-0.5 rounded bg-blue-500/10 text-blue-600 dark:text-blue-400">↓ RECEIVE</span> - Incoming messages from server to inspector
* **Method Name**: The JSON-RPC method being called (e.g., `tools/call`, `resources/read`)
* **Expandable Content**: Click to view the full JSON payload

## Technical Details

### Message Format

Each logged message contains:

```typescript theme={null}
{
  id: string;              // Unique message ID
  serverId: string;        // Server identifier
  direction: "SEND" | "RECEIVE";
  method: string;          // JSON-RPC method name
  timestamp: string;       // ISO timestamp
  payload: unknown;        // Full JSON-RPC payload
}
```

## Related Documentation

* [Tools Tab](/inspector/index) - Testing and executing tools
* [Resources Tab](/inspector/index) - Browsing server resources
* [Prompts Tab](/inspector/index) - Managing prompts
* [Connection Settings](/inspector/connection-settings) - Server configuration
* [Development](/inspector/development) - Inspector development guide
