Update MCP server command and arguments#39866
Merged
Merged
Conversation
Contributor
|
✅ smoke-ci: safeoutputs CLI comment + comment-memory run (27710968185)
|
Contributor
Comment MemoryNote This comment is managed by comment memory.It stores persistent context for this thread in the code block at the top of this comment.
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s MCP server configuration to invoke the locally built gh-aw binary directly instead of running via gh aw.
Changes:
- Switch MCP server
commandfromghto./gh-aw. - Update MCP server
argsfrom["aw", "mcp-server"]to["mcp-server"].
Show a summary per file
| File | Description |
|---|---|
| .github/mcp.json | Updates the MCP server command/args to run the local gh-aw binary directly. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 1
Comment on lines
4
to
7
| "type": "local", | ||
| "command": "gh", | ||
| "args": ["aw", "mcp-server"], | ||
| "command": "./gh-aw", | ||
| "args": ["mcp-server"], | ||
| "tools": ["compile", "audit", "logs", "inspect", "status", "audit-diff"] |
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.
Summary
Updates the MCP server configuration in
.github/mcp.jsonto invoke the localgh-awbinary directly (./gh-aw mcp-server) instead of going through the installedgh awextension command (gh aw mcp-server). This makes the Copilot MCP server usable without a globally installedgh awextension — useful in development and CI environments where only the local build artifact is available.Changes
.github/mcp.jsoncommandchanged fromgh,argsfrom["aw", "mcp-server"]→command: ./gh-aw,args: ["mcp-server"]Before:
After:
Motivation
Using
gh aw mcp-serverrequires the extension to be installed in the user's globalghextension registry. By pointing directly at./gh-aw, contributors and CI agents can use the MCP server immediately after building the binary, with no installation step required.Impact
gh awinstalled will still work; they just need to run from the repo root where./gh-awexists..github/mcp.json(Copilot, editors, tooling) must be invoked from the repository root so that./gh-awresolves correctly.Testing
github-agentic-workflowsserver starts and exposes the expected tools (compile,audit,logs,inspect,status,audit-diff).