Class McpMethods
java.lang.Object
org.apache.juneau.bean.mcp.v20260728.McpMethods
JSON-RPC method names used by MCP over HTTP.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringComplete a prompt argument or resource-template variable.static final StringNotification: the prompt list changed.static final StringNotification: the resource list changed.static final StringNotification: a subscribed resource's content changed.static final StringMandatory first frame on everySUBSCRIPTIONS_LISTENstream, echoing the honored filter.static final StringNotification: the tool list changed.static final StringLiveness / keepalive.static final StringFetch a prompt.static final StringList prompts.static final StringList resources.static final StringRead a resource.static final StringList resource templates.static final StringServer-to-client duplex sampling request (MCP sampling).static final StringDiscover server identity and capabilities.static final StringStart a held-open notification stream (SEP-2575).static final StringExecute a tool.static final StringList tools. -
Method Summary
-
Field Details
-
SERVER_DISCOVER
Discover server identity and capabilities.- See Also:
-
PING
Liveness / keepalive.- See Also:
-
TOOLS_LIST
List tools.- See Also:
-
TOOLS_CALL
Execute a tool.- See Also:
-
PROMPTS_LIST
List prompts.- See Also:
-
PROMPTS_GET
Fetch a prompt.- See Also:
-
RESOURCES_LIST
List resources.- See Also:
-
RESOURCES_READ
Read a resource.- See Also:
-
RESOURCES_TEMPLATES_LIST
List resource templates.- See Also:
-
COMPLETION_COMPLETE
Complete a prompt argument or resource-template variable.- See Also:
-
SAMPLING_CREATE_MESSAGE
Server-to-client duplex sampling request (MCP sampling). Never dispatched throughMcpRevision— flows over theMcpDuplexDispatcher/McpServerRequestHandlerseam.- See Also:
-
SUBSCRIPTIONS_LISTEN
Start a held-open notification stream (SEP-2575). Replacesresources/subscribe/resources/unsubscribeand the old HTTP GET SSE endpoint.- See Also:
-
NOTIFICATIONS_RESOURCES_UPDATED
Notification: a subscribed resource's content changed. Only deliverable inside aSUBSCRIPTIONS_LISTENstream.- See Also:
-
NOTIFICATIONS_RESOURCES_LIST_CHANGED
Notification: the resource list changed. Only deliverable inside aSUBSCRIPTIONS_LISTENstream.- See Also:
-
NOTIFICATIONS_TOOLS_LIST_CHANGED
Notification: the tool list changed. Only deliverable inside aSUBSCRIPTIONS_LISTENstream.- See Also:
-
NOTIFICATIONS_PROMPTS_LIST_CHANGED
Notification: the prompt list changed. Only deliverable inside aSUBSCRIPTIONS_LISTENstream.- See Also:
-
NOTIFICATIONS_SUBSCRIPTIONS_ACKNOWLEDGED
Mandatory first frame on everySUBSCRIPTIONS_LISTENstream, echoing the honored filter.- See Also:
-