TsgcWSAPIServer_MCP › Methods

TsgcWSAPIServer_MCP Methods

Public methods grouped by purpose, followed by the full alphabetical list.

Server-initiated requests

NameDescription
RequestRootsListSends a roots/list request to the MCP client identified by the session.
RequestSamplingCreateMessageSends a sampling/createMessage request so the client’s LLM can produce a completion.
RequestElicitationCreateSends an elicitation/create request asking the client to collect structured input from the user.

Notifications

NameDescription
SendNotificationToolsListChangedBroadcasts notifications/tools/list_changed so clients refresh their tool catalogue.
SendNotificationPromptsListChangedBroadcasts notifications/prompts/list_changed so clients refresh their prompt catalogue.
SendNotificationResourcesListChangedBroadcasts notifications/resources/list_changed so clients refresh their resource catalogue.
SendNotificationResourcesUpdatedNotifies subscribed clients that a specific resource URI has been updated.
SendLogMessageSends a notifications/message log entry to every session whose logging level allows it.
SendNotificationProgressSends a notifications/progress notification for the request being processed.
NotifySubscriptionsSends a notification to every open subscription that watches it.

Tasks

NameDescription
CreateTaskTurns the current tools/call into a background task of the MCP tasks extension.

Client capabilities

NameDescription
CheckClientCapabilityRaises the error -32021 when the client of the request did not declare a capability.
HasClientCapabilityReturns True when the client of the request declared a capability.

Lifecycle

NameDescription
CloseSubscriptionsGracefully closes every open subscriptions/listen stream.
KeepAliveSends a keep-alive frame on the supplied connection to prevent idle disconnection.

All Methods (alphabetical)

NameDescription
CheckClientCapabilityRaises the error -32021 when the client of the request did not declare a capability.
CloseSubscriptionsGracefully closes every open subscriptions/listen stream.
CreateTaskTurns the current tools/call into a background task of the MCP tasks extension.
HasClientCapabilityReturns True when the client of the request declared a capability.
KeepAliveSends a keep-alive frame on the supplied connection to prevent idle disconnection.
NotifySubscriptionsSends a notification to every open subscription that watches it.
RequestElicitationCreateSends an elicitation/create request asking the client to collect structured input from the user.
RequestRootsListSends a roots/list request to the MCP client identified by the session.
RequestSamplingCreateMessageSends a sampling/createMessage request so the client’s LLM can produce a completion.
SendLogMessageSends a notifications/message log entry to every session whose logging level allows it.
SendNotificationProgressSends a notifications/progress notification for the request being processed.
SendNotificationPromptsListChangedBroadcasts notifications/prompts/list_changed so clients refresh their prompt catalogue.
SendNotificationResourcesListChangedBroadcasts notifications/resources/list_changed so clients refresh their resource catalogue.
SendNotificationResourcesUpdatedNotifies subscribed clients that a specific resource URI has been updated.
SendNotificationToolsListChangedBroadcasts notifications/tools/list_changed so clients refresh their tool catalogue.