Add create_release, update_release, delete_release, and generate_release_notes tools
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
Comece no repos toolset e compare os padrões existentes de update_pull_request e delete_file com os quatro GitHub REST endpoints listados na issue. Revise os tests, toolsnaps e docs da implementação e, em seguida, verifique se todos os quatro release workflows e a anotação destructive-operation estão cobertos.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Describe the feature or problem you'd like to solve
The repos toolset can only read releases today (list_releases, get_latest_release, get_release_by_tag). There's no way for an agent to create, edit, or delete a GitHub release, or preview auto-generated release notes, without leaving the MCP flow and asking the user to do it manually in the GitHub UI. This gap covers four REST endpoints that already exist on the GitHub API:
- Create a release —
POST /repos/{owner}/{repo}/releases - Update a release —
PATCH /repos/{owner}/{repo}/releases/{release_id} - Delete a release —
DELETE /repos/{owner}/{repo}/releases/{release_id} - Generate release notes content for a release —
POST /repos/{owner}/{repo}/releases/generate-notes
Proposed solution
Add four new tools to the repos toolset:
create_release— creates a release (tag, name, body, draft/prerelease flags, make_latest, generate_release_notes, discussion category).update_release— partial update of an existing release byrelease_id, following the same "only send fields that were provided" pattern already used byupdate_pull_request.delete_release— deletes a release byrelease_id(does not delete the underlying tag), marked with theDestructiveHintannotation likedelete_file.generate_release_notes— calls the preview-only generate-notes endpoint so an agent can show the user what the auto-generated notes would look like before committing to a release.
This lets an agent complete an end-to-end release workflow (tag → generate notes → create release → tweak → publish) entirely through MCP tools.
Example prompts or workflows
- "Tag main as v2.3.0, generate the release notes since v2.2.0, and publish it as a GitHub release."
- "Create a draft release for v1.4.0 so the team can review the notes before it goes out."
- "Update the v1.4.0 release to mark it as the latest release and take it out of draft."
- "Delete the accidental v1.4.0-rc1 release, but leave the tag alone."
- "Show me what the auto-generated release notes would look like for v2.0.0 without creating the release yet."
Additional context
Implementation is ready — a PR implementing all four tools (with tests, toolsnaps, and docs) follows this issue.
- Linguagem predominante
- Go
- Estrelas
- 33.1k
- Forks
- 5k
- Merge médio
- 2d 3h
- PRs com merge (30d)
- 18
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/github-mcp-server
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
github/github-mcp-server#3235 ·
-
enhancement
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
github/github-mcp-server#3042 · 2 comentários ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
github/github-mcp-server#3032 · 1 reação ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
github/github-mcp-server#2803 · 1 comentário ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
github/github-mcp-server#2740 ·
Todas as issues de github/github-mcp-server
Issues semelhantes
-
nix: vendorHash is outdated Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
-
Bob Shell support Abertaenhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
santhosh-tekuri/jsonschema#276 ·