Add onboarding MCP server for new contributors#4839
Draft
hanniavalera wants to merge 7 commits intomainfrom
Draft
Add onboarding MCP server for new contributors#4839hanniavalera wants to merge 7 commits intomainfrom
hanniavalera wants to merge 7 commits intomainfrom
Conversation
006b7c6 to
4c87b81
Compare
4c87b81 to
fd48fe1
Compare
fd48fe1 to
0c86ca0
Compare
Collaborator
|
I haven't taken a deep look at this, but couldn't a lot of this, especially the static data, be surfaced through SKILLs? rather than having to create the insfrastructure and have to compile and build the mcp server? |
Contributor
Author
Valid! For
That said, I'm happy to drop the two pure-retrieval tools if you think that makes the most sense :) |
added 7 commits
March 26, 2026 10:54
…atures - Updated README.md to reflect new tool phases and descriptions. - Bump version to 0.2.0 in package.json. - Implemented new tools for concept explanation, source file finding, and documentation retrieval. - Added concepts data structure to provide detailed explanations of CMake Tools concepts. - Created a source map to link keywords to relevant source files in the codebase. - Developed a documentation map to connect topics with their respective documentation files. - Introduced new tools: `explain_concept`, `find_source_file`, and `get_docs_page` for improved onboarding experience.
…nce contributor experience
…ions and examples
…sue fetching and recent changes tools
…arify setup instructions
8e212c0 to
f5c672b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This changes developer onboarding experience
The following changes are proposed:
The purpose of this change
New contributors to CMake Tools face a steep ramp-up: two operating modes (kits vs. presets), multiple generator types, a large src tree, and conventions scattered across CONTRIBUTING.md and docs/. This PR adds a lightweight MCP server that Copilot agent mode can call to answer onboarding questions without the contributor needing to hunt through files manually.
The server exposes 7 tools:
get_setup_guidecheck_pr_readinessexplain_conceptfind_source_fileget_docs_pageget_contributor_issuesget_recent_changesThe first five tools use static data baked into the server. The last two make live GitHub API calls (works unauthenticated at 60 req/hr, or 5,000/hr with a
GITHUB_TOKEN).Everything is self-contained under onboarding-mcp with its own package.json, tsconfig.json, and eslint config — no changes to the root build, dependencies, or yarn.lock.
Other Notes/Information
@modelcontextprotocol/sdkv1.27.1, TypeScript ESM, andzodfor input validationfetch)yarn install && yarn buildinside onboarding-mcp