Skip to main content
Glama

Angular Toolkit MCP

by push-based
getting-started.md2.26 kB
# Getting Started with Angular MCP Toolkit A concise, hands-on guide to install, configure, and verify the Angular MCP server in under **5 minutes**. --- ## 1. Prerequisites | Tool | Minimum Version | Notes | | ---- | --------------- | ----- | | Node.js | **18.x** LTS | Tested with 18.18 ⬆︎ | | npm | **9.x** | Bundled with Node LTS | | Nx CLI | **≥ 21** | `npm i -g nx` | | Git | Any recent | For workspace cloning | > The server itself is framework-agnostic, but most built-in tools assume an **Nx workspace** with Angular projects. --- ## 2. Install the Server ### Clone the repository ```bash git clone https://github.com/push-based/angular-toolkit-mcp.git cd angular-toolkit-mcp npm install # install workspace dependencies ``` The MCP server source resides under `packages/angular-mcp/` and `packages/angular-mcp-server/`. No package needs to be fetched from the npm registry. --- ## 3. Register with Your Editor Instead of the palette-based flow, copy the manual configuration from your workspace’s `.cursor/mcp.json` (shown below) and adjust paths if necessary. ```json { "mcpServers": { "angular-mcp": { "command": "node", "args": [ "./packages/angular-mcp/dist/main.js", "--workspaceRoot=/absolute/path/to/angular-toolkit-mcp", "--ds.storybookDocsRoot=packages/minimal-repo/packages/design-system/storybook-host-app/src/components", "--ds.deprecatedCssClassesPath=packages/minimal-repo/packages/design-system/component-options.mjs", "--ds.uiRoot=packages/minimal-repo/packages/design-system/ui" ] } } } ``` Add or edit this JSON in **Cursor → Settings → MCP Servers** (or the equivalent dialog in your editor). --- ## 4. Next Steps 🔗 Continue with the [Architecture & Internal Design](./architecture-internal-design.md) document (work-in-progress). 🚀 Jump straight into [Writing Custom Tools](./writing-custom-tools.md) when ready. --- ## Troubleshooting | Symptom | Possible Cause | Fix | | ------- | -------------- | --- | | `command not found: nx` | Nx CLI missing | `npm i -g nx` | | Editor shows “tool not found” | Server not running or wrong path in `mcp.json` | Check configuration and restart editor | --- *Happy coding!* ✨

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/push-based/angular-toolkit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server