# Angular CLI (MCP Server)

> Angular docs, best practices and workspace tools for AI coding agents

- Type: MCP server
- Publisher: Angular (Google) (official)
- Categories: Development
- Website: https://angular.dev/ai/mcp
- Transport: stdio
- Launch command: npx -y @angular/cli mcp
- Sign-in: none
- Listed: 2025-06-01

## About

The Angular CLI includes an MCP server that gives agents Angular documentation search, best-practice guidance, workspace project listing, dev server control, running build/test targets and an OnPush/zoneless migration planner. It runs locally via npx with no auth, and can be limited with --read-only or --local-only flags.

## Install

1. **Add the server to Codex**

   Codex CLI:

   ```bash
   codex mcp add angular-cli -- npx -y @angular/cli mcp
   ```

   config.toml:

   ```toml
   [mcp_servers.angular-cli]
   command = "npx"
   args = ["-y", "@angular/cli", "mcp"]
   ```

   Agents SDK:

   ```python
   from agents import Agent, Runner
   from agents.mcp import MCPServerStdio
   
   async with MCPServerStdio(
       name="Angular CLI",
       params={"command": "npx", "args": ["-y", "@angular/cli", "mcp"]},
   ) as server:
       agent = Agent(name="Assistant", mcp_servers=[server])
       result = await Runner.run(agent, "What are the current Angular best practices for signals?")
       print(result.final_output)
   ```

## Tools

- `ai_tutor`
- `devserver_start`
- `devserver_stop`
- `devserver_wait_for_build`
- `get_best_practices`
- `list_projects`
- `onpush_zoneless_migration`
- `run_target`
- `search_documentation`

## Example prompts

- "What are the current Angular best practices for signals?"
- "List the projects in this Angular workspace"
- "Plan a migration of this component to OnPush and zoneless"
- "Start the dev server and tell me if the build has errors"

## Related

- [Chrome DevTools MCP](https://chatgptplugins.directory/mcp/chrome-devtools.md): Let coding agents control and debug a live Chrome browser
- [Playwright MCP](https://chatgptplugins.directory/mcp/playwright.md): Browser automation for agents via Playwright accessibility snapshots
- [GitHub](https://chatgptplugins.directory/mcp/github.md): Manage repos, issues, pull requests and Actions from your AI agent
- [Context7](https://chatgptplugins.directory/mcp/context7.md): Pull up-to-date, version-specific library docs into your coding agent
- [Supabase](https://chatgptplugins.directory/mcp/supabase.md): Manage Supabase databases, migrations, edge functions and logs
- [Stripe](https://chatgptplugins.directory/mcp/stripe.md): Query and act on your Stripe account and search Stripe docs from any agent

---
Source: https://chatgptplugins.directory/mcp/angular-cli · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
