Class ServerMcpConfigApi
java.lang.Object
com.github.copilot.generated.rpc.ServerMcpConfigApi
API methods for the
mcp.config namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionadd(McpConfigAddParams params) Adds an MCP server to user configuration.disable(McpConfigDisableParams params) Disables MCP servers in user configuration for new sessions.enable(McpConfigEnableParams params) Enables MCP servers in user configuration for new sessions.list()Lists MCP servers from user configuration.reload()Drops this runtime process's in-memory MCP server-definition cache so the next MCP config read observes disk.remove(McpConfigRemoveParams params) Removes an MCP server from user configuration.update(McpConfigUpdateParams params) Updates an MCP server in user configuration.
-
Method Details
-
list
Lists MCP servers from user configuration.- Since:
- 1.0.0
-
add
Adds an MCP server to user configuration.- Since:
- 1.0.0
-
update
Updates an MCP server in user configuration.- Since:
- 1.0.0
-
remove
Removes an MCP server from user configuration.- Since:
- 1.0.0
-
enable
Enables MCP servers in user configuration for new sessions.- Since:
- 1.0.0
-
disable
Disables MCP servers in user configuration for new sessions.- Since:
- 1.0.0
-
reload
Drops this runtime process's in-memory MCP server-definition cache so the next MCP config read observes disk.- Since:
- 1.0.0
-