Ng Sentry
An MCP server designed for AI agents to easily manage and monitor Angular / Nx build watch processes. This allows agents to confidently make code changes and instantly verify if those changes introduced any compilation errors without having to repeatedly run build commands.
Quick Start
Add Ng Sentry to your MCP-compatible host (e.g., Claude Desktop or Gemini) using npx:
"ng-sentry": {
"command": "npx",
"args": ["-y", "@psno/ng-sentry"]
}
Tools Included
start_watch
Starts a background build watch process for an Angular or Nx project.
- Arguments:
sessionId(string): A unique identifier for this watch session.cwd(string): The absolute path to the project directory.command(string, default: "npx"): The base command to execute.args(string[], default: ["ng", "build", "--watch"]): Arguments for the build command.
check_status
Checks the current build status of an active watch session.
- Arguments:
sessionId(string): The identifier of the watch session.
- Returns: The current status (
building,success,error) and any extracted compilation errors.
stop_watch
Stops an active watch session.
- Arguments:
sessionId(string): The identifier of the watch session.
list_watches
Lists all active watch sessions and their current statuses.
- Returns: A list of all active watch sessions.
License & Attribution
This project is licensed under the Apache License 2.0.
Important Attribution Requirement: In accordance with Section 4(d) of the Apache License, if you modify this software or build new features based on this codebase, you must retain the attribution to Paul Benchea as the original author. Please refer to the NOTICE file for specific details.
Built with the Model Context Protocol.