Table of Contents

Namespace nanoFramework.WebServer.Mcp

Classes

DescriptionAttribute

Specifies a description for a class member, such as a property or method, for use in documentation or metadata.

McpPromptParameterAttribute

Represents a parameter for a Model Context Protocol (MCP) prompt, providing metadata about the parameter such as its name and description.

McpPromptRegistry

Registry for Model Context Protocol (MCP) prompts, allowing discovery and invocation of prompts defined with the McpServerPromptAttribute.

McpServerBasicAuthenticationController

McpServerController class provides endpoints for handling requests related to MCP (Model Context Protocol) tools. This controller is specifically designed for basic (user, password) authentication.

McpServerController

McpServerController class provides endpoints for handling requests related to MCP (Model Context Protocol) tools.

McpServerKeyAuthenticationController

McpServerController class provides endpoints for handling requests related to MCP (Model Context Protocol) tools. This controller is specifically designed for key-based authentication.

McpServerPromptAttribute

Used to indicate that a method should be considered an McpServerPromptAttribute.

McpServerToolAttribute

Attribute to mark a method as an MCP server tool and provide metadata for discovery and documentation.

McpToolJsonHelper

Provides utility methods for generating JSON schemas that describe the input and output parameters of tools.

McpToolRegistry

Registry for Model Context Protocol (MCP) tools, allowing discovery and invocation of tools defined with the McpServerToolAttribute.

PromptMessage

Represents a message within the Model Context Protocol (MCP) system, used for communication between clients and AI models.

PromptMetadata

Represents metadata information for a prompt, including its name, description and associated method.

RegistryBase

Base class for registries that support conversion and deserialization of objects.

ToolMetadata

Represents metadata information for a registered tool, including its name, description, input/output types, and associated method.

Enums

Role

Represents the type of role in the Model Context Protocol conversation.