resources • Rust AI Agent SDK
resources: Get registered resources
resources
Method
</div>
This is a method of the MCPServer class in the mcp module.
Get registered resources
Signature
pythondef resources(&self) -> &[MCPResource]
Returns
ResponseField &[MCPResource]The result of the operation.