Repository navigation
Add five MCP tools to create, update, delete, list, and get GitHub issue artifacts - #3554
Open
veralizeth wants to merge 7 commits into
Open
veralizeth wants to merge 7 commits into
veralizeth wants to merge 7 commits into
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Provider-incompatible schema constraints and known CI failures still block merging.
6 open issues
Remove top-level anyOf from update issue artifact schema · New Set output schemas on issue artifact tool descriptors · New Add missing issue artifact snapshot files · New Avoid deep equality on non-nil InstructionsFunc fields · New Replace argument-copy loops with maps.Copy · New Validate invalid artifact inputs through a registered MCP session · New
What changed in this PR
Adds opt-in issue-artifact management to the GitHub MCP Server’s issues toolset.
Changes:
- Adds five tools to create, update, delete, list, and retrieve issue artifacts.
- Introduces typed inputs/results, pagination, sanitization, and read-only/lockdown restrictions.
- Adds feature gating, behavioral tests, and opt-in documentation.
| File | Description |
|---|---|
pkg/github/tools.go |
Registers the five artifact tools. |
pkg/github/issue_artifacts.go |
Implements tool schemas, handlers, validation, and API requests. |
pkg/github/issue_artifacts_test.go |
Adds metadata, feature-gating, request, and error-path tests. |
pkg/github/issue_artifact_types.go |
Defines artifact data and typed inputs/results. |
pkg/github/feature_flags.go |
Declares the issue_artifacts feature flag. |
docs/feature-flags.md |
Documents opt-in behavior and restrictions. |
Review effort: Max
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Add five MCP tools to create, update, delete, list, and get GitHub issue artifacts, gated behind
issue_artifacts.Why
Enable agents to manage issue-attached plans, instructions, references, and other Markdown artifacts. No linked issue.
What changed
MCP impact
create_issue_artifact,update_issue_artifact,delete_issue_artifact,list_issue_artifacts, andget_issue_artifact. Read-only mode exposes only list/get.Prompts tested (tool changes only)
Security / limits
Tool renaming
deprecated_tool_aliases.goNote: if you're renaming tools, you must add the tool aliases. For more information on how to do so, please refer to the official docs.
Lint & tests
./script/lint— failed on twomaps.Copyfindings../script/test— failed on artifact metadata/schema assertions and a nil-client panic.Passed:
go test ./pkg/github -run '^TestIssueArtifact(Requests|Failures)$' -count=1.Docs
docs/feature-flags.md.