MCPcopy Index your code
hub / github.com/modelcontextprotocol/python-sdk / read

Method read

src/mcp/server/mcpserver/resources/base.py:41–43  ·  view source on GitHub ↗

Read the resource content.

(self)

Source from the content-addressed store, hash-verified

39
40 @abc.abstractmethod
41 async def read(self) -> str | bytes:
42 """Read the resource content."""
43 pass # pragma: no cover

Calls

no outgoing calls