FRAMEWORK DEVELOPMENT / Angular
Angular CLI MCP
Angular CLI tools for workspace discovery, framework guidance and explicitly permitted build or test operations.
“The Angular CLI includes a Model Context Protocol (MCP) server”
01 / THE REASONING
Why this made the selection.
- Keeps workspace discovery and framework-specific guidance close to the CLI that owns the project.
- Provides a documented read-only tool selection for an initial inspection, with operational tools enabled only when that restriction is removed.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- Official MCP guide
- CLI command, server and tool registry
- run_target implementation
- LICENSE
Our findings
- The source filters tool declarations using readOnly/localOnly annotations.
- The run_target dispatcher includes generic targets; locality does not establish network isolation.
- angular.dev/ai/mcp lists the default tools ai_tutor, devserver_start, devserver_stop, devserver_wait_for_build, get_best_practices, list_projects, onpush_zoneless_migration, run_target and search_documentation. mcp-server.ts registers the same nine as its stable set, and the experimental list is empty at this commit.
- The repository README at this commit does not describe the MCP server. Setup, tools and flags come from angular.dev/ai/mcp and the packages/angular/cli/src/commands/mcp sources.
- The configuration example is the Antigravity and Cursor mcpServers block on angular.dev/ai/mcp. The page shows the same entry under servers for VS Code, and adds --read-only to args for read-only mode.
Not established by this review
- No MCP server or upstream package was installed or run.
- No authenticated account, API request, client handshake or write operation was tested.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Connect a server deliberately.
DOCUMENTED COMMAND
npx -y @angular/cli mcp --read-only Copying does not execute this command. It may retrieve a newer version than the reviewed source.
- Configure the documented Angular CLI MCP command in the client, starting with --read-only for inspection.
- Use the intended workspace and an appropriate CLI version. Review the exposed tools before enabling operational targets.
- If builds, tests or deployments are needed, explicitly choose that capability and inspect the underlying workspace target.
- The command above is the command and args of the page’s read-only example (npx with -y @angular/cli mcp --read-only). It was not run.
Before you start
- Node.js/npm compatible with the chosen Angular CLI
- An Angular workspace for project-specific operations
- An MCP client that launches stdio servers
Documented configuration example
Use the client and authentication context described in the setup guidance. Configuration formats vary between hosts.
{
"mcpServers": {
"angular-cli": {
"command": "npx",
"args": [
"-y",
"@angular/cli",
"mcp"
]
}
}
} 04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
https://github.com/angular/angular-cli/blob/22efeff5aa8eb50e3b507cfdd1da70283b6a9ef1/README.md
Supports: Repository identity: the Angular CLI monorepo
- Source licence ↗Checked
https://github.com/angular/angular-cli/blob/22efeff5aa8eb50e3b507cfdd1da70283b6a9ef1/LICENSE
Supports: license, access.cost
https://github.com/angular/angular-cli/blob/22efeff5aa8eb50e3b507cfdd1da70283b6a9ef1/packages/angular/cli/src/commands/mcp/cli.ts
Supports: review, limitations, access, transports
https://github.com/angular/angular-cli/blob/22efeff5aa8eb50e3b507cfdd1da70283b6a9ef1/packages/angular/cli/src/commands/mcp/mcp-server.ts
Supports: review, limitations, access, transports, Stable tool set
https://github.com/angular/angular-cli/blob/22efeff5aa8eb50e3b507cfdd1da70283b6a9ef1/packages/angular/cli/src/commands/mcp/tools/tool-registry.ts
Supports: review, limitations, access, transports
- Reviewed implementation: packages/angular/cli/src/commands/mcp/tools/run-target/run-target.ts ↗Checked
https://github.com/angular/angular-cli/blob/22efeff5aa8eb50e3b507cfdd1da70283b6a9ef1/packages/angular/cli/src/commands/mcp/tools/run-target/run-target.ts
Supports: review, limitations, access, transports
https://angular.dev/ai/mcp
Supports: upstreamDescription, summary, install, limitations, access, transports, configExample, whySelected, bestFor, compatibility, Default tool list