Class McpServerInfo
The server, as a McpToolServer tells an assistant's host about it when it answers initialize.
public sealed record McpServerInfo : IEquatable<McpServerInfo>
- Inheritance
-
McpServerInfo
- Implements
- Inherited Members
Properties
Instructions
What the assistant is told about using the server's tools (instructions); null for nothing.
public string? Instructions { get; init; }
Property Value
Name
The server's name (serverInfo.name).
public string Name { get; init; }
Property Value
Title
A name for a person to read (serverInfo.title); null for none.
public string? Title { get; init; }
Property Value
Version
The server's version (serverInfo.version).
public string Version { get; init; }