Skip to content

Commit cfe62f2

Browse files
clydinalan-agius4
authored andcommitted
build: update @modelcontextprotocol/sdk to v1.23.0
Also updates `zod` to v4.1.13.
1 parent 331373f commit cfe62f2

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

packages/angular/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@angular-devkit/schematics": "workspace:0.0.0-PLACEHOLDER",
2828
"@inquirer/prompts": "7.10.1",
2929
"@listr2/prompt-adapter-inquirer": "3.0.5",
30-
"@modelcontextprotocol/sdk": "1.22.0",
30+
"@modelcontextprotocol/sdk": "1.23.0",
3131
"@schematics/angular": "workspace:0.0.0-PLACEHOLDER",
3232
"@yarnpkg/lockfile": "1.1.0",
3333
"algoliasearch": "5.45.0",
@@ -40,7 +40,7 @@
4040
"resolve": "1.22.11",
4141
"semver": "7.7.3",
4242
"yargs": "18.0.0",
43-
"zod": "3.25.76"
43+
"zod": "4.1.13"
4444
},
4545
"ng-update": {
4646
"migrations": "@schematics/angular/migrations/migration-collection.json",

packages/angular/cli/src/commands/mcp/tools/tool-registry.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77
*/
88

99
import type { McpServer, ToolCallback } from '@modelcontextprotocol/sdk/server/mcp.js';
10+
import type { ToolAnnotations } from '@modelcontextprotocol/sdk/types';
1011
import type { ZodRawShape } from 'zod';
1112
import type { AngularWorkspace } from '../../../utilities/config';
1213
import type { DevServer } from '../dev-server';
1314

14-
type ToolConfig = Parameters<McpServer['registerTool']>[1];
15-
1615
export interface McpToolContext {
1716
server: McpServer;
1817
workspace?: AngularWorkspace;
@@ -29,7 +28,7 @@ export interface McpToolDeclaration<TInput extends ZodRawShape, TOutput extends
2928
name: string;
3029
title?: string;
3130
description: string;
32-
annotations?: ToolConfig['annotations'];
31+
annotations?: ToolAnnotations;
3332
inputSchema?: TInput;
3433
outputSchema?: TOutput;
3534
factory: McpToolFactory<TInput>;

pnpm-lock.yaml

Lines changed: 17 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)