Module server

Module server 

Source
Expand description

MCP server implementation.

Modules§

adaptersNon-WebAssembly
Transport adapter patterns for connecting protocol handlers to various transports.
authNon-WebAssembly
Server-side authentication providers and middleware.
batchNon-WebAssembly
Server-side batch request handling.
builderNon-WebAssembly
Builder pattern for constructing ServerCore instances.
builder_middleware_executorNon-WebAssembly
Builder-scoped middleware executor for workflow registration. Builder-scoped middleware executor for workflow registration.
cancellationNon-WebAssembly
Request cancellation support for MCP server.
coreNon-WebAssembly
Transport-independent MCP server core implementation.
dynamicNon-WebAssembly
Dynamic server management for runtime configuration changes.
dynamic_resourcesNon-WebAssembly
Dynamic resource provider system for pattern-based resource routing. Dynamic resource provider system for pattern-based resource routing.
elicitationNon-WebAssembly
User input elicitation support for MCP servers.
error_codesNon-WebAssembly
Standard error codes for validation with client elicitation support. Standard error codes for validation with client elicitation support
http_middlewareNon-WebAssembly
Server-side HTTP middleware for request/response interception.
middleware_executorNon-WebAssembly
Middleware executor abstraction for consistent tool execution. Middleware executor abstraction for tool execution.
notification_debouncerNon-WebAssembly
Advanced notification debouncing system for MCP servers.
observabilityNon-WebAssembly
Observability infrastructure for tracing, metrics, and logging. Observability infrastructure for MCP servers.
path_validationNon-WebAssembly
Cross-platform path validation with security constraints. Cross-platform path validation with security constraints
presetNon-WebAssembly
Server middleware presets with sensible defaults.
progressNon-WebAssembly
Progress reporting support for long-running operations. Progress reporting support for long-running operations.
resource_watcherNon-WebAssembly and resource-watcher
Resource watcher for monitoring file system changes.
rootsNon-WebAssembly
Server-side roots management.
schema_utilsschema-generation
Schema utilities for normalizing and inlining JSON schemas. Schema utilities for normalizing and inlining JSON schemas
simple_promptNon-WebAssembly
Simple prompt implementations with metadata support. Simple prompt implementations with metadata support.
simple_resourcesNon-WebAssembly
Simple resource implementations with builder pattern support. Simple resource implementations with builder pattern support.
simple_toolNon-WebAssembly
Simple tool implementations with schema support. Simple tool implementations with schema support.
streamable_http_serverNon-WebAssembly and streamable-http
Streamable HTTP server implementation for MCP.
subscriptionsNon-WebAssembly
Server-side resource subscription management.
tool_middlewareNon-WebAssembly
Tool middleware for cross-cutting concerns in tool execution. Tool middleware for cross-cutting concerns in tool execution.
transportNon-WebAssembly
Server-specific transport implementations.
typed_toolNon-WebAssembly
Typed tool implementations with automatic schema generation. Type-safe tool implementations with automatic schema generation.
uiNon-WebAssembly
UI resource implementations for MCP Apps Extension (SEP-1865). UI resource builder for MCP Apps Extension (SEP-1865).
validationNon-WebAssembly
Validation helpers for typed tools. Validation helpers for typed tools
workflowNon-WebAssembly
Workflow-based prompt system with type-safe handles and ergonomic builders. Workflow-based prompt system

Structs§

ServerNon-WebAssembly
MCP server implementation.
ServerBuilderNon-WebAssembly
Builder for creating servers.

Traits§

PromptHandler
Handler for prompt generation.
ResourceHandler
Handler for resource access.
SamplingHandler
Handler for message sampling (LLM operations).
ToolHandler
Handler for tool execution.