Table of Contents

Class Implementation

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Provides the name and version of an MCP implementation.

public class Implementation
Inheritance
Implementation
Inherited Members

Remarks

The Implementation class is used to identify MCP clients and servers during the initialization handshake. It provides version and name information that can be used for compatibility checks, logging, and debugging.

Both clients and servers provide this information during connection establishment.

See the schema for details.

Properties

Name

Gets or sets the name of the implementation.

[JsonPropertyName("name")]
public required string Name { get; set; }

Property Value

string

Remarks

This is typically the name of the client or server library/application.

Version

Gets or sets the version of the implementation.

[JsonPropertyName("version")]
public required string Version { get; set; }

Property Value

string

Remarks

The version is used during client-server handshake to identify implementation versions, which can be important for troubleshooting compatibility issues or when reporting bugs.