Interface Types · version 0.3.1-alpha.31
wasmcp:mcp
No description available.
Install
Add these interface types to your project:
component install wasmcp:mcp@0.3.1-alpha.31Learn more about the component CLI.
Worlds
W
transport
WProvides I/O, message framing, and message-scoped context
handler
WProcesses incoming messages
authorizer
WProvides identity claims about the current message
authorized-handler
WUses identity claims while handling messages
session-store
WProvides persistent, session-scoped storage and session lifecycle management.
stateful-handler
WUses session data while handling messages
middleware
WComposable with other handlers
feature-handler
Wlifecycle-handler
WHandles lifecycle events (initialization, pings, etc.)
tools-handler
WProvides models with tools for interacting with the outside world
resources-handler
WProvides models with access to external data
prompts-handler
WProvides clients with structured messages and instructions for interacting with language models
completions-handler
Provides argument autocompletion suggestions for prompts and resource URIs
Interfaces
I
protocol
Icontext
Iidentity
Imessage-handler
Ioutput
Isession
IMCP session management and related features
notification-response
Ierror-response
IWrite a JSON-RPC error response to an output stream.
lifecycle-response
IWrites initialization results to an output stream.
tools-response
Iresources-response
Iprompts-response
Icompletions-response
Writes completion/complete results to an output stream.
Metadata
| Size | 163.1 KiB |