Skip to content

[WIP] Ensure upgrade tool exists in mcp-server#11815

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/validate-upgrade-tool-existence
Closed

[WIP] Ensure upgrade tool exists in mcp-server#11815
Copilot wants to merge 1 commit intomainfrom
copilot/validate-upgrade-tool-existence

Conversation

Copy link
Contributor

Copilot AI commented Jan 26, 2026

Plan: Add upgrade tool to MCP server and update instructions

Understanding the issue:

  • The upgrade-agentic-workflows.md instruction file doesn't explicitly mention using the "upgrade" MCP tool
  • The "upgrade" tool does NOT exist in the MCP server (only status, compile, logs, audit, mcp-inspect, add, update, fix)
  • However, there IS a CLI command gh aw upgrade that exists
  • Need to add the upgrade tool to MCP server and update instructions to use it

Checklist:

  • Explore repository structure and understand the issue
  • Identify that upgrade command exists in CLI but not in MCP server
  • Add upgrade tool to MCP server in pkg/cli/mcp_server.go
  • Update server help text to list upgrade tool
  • Update upgrade-agentic-workflows.md to explicitly mention using upgrade tool
  • Update pkg/cli/templates/upgrade-agentic-workflows.md (template version)
  • Write tests for the new upgrade tool
  • Run make test-unit to validate changes
  • Run make agent-finish before committing
Original prompt

Make sure the "upgrade-agentic-workflows.md" instruction involve calling the "upgrade" mcp-server tool. Make sure the upgrade tool exists in mcp-server


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

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