Repository navigation
Add agent-context devcontainer feature - #50
Merged
Merged
Conversation
The feature installs the pinned graphify-codegraph MCP server with uv and registers it on postCreate for Claude Code, Copilot CLI, opencode and Codex in the user config, keeping other settings. It is published to GHCR by the Release workflow; prepare_release and check_pins now cover its source pin and version. Co-Authored-By: frank.scholter_peres <frank.scholter_peres@mercedes-benz.com>
There was a problem hiding this comment.
🟡 Changes recommended
Configuration permissions, Codex updates, error isolation, and interpreter provisioning need correction before approval.
4 open issues
What changed in this PR
Adds a devcontainer feature that installs the pinned graphify-codegraph MCP server and registers it with supported coding agents.
Changes:
- Adds installation, registration, documentation, and tests.
- Extends release preparation and pin checks to cover features.
- Publishes features to GHCR during releases.
| File | Description |
|---|---|
| tests/test_register_mcp.py | Tests registration and configuration preservation. |
| scripts/prepare_release.py | Updates feature versions and source pins. |
| scripts/check_pins.py | Validates feature versions and pins. |
| features/src/agent-context/register_mcp.py | Registers the server in agent configurations. |
| features/src/agent-context/README.md | Documents feature setup and requirements. |
| features/src/agent-context/install.sh | Installs the pinned server and registration helper. |
| features/src/agent-context/devcontainer-feature.json | Defines feature metadata and lifecycle hook. |
| .github/workflows/release.yml | Adds GHCR feature publishing. |
Review effort: Balanced
- Preserve file permissions when updating configs (fixes security issue) - Use regex-based TOML header check to support quoted keys - Add Python3 interpreter check in install script - Handle per-agent config errors gracefully without aborting all registrations All 4 Copilot review comments addressed: 1. ✅ Preserve private config permissions 2. ✅ TOML-aware upsert for MCP server configuration 3. ✅ Provision and check Python interpreter 4. ✅ Error isolation for per-agent registration
odra
approved these changes
Oct 22, 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.


The feature installs the pinned graphify-codegraph MCP server with uv and registers it on postCreate for Claude Code, Copilot CLI, opencode and Codex in the user config, keeping other settings. It is published to GHCR by the Release workflow; prepare_release and check_pins now cover its source pin and version.
Frank Scholter Peres frank.scholter_peres@mercedes-benz.com, Mercedes-Benz Tech Innovation GmbH
Provider Information