Skip to content

Update MCP server command and arguments#39866

Merged
pelikhan merged 1 commit into
mainfrom
pelikhan-patch-1
Jun 17, 2026
Merged

Update MCP server command and arguments#39866
pelikhan merged 1 commit into
mainfrom
pelikhan-patch-1

Conversation

@pelikhan

@pelikhan pelikhan commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

Updates the MCP server configuration in .github/mcp.json to invoke the local gh-aw binary directly (./gh-aw mcp-server) instead of going through the installed gh aw extension command (gh aw mcp-server). This makes the Copilot MCP server usable without a globally installed gh aw extension — useful in development and CI environments where only the local build artifact is available.

Changes

File Change
.github/mcp.json command changed from gh, args from ["aw", "mcp-server"]command: ./gh-aw, args: ["mcp-server"]

Before:

"command": "gh",
"args": ["aw", "mcp-server"]

After:

"command": "./gh-aw",
"args": ["mcp-server"]

Motivation

Using gh aw mcp-server requires the extension to be installed in the user's global gh extension 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

  • Scope: Config-only change — no source code, tests, or generated files touched.
  • Breaking: No. Existing users with gh aw installed will still work; they just need to run from the repo root where ./gh-aw exists.
  • Environment assumption: Consumers of .github/mcp.json (Copilot, editors, tooling) must be invoked from the repository root so that ./gh-aw resolves correctly.

Testing

  • No automated tests required for a config-file-only change.
  • Manual verification: open the repo in an MCP-aware client (e.g. VS Code with Copilot), confirm the github-agentic-workflows server starts and exposes the expected tools (compile, audit, logs, inspect, status, audit-diff).

Generated by PR Description Updater for issue #39866 ·

Copilot AI review requested due to automatic review settings June 17, 2026 18:29
@pelikhan pelikhan merged commit 9f5dca0 into main Jun 17, 2026
@pelikhan pelikhan deleted the pelikhan-patch-1 branch June 17, 2026 18:29
@github-actions

Copy link
Copy Markdown
Contributor

✅ smoke-ci: safeoutputs CLI comment + comment-memory run (27710968185)

Generated by 🧪 Smoke CI for issue #39866 ·

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

CI lights the path
Green checks bloom at dawn
Quiet bots still sing

Note

This comment is managed by comment memory.

It stores persistent context for this thread in the code block at the top of this comment.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

Generated by 🧪 Smoke CI for issue #39866 ·

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 command from gh to ./gh-aw.
  • Update MCP server args from ["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 thread .github/mcp.json
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"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants