Skip to content

Commit 2c96a4a

Browse files
authored
Merge pull request #1970 from Hexastack/fix/mcp-binding
fix(api): mcp typo
2 parents 52c210d + 0e6098d commit 2c96a4a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/api/src/bindings/runtime-bindings.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ describe('RuntimeBindingsService', () => {
166166
expect(
167167
mcpToolsDefinition?.properties?.tool_names?.['ui:options'],
168168
).toMatchObject({
169-
entity: 'McpServerTool',
169+
entity: 'McpServer',
170170
valueKey: 'name',
171171
labelKey: 'name',
172172
idFormPath: 'server_id',

packages/api/src/extensions/actions/ai/mcp.binding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const aiMcpToolBindingSchema = z.strictObject({
3030
'Optional allow-list of MCP tool names. Leave empty to expose all server tools.',
3131
'ui:widget': 'AutoCompleteWidget',
3232
'ui:options': {
33-
entity: 'McpServerTool',
33+
entity: 'McpServer',
3434
valueKey: 'name',
3535
labelKey: 'name',
3636
idFormPath: 'server_id',

0 commit comments

Comments
 (0)