Read MCP Server Resource
mcpdev_inspector_read_resourceFetch content from resources on MCP servers by specifying target, transport, and URI to retrieve text or binary data for inspection and debugging.
Instructions
Read a specific resource from a target MCP server.
Use this to fetch the content of a resource by its URI.
Args:
target (string): Target MCP server - command or URL
transport ('stdio' | 'sse' | 'http'): Transport type
timeout_ms (number): Timeout in milliseconds (default: 60000)
uri (string): Resource URI to read
Returns: The resource content (text or base64-encoded blob).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"uri": "<uri>"
},
"name": "mcpdev_inspector_read_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target MCP server - either a command (e.g., 'node server.js') or URL (e.g., 'https://example.com/sse') | |
| transport | No | Transport type: 'stdio' for local commands, 'sse' for SSE URLs, 'http' for streamable HTTP | |
| timeout_ms | No | Timeout in milliseconds (default: 60000) | |
| uri | Yes | Resource URI to read |