Interface Types · version 0.3.0-alpha.34
wasmcp:mcp
No description available.
Install
Add these interface types to your project:
component install wasmcp:mcp@0.3.0-alpha.34Learn more about the component CLI.
Worlds
W
stdio-transport
WA WIT framework for composing Model Context Protocol servers as WebAssembly components.
http-transport
WTransport world for HTTP-based MCP communication.
initialize-handler
WHandler world for MCP initialization.
middleware
WMiddleware world for request interception.
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.
initialize-result-writer
WWorld for writing initialization results
tools-result-writer
WWorld for writing tools results
resources-result-writer
WWorld for writing resources results
prompts-result-writer
WWorld for writing prompts results
completion-result-writer
World for writing completion results
Interfaces
I
types
ICore MCP data types and aliases
params
IParameter data types for MCP requests.
incoming-handler
IHandler interface for incoming MCP requests.
content
IContent types and structures for MCP messages.
write-initialize-result
IWrites initialization results to an output stream.
write-tool-result
IWrites tools/call and tools/list results to an output stream.
write-resource-result
IWrites resource-related results to an output stream.
write-prompt-result
IWrites prompt-related results to an output stream.
write-completion-result
Writes completion results to an output stream.
Metadata
| Size | 112.4 KiB |