8000 feat(@angular/cli): add initial MCP server implementation by clydin · Pull Request #30601 · angular/angular-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged
merged 1 commit into from
Jun 25, 2025

Conversation

clydin
Copy link
Member
@clydin clydin commented Jun 25, 2025

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.

@clydin clydin added the target: minor This PR is targeted for the next minor release label Jun 25, 2025
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: @angular/cli labels Jun 25, 2025
@clydin clydin force-pushed the cli/mcp-command branch from a18180e to 7dc0eaa Compare June 25, 2025 13:27
{
"mcpServers": {
"angular-cli": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not ng mcp?

Copy link
Member Author

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.

Copy link
Collaborator
@alan-agius4 alan-agius4 Jun 25, 2025

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

Copy link
Member Author
@clydin clydin Jun 25, 2025

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.

@clydin clydin force-pushed the cli/mcp-command branch 2 times, most recently from febb8ce to 93f69f3 Compare June 25, 2025 16:00
@clydin clydin marked this pull request as ready for review June 25, 2025 16:00
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.
@clydin clydin force-pushed the cli/mcp-command branch from 93f69f3 to cadc695 Compare June 25, 2025 16:11
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label Jun 25, 2025
@clydin clydin merged commit 1a7bf47 into angular:main Jun 25, 2025
31 checks passed
@clydin clydin deleted the cli/mcp-command branch June 25, 2025 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: @angular/cli detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0