List of all items
Structs
- Annotations
- AudioContent
- EmbeddedResource
- Icon
- ImageContent
- Message
- Prompt
- PromptArgument
- PromptResult
- Resource
- ResourceAnnotations
- ResourceResult
- ResourceTemplate
- ServerInfo
- TextContent
- Tool
- ToolAnnotations
- ToolInputSchema
- ToolResult
- auth::HeaderExtractor
- auth::JwtConfig
- auth::Principal
- auth::StandardClaims
- context::RequestContext
- error::ErrorContext
- error::McpError
- jsonrpc::JsonRpcError
- jsonrpc::JsonRpcIncoming
- jsonrpc::JsonRpcNotification
- jsonrpc::JsonRpcOutgoing
- jsonrpc::JsonRpcRequest
- jsonrpc::JsonRpcResponse
- jsonrpc::JsonRpcVersion
- jsonrpc::ResponseId
- response::Image
- response::Json
- response::Text
- response::ToolError
- rkyv_types::ArchivedInternalBatch
- rkyv_types::ArchivedInternalError
- rkyv_types::ArchivedInternalMessage
- rkyv_types::ArchivedInternalResponse
- rkyv_types::ArchivedRoutingHints
- rkyv_types::InternalBatch
- rkyv_types::InternalBatchResolver
- rkyv_types::InternalError
- rkyv_types::InternalErrorResolver
- rkyv_types::InternalMessage
- rkyv_types::InternalMessageResolver
- rkyv_types::InternalResponse
- rkyv_types::InternalResponseResolver
- rkyv_types::RoutingHints
- rkyv_types::RoutingHintsResolver
- router::RouteConfig
- security::InputLimits
- uri_template::UriTemplate
Enums
- Content
- ResourceContents
- Role
- auth::Audience
- auth::AuthError
- auth::Credential
- auth::JwtAlgorithm
- context::TransportType
- error::ErrorKind
- jsonrpc::JsonRpcErrorCode
- jsonrpc::JsonRpcResponsePayload
- jsonrpc::RequestId
- rkyv_types::ArchivedInternalId
- rkyv_types::InternalId
- rkyv_types::InternalIdResolver
- security::InputValidationError
Traits
- IntoPromptResult
- IntoResourceResult
- IntoToolResult
- auth::Authenticator
- auth::CredentialExtractor
- handler::McpHandler
- marker::MaybeSend
- marker::MaybeSync
- response::IntoToolError
- response::IntoToolResponse
- session::Cancellable
- session::McpSession
Macros
Functions
- context::clear_min_log_level
- context::clear_session_log_state
- log_level_rank
- router::dispatch_notification
- router::parse_request
- router::parse_request_from_value
- router::route_request
- router::serialize_response
- security::check_uri_scheme_safety
- security::sanitize_error_message
- uri_template::decode
- uri_template::matches
Type Aliases
Constants
- DEFAULT_TIMEOUT_MS
- LOG_LEVELS
- MAX_MESSAGE_SIZE
- PROTOCOL_VERSION
- SDK_NAME
- SDK_VERSION
- SUPPORTED_VERSIONS
- context::MAX_LOG_NOTIFICATIONS_PER_SECOND
- error_codes::AUTHENTICATION_REQUIRED
- error_codes::CAPABILITY_NOT_SUPPORTED
- error_codes::INTERNAL_ERROR
- error_codes::INVALID_PARAMS
- error_codes::INVALID_REQUEST
- error_codes::METHOD_NOT_FOUND
- error_codes::PARSE_ERROR
- error_codes::PROMPT_NOT_FOUND
- error_codes::PROTOCOL_VERSION_MISMATCH
- error_codes::RATE_LIMITED
- error_codes::RESOURCE_ACCESS_DENIED
- error_codes::RESOURCE_NOT_FOUND
- error_codes::SERVER_OVERLOADED
- error_codes::TOOL_EXECUTION_ERROR
- error_codes::TOOL_NOT_FOUND
- error_codes::URL_ELICITATION_REQUIRED
- features::LOGGING
- features::PROGRESS
- features::PROMPTS
- features::RESOURCES
- features::ROOTS
- features::SAMPLING
- features::TOOLS
- jsonrpc::JSONRPC_VERSION
- meta_keys::ERROR_CODE
- meta_keys::ERROR_DATA
- meta_keys::ERROR_KIND
- meta_keys::PREFIX
- methods::CALL_TOOL
- methods::CREATE_MESSAGE
- methods::GET_PROMPT
- methods::INITIALIZE
- methods::INITIALIZED
- methods::LIST_PROMPTS
- methods::LIST_RESOURCES
- methods::LIST_RESOURCE_TEMPLATES
- methods::LIST_ROOTS
- methods::LIST_TOOLS
- methods::LOG_MESSAGE
- methods::PROGRESS
- methods::READ_RESOURCE
- methods::RESOURCE_LIST_CHANGED
- methods::RESOURCE_UPDATED
- methods::ROOTS_LIST_CHANGED
- methods::SET_LEVEL
- methods::SUBSCRIBE
- methods::UNSUBSCRIBE
- security::DANGEROUS_URI_SCHEMES
- security::DEFAULT_MAX_PARAMS
- security::DEFAULT_MAX_PARAM_NAME_LENGTH
- security::DEFAULT_MAX_STRING_LENGTH
- security::DEFAULT_MAX_URI_LENGTH
- security::GENERIC_ERROR_MESSAGE