-
Notifications
You must be signed in to change notification settings - Fork 12k
feat(@angular/cli): add initial MCP server implementation #30601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
{ | ||
"mcpServers": { | ||
"angular-cli": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not ng mcp
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's a host specific identifier that in some cases can be used in dot-notation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant the command instead of npx @angular/cli mcp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to be a common pattern in the configuration. Plus it bypasses global installation issues. The command needs to be available globally. We can adjust and iterate on the best approach based on feedback though.
febb8ce
to
93f69f3
Compare
An initial experimental implementation of a Model Context Protocol (MCP) server is now available as a command within the Angular CLI. The server is a `stdio` based server intended to run locally by a host via the `ng mcp` command. Currently, the server provides one resource and one tool. The resource is for the best practices system instructions found https://angular.dev/ai/develop-with-ai. The tool allows for listing the Angular projects within the Angular workspace. These are preliminary and subject to change. Additional functionality may be added in the future to provide additional capabilities for IDE host integrations.
An initial experimental implementation of a Model Context Protocol (MCP) server is now available as a command within the Angular CLI. The server is a
stdio
based server intended to run locally by a host via theng mcp
command. Currently, the server provides one resource and one tool. The resource is for the best practices system instructions found https://angular.dev/ai/develop-with-ai. The tool allows for listing the Angular projects within the Angular workspace. These are preliminary and subject to change. Additional functionality may be added in the future to provide additional capabilities for IDE host integrations.