McpResource
Machine-readable MCP resource descriptor.
- Kind:
Class - Namespace: Repl.Protocol
- Assembly:
Repl.Protocol - Source: src/Repl.Protocol/McpResource.cs
Signature
Section titled “Signature”public sealed record McpResource : IEquatable<McpResource>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<McpResource>
Constructors
Section titled “Constructors”McpResource(string, string, string)
Section titled “McpResource(string, string, string)”Machine-readable MCP resource descriptor.
public McpResource(string Uri, string Name, string Description)Parameters
Section titled “Parameters”Uri(string): Resource URI.Name(string): Human-readable resource name.Description(string): Resource description.
Properties
Section titled “Properties”Description
Section titled “Description”Resource description.
public string Description { get; init; }Returns
Section titled “Returns”Human-readable resource name.
public string Name { get; init; }Returns
Section titled “Returns”Resource URI.
public string Uri { get; init; }