Model Context Protocol (MCP) · Example Payload

Mcp Resources List Example

Model Context ProtocolMCPAI AgentsToolsResourcesPromptsJSON-RPCAnthropicStandardsTopic

Mcp Resources List Example is an example object payload from Model Context Protocol (MCP), with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

mcp-resources-list-example.json Raw ↑
{
  "request": {
    "jsonrpc": "2.0",
    "id": 4,
    "method": "resources/list"
  },
  "response": {
    "jsonrpc": "2.0",
    "id": 4,
    "result": {
      "resources": [
        {
          "uri": "file:///workspace/README.md",
          "name": "README.md",
          "title": "Project README",
          "mimeType": "text/markdown",
          "size": 4096
        },
        {
          "uri": "postgres://orders/recent",
          "name": "recent_orders",
          "title": "Recent Orders",
          "description": "Last 100 orders from the orders database.",
          "mimeType": "application/json"
        }
      ]
    }
  }
}