Skip to content

feat: export MCP Connector types#606

Merged
DaveHanns merged 1 commit intomasterfrom
feat/export-mcp-connector-types
Mar 31, 2026
Merged

feat: export MCP Connector types#606
DaveHanns merged 1 commit intomasterfrom
feat/export-mcp-connector-types

Conversation

@DaveHanns
Copy link
Copy Markdown
Contributor

No description provided.

@DaveHanns DaveHanns added the adhoc Ad-hoc unplanned task added during the sprint. label Mar 30, 2026
@DaveHanns DaveHanns self-assigned this Mar 30, 2026
@github-actions github-actions Bot added this to the 137th sprint - Console team milestone Mar 30, 2026
@github-actions github-actions Bot added the t-console Issues with this label are in the ownership of the console team. label Mar 30, 2026
type McpServerTools = {
required?: readonly string[];
export type McpServerTools = {
required?: string[];
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't force client to treat their own instance of the input schema as readonly.

type McpConnectorResourceFieldDefinition<T> = CommonResourceFieldDefinition<T> & {
resourceType: 'mcpConnector';
mcpServers: readonly McpServer[];
mcpServers: McpServer[];
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't force client to treat their own instance of the input schema as readonly.

Comment on lines +15 to +16
McpServer,
McpServerTools,
Copy link
Copy Markdown
Contributor Author

@DaveHanns DaveHanns Mar 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These types will be widely used in Console BE, FE and mcp-proxy. Exporting for convenience so that they do not need to be extracted from FieldDefinition.

@DaveHanns DaveHanns merged commit 1979f26 into master Mar 31, 2026
9 of 10 checks passed
@DaveHanns DaveHanns deleted the feat/export-mcp-connector-types branch March 31, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-console Issues with this label are in the ownership of the console team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants