Module methods

Source
Expand description

JSON-RPC method names for MCP messages

Constantsยง

INITIALIZE
Initialize the connection
LOGGING_MESSAGE
Log message notification
LOGGING_SET_LEVEL
Set logging level
PING
Ping to check connection
PROGRESS
Progress notification
PROMPTS_GET
Get a prompt
PROMPTS_LIST
List available prompts
PROMPTS_LIST_CHANGED
Notification when prompt list changes
RESOURCES_LIST
List available resources
RESOURCES_LIST_CHANGED
Notification when resource list changes
RESOURCES_READ
Read a resource
RESOURCES_SUBSCRIBE
Subscribe to resource updates
RESOURCES_UNSUBSCRIBE
Unsubscribe from resource updates
RESOURCES_UPDATED
Notification when a resource is updated
SAMPLING_CREATE_MESSAGE
Create a message using sampling
TOOLS_CALL
Call a tool
TOOLS_LIST
List available tools
TOOLS_LIST_CHANGED
Notification when tool list changes