Interface Types · version 0.3.1-alpha.4
wasmcp:mcp
No description available.
Install
Add these interface types to your project:
component install wasmcp:mcp@0.3.1-alpha.4Learn more about the component CLI.
Worlds
W
middleware
WA WIT framework for composing Model Context Protocol servers as WebAssembly components.
response
Wtools-response
Wtools-handler
WHandles MCP tools/ requests.
resources-response
Wresources-handler
Wprompts-response
Wprompts-handler
Wcompletions-response
Wcompletions-handler
Wlifecycle-response
Wlifecycle-handler
Lifecycle handler for MCP servers.
Interfaces
I
protocol
Irequest
IMCP request context
incoming-handler
IHandler interface for incoming MCP requests.
notifications
Ierror-result
IWrites JSON-RPC error responses to an output stream.
empty-result
IWrites an empty JSON-RPC response to an output stream.
initialize-result
IWrites initialization results to an output stream.
list-tools-result
IWrites tools/list results to an output stream.
content-tool-result
IWrites tools/call content results (unstructured).
structured-tool-result
IWrites a tools/call structured result.
list-resources-result
IWrites resources/list results to an output stream.
read-resource-result
IWrites resources/read results to an output stream.
list-resource-templates-result
IWrites resource-templates/list results to an output stream.
list-prompts-result
IWrites prompts/list results to an output stream.
get-prompt-result
IWrites prompts/get results to an output stream.
complete-result
IWrites completion/complete results to an output stream.
session
MCP session management and related features
Metadata
| Size | 120.2 KiB |