Class ServerMcpApi
java.lang.Object
com.github.copilot.generated.rpc.ServerMcpApi
API methods for the
mcp namespace.- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ServerMcpConfigApiAPI methods for themcp.configsub-namespace.API methods for themcp.installationssub-namespace. -
Method Summary
Modifier and TypeMethodDescriptionapplyInstall(McpApplyInstallParams params) Applies exactly one previously prepared operation on its original connection.One-use application of the exact retained removal plan.discover(McpDiscoverParams params) Optional working directory used as context for MCP server discovery.planInstall(McpPlanInstallParams params) A side-effect-free request for an MCP install plan.planInstall(McpPlanInstallRequest request) A side-effect-free request for an MCP install plan.planUninstall(McpPlanUninstallParams params) Read-only preparation of one owned removal under fresh selected-session authority.Side-effect-free preparation of one original bound remote MCP choice.
-
Field Details
-
config
API methods for themcp.configsub-namespace. -
installations
API methods for themcp.installationssub-namespace.
-
-
Method Details
-
discover
Optional working directory used as context for MCP server discovery.- Since:
- 1.0.0
-
planInstall
@CopilotExperimental public CompletableFuture<McpPlanInstallResult> planInstall(McpPlanInstallParams params) A side-effect-free request for an MCP install plan. Computing a plan never writes configuration, stores a secret, or reloads MCP servers.- Since:
- 1.0.0
-
planInstall
@CopilotExperimental public CompletableFuture<McpPlanInstallResult> planInstall(McpPlanInstallRequest request) A side-effect-free request for an MCP install plan. Computing a plan never writes configuration, stores a secret, or reloads MCP servers.Accepts the extensible request, including inputs added after the params record.
- Since:
- 1.0.0
-
prepareInstall
@CopilotExperimental public CompletableFuture<McpInstallationManagementResult> prepareInstall(McpPrepareInstallParams params) Side-effect-free preparation of one original bound remote MCP choice.- Since:
- 1.0.0
-
applyInstall
@CopilotExperimental public CompletableFuture<McpInstallationResult> applyInstall(McpApplyInstallParams params) Applies exactly one previously prepared operation on its original connection.- Since:
- 1.0.0
-
planUninstall
@CopilotExperimental public CompletableFuture<McpInstallationManagementResult> planUninstall(McpPlanUninstallParams params) Read-only preparation of one owned removal under fresh selected-session authority.- Since:
- 1.0.0
-
applyUninstall
@CopilotExperimental public CompletableFuture<McpInstallationResult> applyUninstall(McpApplyUninstallParams params) One-use application of the exact retained removal plan.- Since:
- 1.0.0
-