Expand description
MCP server implementation.
Modules§
- adapters
Non-WebAssembly - Transport adapter patterns for connecting protocol handlers to various transports.
- auth
Non-WebAssembly - Server-side authentication providers and middleware.
- batch
Non-WebAssembly - Server-side batch request handling.
- builder
Non-WebAssembly - Builder pattern for constructing
ServerCoreinstances. - builder_
middleware_ executor Non-WebAssembly - Builder-scoped middleware executor for workflow registration. Builder-scoped middleware executor for workflow registration.
- cancellation
Non-WebAssembly - Request cancellation support for MCP server.
- core
Non-WebAssembly - Transport-independent MCP server core implementation.
- dynamic
Non-WebAssembly - Dynamic server management for runtime configuration changes.
- dynamic_
resources Non-WebAssembly - Dynamic resource provider system for pattern-based resource routing. Dynamic resource provider system for pattern-based resource routing.
- elicitation
Non-WebAssembly - User input elicitation support for MCP servers.
- error_
codes Non-WebAssembly - Standard error codes for validation with client elicitation support. Standard error codes for validation with client elicitation support
- http_
middleware Non-WebAssembly - Server-side HTTP middleware for request/response interception.
- middleware_
executor Non-WebAssembly - Middleware executor abstraction for consistent tool execution. Middleware executor abstraction for tool execution.
- notification_
debouncer Non-WebAssembly - Advanced notification debouncing system for MCP servers.
- observability
Non-WebAssembly - Observability infrastructure for tracing, metrics, and logging. Observability infrastructure for MCP servers.
- path_
validation Non-WebAssembly - Cross-platform path validation with security constraints. Cross-platform path validation with security constraints
- preset
Non-WebAssembly - Server middleware presets with sensible defaults.
- progress
Non-WebAssembly - Progress reporting support for long-running operations. Progress reporting support for long-running operations.
- resource_
watcher Non-WebAssembly and resource-watcher - Resource watcher for monitoring file system changes.
- roots
Non-WebAssembly - Server-side roots management.
- schema_
utils schema-generation - Schema utilities for normalizing and inlining JSON schemas. Schema utilities for normalizing and inlining JSON schemas
- simple_
prompt Non-WebAssembly - Simple prompt implementations with metadata support. Simple prompt implementations with metadata support.
- simple_
resources Non-WebAssembly - Simple resource implementations with builder pattern support. Simple resource implementations with builder pattern support.
- simple_
tool Non-WebAssembly - Simple tool implementations with schema support. Simple tool implementations with schema support.
- streamable_
http_ server Non-WebAssembly and streamable-http - Streamable HTTP server implementation for MCP.
- subscriptions
Non-WebAssembly - Server-side resource subscription management.
- tool_
middleware Non-WebAssembly - Tool middleware for cross-cutting concerns in tool execution. Tool middleware for cross-cutting concerns in tool execution.
- transport
Non-WebAssembly - Server-specific transport implementations.
- typed_
tool Non-WebAssembly - Typed tool implementations with automatic schema generation. Type-safe tool implementations with automatic schema generation.
- ui
Non-WebAssembly - UI resource implementations for MCP Apps Extension (SEP-1865). UI resource builder for MCP Apps Extension (SEP-1865).
- validation
Non-WebAssembly - Validation helpers for typed tools. Validation helpers for typed tools
- workflow
Non-WebAssembly - Workflow-based prompt system with type-safe handles and ergonomic builders. Workflow-based prompt system
Structs§
- Server
Non-WebAssembly - MCP server implementation.
- Server
Builder Non-WebAssembly - Builder for creating servers.
Traits§
- Prompt
Handler - Handler for prompt generation.
- Resource
Handler - Handler for resource access.
- Sampling
Handler - Handler for message sampling (LLM operations).
- Tool
Handler - Handler for tool execution.