mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 15:55:59 +01:00
mcp: refine extension API (#246856)
- Replace SSE with HTTP in the API (although this still supports the same SSE fallback we otherwise have, this is not documented) - Add a new `resolveMcpServerDefinition` step that is only run before the MCP server is started -- both from a cache or from a running extension. This lets extensions do user interaction is a more correct way. - Add appropriate docs and such.
This commit is contained in:
@@ -1830,7 +1830,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
AISearchKeyword: AISearchKeyword,
|
||||
TextSearchCompleteMessageTypeNew: TextSearchCompleteMessageType,
|
||||
ChatErrorLevel: extHostTypes.ChatErrorLevel,
|
||||
McpSSEServerDefinition: extHostTypes.McpSSEServerDefinition,
|
||||
McpHttpServerDefinition: extHostTypes.McpHttpServerDefinition,
|
||||
McpStdioServerDefinition: extHostTypes.McpStdioServerDefinition,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user