Skip to content

Commit 626a430

Browse files
committed
feat(@angular/cli): Add "all" as an experimental tool group
1 parent d680b80 commit 626a430

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

packages/angular/cli/src/commands/mcp/mcp-server.ts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@ import { type AnyMcpToolDeclaration, registerTools } from './tools/tool-registry
3131
*/
3232
const DEVSERVER_TOOLS = [DEVSERVER_START_TOOL, DEVSERVER_STOP_TOOL, DEVSERVER_WAIT_FOR_BUILD_TOOL];
3333

34-
/**
35-
* Experimental tools that are grouped together under a single name.
36-
*
37-
* Used for enabling them as a group.
38-
*/
39-
export const EXPERIMENTAL_TOOL_GROUPS = {
40-
'devserver': DEVSERVER_TOOLS,
41-
};
42-
4334
/**
4435
* The set of tools that are enabled by default for the MCP server.
4536
* These tools are considered stable and suitable for general use.
@@ -59,6 +50,16 @@ const STABLE_TOOLS = [
5950
*/
6051
export const EXPERIMENTAL_TOOLS = [BUILD_TOOL, MODERNIZE_TOOL, ...DEVSERVER_TOOLS] as const;
6152

53+
/**
54+
* Experimental tools that are grouped together under a single name.
55+
*
56+
* Used for enabling them as a group.
57+
*/
58+
export const EXPERIMENTAL_TOOL_GROUPS = {
59+
'all': EXPERIMENTAL_TOOLS,
60+
'devserver': DEVSERVER_TOOLS,
61+
};
62+
6263
export async function createMcpServer(
6364
options: {
6465
workspace?: AngularWorkspace;

0 commit comments

Comments
 (0)