Is the Angular MCP server safe? What it can reach
What the Angular MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
The Angular CLI ships its own MCP server, started with npx @angular/cli mcp. It runs locally on stdio with no sign-in and acts with your user’s rights in the workspace. Its run_target tool can execute any target in angular.json, including build, test and deploy. The --read-only flag registers only tools that do not modify the project.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| Angular CLI MCP server (@angular/cli mcp) | Official | active |
It runs as a local process on your machine.
How it signs in
There is no credential. The server runs as a local process under your account and works on the Angular workspace it is started in.
What its tools can do
| Kind | Tools |
|---|---|
| Read | ai_tutor, devserver_wait_for_build, get_best_practices, list_projects, onpush_zoneless_migration, search_documentation |
| Write | devserver_start, devserver_stop |
| Can’t be undone | run_target |
These are the default tools. run_target takes a target name such as build, test, lint, e2e or deploy, so what it can do depends on the targets defined in angular.json. onpush_zoneless_migration returns a plan for the agent to apply and does not edit files itself.
Built-in limits
| Option | What it does |
|---|---|
--read-only | Registers only tools that do not modify the project. |
--local-only | Registers only tools that do not need an internet connection. |
Client tool approval | Not Angular-specific. Use your MCP client’s per-tool approval to gate run_target and the dev server tools. |
The risks
- run_target runs whatever targets the workspace defines, so an injected instruction could start a deploy target or a custom builder that runs arbitrary code.
- devserver_start launches ng serve as a background process, and the agent decides when it stops.
- search_documentation needs an internet connection to reach angular.dev, so the queries the agent writes leave your machine unless you pass --local-only.
- The server has no sign-in. Anything that can send it MCP calls through your client works in your workspace with your file and shell rights.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add angular-cli -- npx -y @angular/cli mcpClaude Code names MCP tools mcp__angular-cli__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"ask": [
"mcp__angular-cli__run_target",
"mcp__angular-cli__devserver_start"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.angular-cli]
command = "npx"
args = ["-y", "@angular/cli", "mcp"]Checklist
- Start with --read-only unless you need builds and tests.
- Check the targets in angular.json for deploy or custom commands before you allow run_target.
- Turn on your client’s tool approval for run_target.
- Add --local-only if you do not want queries sent to angular.dev.
Checked against the vendor documentation on November 25, 2026. Angular CLI MCP Server setup (angular.dev) · angular/angular-cli repository
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing