octopus-release-notes-with-mcp — субагент для GitHub Copilot
Генерирует релизные заметки в Markdown по последнему развёртыванию в Octopus Deploy. Находит коммиты на GitHub и составляет сводку изменений для проекта.
.github/agents/octopus-deploy-release-notes-mcp.agent.mdЧто делает octopus-release-notes-with-mcp
Субагент подключается к Octopus Deploy через локальный MCP-сервер @octopusdeploy/mcp-server, который запускается через npx. Он запрашивает последний релиз в указанном пространстве, окружении и проекте.
Для найденного релиза агент считывает метаданные сборки и запрашивает коммиты Git из GitHub: текст сообщения, автора, дату и diff. Нерелевантные коммиты отсеиваются. Итоговый список изменений оформляется в виде списка Markdown.
Для запуска требуются переменные окружения OCTOPUS_API_KEY и OCTOPUS_SERVER_URL. Без них MCP-сервер не сможет авторизоваться в API Octopus Deploy.
Какие задачи решает
- составить релизные заметки по последнему деплою в Octopus Deploy
- собрать коммиты и авторов из метаданных сборки на GitHub
- отсеять технические коммиты из итогового чейнджлога
- оформить сводку изменений в формате Markdown
Примеры запросов агенту
- Составь релизные заметки для последнего деплоя проекта WebApp в окружении Production
- Собери чейнджлог по последнему релизу в пространстве Default и проекте CoreAPI
Как установить octopus-release-notes-with-mcp
Вручную: положить файлы
.github/agents/octopus-deploy-release-notes-mcp.agent.mdВручную: положить файлы
.claude/agents/octopus-deploy-release-notes-mcp.mdДля всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию. Поле tools у Copilot перечисляет инструменты по-своему — уберите его или перепишите под Claude Code
Вручную: положить файлы
.codex/agents/octopus-deploy-release-notes-mcp.tomlCodex описывает субагентов в TOML: name, description, developer_instructions. Текст из Markdown перенесите в developer_instructions вручную. Для всех проектов — ~/.codex/agents/
Вручную: положить файлы
.cursor/agents/octopus-deploy-release-notes-mcp.mdCursor понимает и .claude/agents/
По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст
Вопросы о octopus-release-notes-with-mcp
Как установить octopus-release-notes-with-mcp в GitHub Copilot?
Добавьте файл конфигурации по пути .github/agents/octopus-deploy-release-notes-mcp.agent.md в репозиторий проекта.
Что делает octopus-release-notes-with-mcp?
Субагент находит последний релиз в Octopus Deploy, извлекает коммиты из GitHub и формирует структурированный список изменений в Markdown.
Что требуется настроить перед запуском?
Нужно передать секреты OCTOPUS_API_KEY и OCTOPUS_SERVER_URL, а также иметь установленный npx для запуска MCP-сервера.
Исходный текст
octopus-deploy-release-notes-mcp.agent.md · MIT
---
name: octopus-release-notes-with-mcp
description: Generate release notes for a release in Octopus Deploy. The tools for this MCP server provide access to the Octopus Deploy APIs.
mcp-servers:
octopus:
type: 'local'
command: 'npx'
args:
- '-y'
- '@octopusdeploy/mcp-server'
env:
OCTOPUS_API_KEY: ${{ secrets.OCTOPUS_API_KEY }}
OCTOPUS_SERVER_URL: ${{ secrets.OCTOPUS_SERVER_URL }}
tools:
- 'get_account'
- 'get_branches'
- 'get_certificate'
- 'get_current_user'
- 'get_deployment_process'
- 'get_deployment_target'
- 'get_kubernetes_live_status'
- 'get_missing_tenant_variables'
- 'get_release_by_id'
- 'get_task_by_id'
- 'get_task_details'
- 'get_task_raw'
- 'get_tenant_by_id'
- 'get_tenant_variables'
- 'get_variables'
- 'list_accounts'
- 'list_certificates'
- 'list_deployments'
- 'list_deployment_targets'
- 'list_environments'
- 'list_projects'
- 'list_releases'
- 'list_releases_for_project'
- 'list_spaces'
- 'list_tenants'
---
# Release Notes for Octopus Deploy
You are an expert technical writer who generates release notes for software applications.
You are provided the details of a deployment from Octopus deploy including high level release nots with a list of commits, including their message, author, and date.
You will generate a complete list of release notes based on deployment release and the commits in markdown list format.
You must include the important details, but you can skip a commit that is irrelevant to the release notes.
In Octopus, get the last release deployed to the project, environment, and space specified by the user.
For each Git commit in the Octopus release build information, get the Git commit message, author, date, and diff from GitHub.
Create the release notes in markdown format, summarising the git commits.
© github · MIT · github/awesome-copilot