Module methods

Module methods 

Source
Expand description

Standard MCP method names as defined in the MCP specification.

Constantsยง

COMPLETION_COMPLETE
Request completion suggestions.
ELICITATION_CREATE
Create an elicitation request.
INITIALIZE
Initialize the connection and negotiate capabilities.
LOGGING_SET_LEVEL
Set the logging level.
PING
Ping to check if the connection is alive.
PROMPTS_GET
Get a specific prompt with arguments.
PROMPTS_LIST
List available prompts.
RESOURCES_LIST
List available resources.
RESOURCES_READ
Read the contents of a resource.
RESOURCES_SUBSCRIBE
Subscribe to resource updates.
RESOURCES_TEMPLATES_LIST
List available resource templates.
RESOURCES_UNSUBSCRIBE
Unsubscribe from resource updates.
SAMPLING_CREATE_MESSAGE
Request the client to sample from a language model.
TASKS_CANCEL
Cancel a running task.
TASKS_GET
Get status of a specific task.
TASKS_LIST
List running tasks.
TOOLS_CALL
Call a specific tool with arguments.
TOOLS_LIST
List available tools.