Skip to content

Commit e78f71d

Browse files
committed
Merged PR 22220: Added support for Engineering MCP server
Added support for Engineering MCP server ---- #### AI description (iteration 1) #### PR Classification This pull request introduces a new feature by adding support for an Engineering MCP server in the API reference generation process. #### PR Summary The pull request updates the API reference generation prompt to integrate additional MCP server support, ensuring expanded verification for environment access and improved tool configurations. - `/.github/prompts/write-api-ref.prompt.md`: Updated environment access instructions to verify both the updated Learn MCP server endpoint (`microsoft.docs.mcp/microsoft_docs_search`) and a new ADO MCP server (`substrate-mcp-mini/*`). - `/.github/prompts/write-api-ref.prompt.md`: Modified the YAML configuration to include the new MCP tools in the `tools` list, aligning automated agent behavior with the added server support. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
2 parents 4f1af7e + c552886 commit e78f71d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/prompts/write-api-ref.prompt.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
mode: 'agent'
33
model: Claude Sonnet 4.5
4-
tools: [microsoft_docs_search, runCommands, edit, runTasks]
5-
description: 'Automated agent prompt that generates API reference pages for WDK DDI entities. It verifies access to git and the Learn MCP tool, reads the first attached CSV of target filenames, checks out corresponding stub files from origin/stubs/main, locates declarations and source code in attached headers and source files, uses existing repository reference pages as models, consults the Learn MCP server for supplemental information, and writes completed documentation pages. If git or Learn MCP access is unavailable, the agent reports the problem and stops.'
4+
tools: [microsoft.docs.mcp/microsoft_docs_search, substrate-mcp-mini/*, runCommands, edit, runTasks]
5+
description: 'Automated agent prompt that generates API reference pages for WDK DDI entities. It verifies access to git, the Learn MCP tool, and the ADO MCP server, reads the first attached CSV of target filenames, checks out corresponding stub files from origin/stubs/main, locates declarations and source code in attached headers and source files, uses existing repository reference pages as models, consults the Learn MCP server for supplemental information, and writes completed documentation pages. If git, Learn MCP, or ADO MCP access is unavailable, the agent reports the problem and stops.'
66
---
77

88
Prompt:
@@ -13,8 +13,9 @@ Your goal is to write API reference pages for Windows Driver Kit (WDK) entities
1313

1414
2. Verify environment access:
1515
- Run `git status` to confirm Git is available in the terminal.
16-
- Verify access to the Learn MCP server (`microsoft.docs.mcp`).
17-
- If either check fails, stop and report the problem.
16+
- Verify access to the Learn MCP server (`microsoft.docs.mcp/microsoft_docs_search`).
17+
- Verify access to the ADO MCP server (`substrate-mcp-mini/*`).
18+
- If any check fails, stop and report the problem.
1819

1920
3. If the file exists, report it and don't check out its stub file. If the file doesn't exist, from the repository root, use the VS Code terminal window to check out its stub file with:
2021
`git checkout origin/stubs/main -- <path/filename.md>`

0 commit comments

Comments
 (0)