Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk4 min

Angular CLI MCP Server Setup: Connecting an AI Coding Host to Your Workspace

Connect an AI coding host to an Angular workspace by configuring it to run npx @angular/cli mcp, with host-specific config files, flags, and checks.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To connect an AI coding host to an Angular workspace, configure the host to start the Angular CLI’s Model Context Protocol (MCP) server with npx @angular/cli mcp. The exact file location and JSON key depend on which host you use, so the configuration shape matters as much as the command.

What the command does

The Angular CLI includes an MCP server. You do not install it as a separate product. Your AI host launches it by invoking the CLI package, and the host then talks to the server over MCP to read information about and act on your project. Angular’s current MCP setup guide uses npx @angular/cli mcp as the baseline command for every host it documents.

As an Amazon Associate I earn from qualifying purchases.

The same server can also be started as ng mcp from inside a workspace. Angular’s v20 version of the guide notes that running it in an interactive terminal prints host configuration instructions, which is useful if you want to check the expected shape without leaving the terminal. For day-to-day use, the host configuration files shown below are what you need.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Configure your host

The configuration lives in the AI host’s own settings, not in your Angular project’s angular.json. Angular’s guide documents project-level files for three hosts. Use the file location and top-level key that match your host.

#1 Best Overall
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
Host Project-level file Top-level key Other location
VS Code .vscode/mcp.json servers Not stated in Angular’s current guide
Cursor .cursor/mcp.json mcpServers Global file ~/.cursor/mcp.json
Antigravity .antigravity/mcp.json mcpServers Not stated in Angular’s current guide

VS Code

Create .vscode/mcp.json at the root of your workspace. VS Code’s documented example uses a top-level servers object, not mcpServers. Using the wrong key is one of the most likely reasons the server will not appear.

{
  "servers": {
    "angular-cli": {
      "command": "npx",
      "args": ["-y", "@angular/cli", "mcp"]
    }
  }
}

Cursor

Create .cursor/mcp.json in the project, or place the same content in the global file ~/.cursor/mcp.json if you want the server available in every workspace. Cursor’s example uses mcpServers, and the command and arguments are identical to the VS Code entry.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
{
  "mcpServers": {
    "angular-cli": {
      "command": "npx",
      "args": ["-y", "@angular/cli", "mcp"]
    }
  }
}

Antigravity

Create .antigravity/mcp.json and use the mcpServers shape, again with the same command and arguments.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
{
  "mcpServers": {
    "angular-cli": {
      "command": "npx",
      "args": ["-y", "@angular/cli", "mcp"]
    }
  }
}

Any other host

If your host is not listed, check that host’s own MCP configuration documentation before copying a snippet. The file path, the top-level key, and whether the file is project-scoped or global all vary by host. Keep the Angular-specific parts constant: the command is npx and the arguments are -y @angular/cli mcp.

Rank #3
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Restrict the tools the server registers

Angular’s current guide documents two flags that limit which tools the server registers. Add them to the args array in your configuration.

  • --read-only registers only tools that do not modify the project.
  • --local-only registers only tools that do not require an internet connection.

For example, to limit the server to read-only tools:

Rank #4
Sale
UGREEN USB C Hub 5 in 1 Multiport USB Adapter 4K HDMI, 100W Power Delivery
  • 5 in 1 Connectivity: The USB C Multiport Adapter is equipped with a 4K HDMI port, a 100W USB C PD port, a 5 Gbps USB A data port, and two 480 Mbps USB A ports
"args": ["-y", "@angular/cli", "mcp", "--read-only"]

These flags control the tools the server offers. They do not control everything an AI host can do. Other tools or permissions your host has, outside this server, are governed by that host’s own settings, so review them separately if the project matters to you.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Enable experimental tools

Angular’s skills documentation describes some tools as experimental. These are enabled with --experimental-tool (or -E). The skills documentation gives examples that enable build and test.

Best Value
Anker USB C Hub, USB Extender, 4-in-1 USB Splitter, Computer Accessories
  • Ultra-Fast Data Transfers: Experience the power of 5Gbps transfer speeds with this USB hub and sync data in seconds, making file transfers a breeze.
  • Long Cable, Endless Convenience: Say goodbye to short and restrictive cables. This USB hub comes with a 2 ft long cable, giving you the freedom to connect your devices exactly where you need them.
  • Sleek and Compact: Measuring just 4.2 × 1.2 × 0.4 inches, carry the USB hub in your pocket or laptop bag and connect effortlessly wherever you go.
  • Instant Connectivity: Anker USB-C data hub offers a true plug-and-play experience, instantly connecting your devices and enabling seamless file transfers.
  • What You Get: 2ft Anker USB-C Data Hub (4-in-1, 5Gbps) , welcome guide, our worry-free 18-month warranty, and friendly customer service.
"args": ["-y", "@angular/cli", "mcp", "--experimental-tool", "build"]

The set of available tools has changed across documentation versions. Before you rely on a tool name, check the documentation that matches your installed Angular CLI version, and do not assume a list from an older guide still applies.

Check the setup

If the server does not appear in your host after you save the configuration, work through these checks in order:

  • Confirm that Node.js and npx run from the same terminal environment your host uses.
  • Confirm the top-level key matches the host: servers for VS Code, mcpServers for Cursor and Antigravity.
  • Confirm the file is in the location your host reads, including the global path for Cursor if you chose that option.
  • Check that flags are spelled exactly as --read-only, --local-only, or --experimental-tool, with no extra quotes or commas inside the array.
  • Restart the host or reload its window after changing the file.
  • Run ng mcp in an interactive terminal inside the workspace to see the host configuration instructions for your CLI version.

What to verify before you publish or deploy a setup

MCP features, host configuration conventions, and the tools the server exposes can change with product versions. The current Angular guide is the authoritative source for the setup steps above, and the v20 guide and skills documentation are useful for context and experimental flag details. Check the official guide for your Angular CLI version whenever you set up a new machine or update the CLI.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.