Interface Types · version 0.3.0-alpha.28
wasmcp:mcp
No description available.
Install
Add these interface types to your project:
component install wasmcp:mcp@0.3.0-alpha.28Learn more about the component CLI.
Worlds
W
jwt-validator
WWorld implementing JWT validation.
http-authorizer
WAuthorization middleware for HTTP transport.
request-context
WWorld providing request context functionality.
session-context
WWorld providing request context with session support.
initialize-handler
WHandler world for MCP initialization.
tool-handler
WHandler world for MCP tool operations.
resource-handler
WHandler world for MCP resource operations.
prompt-handler
WHandler world for MCP prompt operations.
completion-handler
WHandler world for MCP completion operations.
middleware
WMiddleware world for request interception.
chained-initialize-handler
WChained handler for initialization with middleware support.
chained-tool-handler
WChained handler for tool operations with middleware support.
chained-resource-handler
WChained handler for resource operations with middleware support.
chained-prompt-handler
WChained handler for prompt operations with middleware support.
chained-completion-handler
WChained handler for completion operations with middleware support.
initialize-result
WWorld for writing initialization results
tool-result
WWorld for writing tools results
resource-result
WWorld for writing resources results
prompt-result
WWorld for writing prompts results
completion-result
WWorld for writing completion results
stdio-transport
WTransport world for stdio-based MCP communication.
http-transport
Transport world for HTTP-based MCP communication.
Interfaces
I
jwt
IJWT validation and authentication.
types
ICore types for the Model Context Protocol.
request
IRequest handling and context management.
incoming-handler
IHandler interface for incoming MCP requests.
error
IError handling for MCP operations.
content
IContent types and structures for MCP messages.
initialize-writer
IWrites initialization results to an output stream.
tool-writer
IWrites tools/call and tools/list results to an output stream.
resource-writer
IWrites resource-related results to an output stream.
prompt-writer
IWrites prompt-related results to an output stream.
completion-writer
Writes completion results to an output stream.
Metadata
| Size | 179.9 KiB |