Add MCP server as a primitive type to the sample package#2
Draft
Add MCP server as a primitive type to the sample package#2
Conversation
Co-authored-by: danielmeppiel <51440732+danielmeppiel@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Start implementation of plugin installation support
Add MCP server as a primitive type to the sample package
Mar 9, 2026
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.
Extends the APM sample package to demonstrate MCP (Model Context Protocol) server support — the missing primitive type for plugins that ship MCP servers alongside agents, prompts, and instructions.
Changes
.apm/mcps/github.mcp.json— New MCP server definition using the GitHub MCP server via Docker, establishing the.apm/mcps/discovery path conventionapm.yml— Addedmcpdependencies section parallel to existingapmsection; bumped description to include MCP serversREADME.md— Added MCP Server row to primitives table; split Dependencies section to show bothapmandmcpdependency typesMCP declaration format
MCP server config lives in
.apm/mcps/*.mcp.jsonand is auto-discovered by APM onapm install.Original prompt
Start implementation
The user has attached the following file paths as relevant context:
- .github/instructions/doc-sync.instructions.md
- .github/copilot-instructions.md
- .github/copilot-instructions.md
- AGENTS.md
[Chronological Review: The conversation began with the user inquiring about the warning message for a new version of APM (v0.7.5) while they were on v0.7.4. The user then requested to remove their local cache file. After installing v0.7.5, the user reported still seeing v0.7.4 when checking the version, leading to questions about the functionality of "apm update." The user expressed concerns about the update process being broken for their scenario. The conversation shifted to discussing the implementation of a pull request for plugin installation support and the dependencies on other pull requests. The user emphasized the need for careful planning and questioned the design decisions regarding definitions resolution. They suggested auto-discovery for missing components and finally requested to start the implementation.][Intent Mapping:
[Technical Inventory:
[Code Archaeology:
[Progress Assessment:
[Context Validation: All critical information for continuation is captured, including the need for MCP installation support and the user's emphasis on careful planning and design considerations.]
[Recent Commands Analysis:
1. Conversation Overview: - Primary Objectives: User aimed to verify the functionality of APM version updates, troubleshoot installation issues, and initiate the implementation of MCP installation support. - Session Context: The conversation flowed from version management concerns to implementation planning for plugin support, with a focus on design robustness and strategic planning. - User Intent Evolution: The user transitioned from troubleshooting version issues to outlining implementation steps and emphasizing careful planning.- Technical Foundation:
- APM: Version 0.7.4 and 0.7.5, used for managing Atom packages.
- MCP: Required for plugins that ship multiple components, with installation support being a key focus.
- Codebase Status:
- /Users/danielmeppiel/Repos/awd-cli/tests/integration/test_version_notification.py:
- Purpose: Testing version notifications.
- Current State: Recent edits made, specifics not detailed.
- /Users/danielmeppiel/Repos/awd-cli/tests/unit/test_version_checker.py:
- Purpose: Unit testing for version checking functionality.
- Current State: Rec...
Created from VS Code.
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.