Skip to content

refactor(@angular/cli): add a documentation search tool to MCP server #30705

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
Jul 15, 2025

Conversation

clydin
Copy link
Member

@clydin clydin commented Jul 11, 2025

An additional MCP tool is now available with the ng mcp stdio MCP server that supports querying the angular.dev documentation. This uses the same algolia based search indexing that the documentation website uses. Rate limiting has been implemented with the MCP tool that may be adjusted based on feedback. The tool returns one or more URLs and titles for relevant documentation for a given query. Content of these search results are currently not fetched but rather this action is deferred to the host to determine which items are most relevant and should be retrieved from the documentation website.

An additional MCP tool is now available with the `ng mcp` stdio MCP server
that supports querying the `angular.dev` documentation. This uses the
same algolia based search indexing that the documentation website uses.
Rate limiting has been implemented with the MCP tool that may be adjusted
based on feedback. The tool returns one or more URLs and titles for relevant
documentation for a given query. Content of these search results are currently
not fetched but rather this action is deferred to the host to determine which
items are most relevant and should be retrieved from the documentation website.
@clydin clydin added the target: patch This PR is targeted for the next patch release label Jul 11, 2025
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jul 14, 2025
@clydin clydin requested a review from alan-agius4 July 14, 2025 13:01
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

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

LGTM

@clydin clydin added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jul 15, 2025
@clydin clydin removed the request for review from alan-agius4 July 15, 2025 23:04
@clydin clydin merged commit 16ae6a1 into angular:main Jul 15, 2025
34 checks passed
@clydin
Copy link
Member Author

clydin commented Jul 15, 2025

The changes were merged into the following branches: main, 20.1.x

@clydin clydin deleted the mcp/doc-search branch July 15, 2025 23:14
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 target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants