io.github.vaggeliskls/release-notes-mcp
A small, generic MCP server for combining GitHub/GitLab/Gitea releases into product release notes
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
release-notes-mcpclaude mcp add release-notes-mcp -e 'RELEASE_MCP_CONFIG_JSON=<RELEASE_MCP_CONFIG_JSON>' -e 'RELEASE_MCP_CONFIG=<RELEASE_MCP_CONFIG>' -e 'TOKEN=<your token>' -e 'PROVIDER=<PROVIDER>' -e 'BASE_URL=<BASE_URL>' -- uvx release-notes-mcp==1.0.1
{
"mcpServers": {
"release-notes-mcp": {
"command": "uvx",
"args": [
"release-notes-mcp==1.0.1"
],
"env": {
"RELEASE_MCP_CONFIG_JSON": "<RELEASE_MCP_CONFIG_JSON>",
"RELEASE_MCP_CONFIG": "<RELEASE_MCP_CONFIG>",
"TOKEN": "<your token>",
"PROVIDER": "<PROVIDER>",
"BASE_URL": "<BASE_URL>"
}
}
}
}
متغيرات البيئة
RELEASE_MCP_CONFIG_JSONConfig (repos + contextSources) as inline JSON, e.g. {"repos":["myorg/web"],"contextSources":[]}. Use this for uvx/hub launches with no file to mount. Either this or RELEASE_MCP_CONFIG is required.RELEASE_MCP_CONFIGAbsolute path to a config.json file (alternative to RELEASE_MCP_CONFIG_JSON). Used when mounting a real file, e.g. in Docker.TOKENسري Auth token for the provider (GitHub PAT / GitLab / Gitea token). Optional for public repos.PROVIDERForge to read releases from: github | gitlab | gitea. Defaults to github.BASE_URLAPI base URL — only for self-hosted GitLab or Gitea/Forgejo.
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
release-notes-mcp
A small, generic MCP server that combines GitHub releases from several repositories into a single product release note. The server just fetches and bundles raw data; the LLM synthesizes the final notes.
Nothing is architecture-specific:
provider— which forge to read releases from:github(default),gitlab, orgitea/Forgejo. Release fetching goes through a small adapter, so adding a forge means normalizing its release JSON — a contained change.repos— the repos the server is allowed to read releases from.contextSources— arbitrary URLs loaded as background context (a style guide, a versions file, feature names — anything). The server assigns no meaning; what each source is is decided by what you put behind the URL.
Configuration
Config holds no secrets — only the repo set and context. Provider and auth come from the environment.
// config.json — non-sensitive (required; the server errors if it's missing)
{
"repos": [
"myorg/auth-service",
"myorg/web"
],
"contextSources": [
{
"name": "release-info",
"url": "https://example.github.io/whatever/release.json",
"description": "Extra context to consult when assembling release notes"
}
]
}
Environment (provider-agnostic, set in .env or your shell):
| Var | Purpose | Default | ||
|---|---|---|---|---|
TOKEN | Auth token for the provider — never in config | (empty; ok for public repos) | ||
PROVIDER | github \ | gitlab \ | gitea (overrides config) | github |
BASE_URL | API base — only for self-hosted GitLab / Gitea | provider default |
formaton a context source is optional — auto-detected fromContent-Type/ URL extension / content sniffing. Override only when wrong.
Token permissions
The server only ever reads releases (GET /repos/{owner}/{repo}/releases…),
so give TOKEN the minimum read scope — never write access.
| Provider | Public repos | Private repos |
|---|---|---|
| GitHub — fine-grained PAT | no token needed | Contents: Read-only (releases live under Contents), for each repo you list |
| GitHub — classic PAT | no token needed (or public_repo) | repo scope |
| GitLab | no token needed | read_api scope |
| Gitea / Forgejo | no token needed | read:repository scope |
For GitHub, a fine-grained PAT scoped to just the repos in config.json with
Contents → Read-only is the tightest setup and is all this server requires.
The config (repos + contextSources) must come from one of two places — the server errors on startup if neither is set:
| Source | Use it for |
|---|---|
RELEASE_MCP_CONFIG_JSON | The config as inline JSON. No file needed — ideal for uvx / MCP hubs where everything is an env var. |
RELEASE_MCP_CONFIG | Path to a config.json file (default ./config.json). Used by the container, which mounts a real file. |
Inline JSON wins when both are set. Copy config.example.json to get started
with the file approach.
Tools
| Tool | Purpose |
|---|---|
list_repos() | The configured repos |
list_releases(repo, limit) | Recent releases for one repo |
get_latest_version(repo) | Newest release for one repo |
get_release(repo, tag) | Full notes for one tag |
compare_releases(repo, from_tag, to_tag) | All releases between two versions |
gather_release_notes(selections[]) | Bundle raw notes from N (repo, tag) pairs (concurrent) |
get_context(name?) | Load configured context URLs (auto-detected format) |
Selection is dynamic — you (or Claude) pass the (repo, tag) pairs to
combine. The server's instructions tell Claude to call get_context() first.
Run
The server runs in a container over HTTP transport on localhost:8000.
First create the config and env files (both runs need them):
cp config.example.json config.json # edit repos + contextSources (no secrets)
cp .env.example .env # set TOKEN (+ PROVIDER / BASE_URL if needed)
Normal run
docker compose up -d
Local development — docker compose watch
For local dev, docker compose watch keeps the server live while you edit:
docker compose watch
| Change | Action |
|---|---|
server.py | sync + restart — copied into the container, process restarts |
requirements.txt, Dockerfile | rebuild — image is rebuilt automatically |
config.json | bind-mounted (live); run docker compose restart to reload it |
Run with uvx (no clone, no container)
The server is published to PyPI, so a client can launch it on demand with
uvx — no checkout and no Docker:
uvx release-notes-mcp
uvx talks to the server over stdio (the default transport). Since there's
no file to mount, pass the config inline as JSON via RELEASE_MCP_CONFIG_JSON
(everything is env-only — ideal for MCP hubs):
RELEASE_MCP_CONFIG_JSON='{"repos":["myorg/web"],"contextSources":[]}' \
TOKEN=ghp_... uvx release-notes-mcp
Prefer a file? Point RELEASE_MCP_CONFIG at an absolute path instead
(uvx runs from an unknown working directory, so a relative path won't resolve):
RELEASE_MCP_CONFIG=/abs/path/config.json TOKEN=ghp_... uvx release-notes-mcp
Register with Claude Code
HTTP (container) — point Claude Code at the running server by its URL:
claude mcp add --transport http release-notes http://localhost:8000/mcp
stdio (uvx) — let Claude Code launch the server as a subprocess:
claude mcp add release-notes \
--env RELEASE_MCP_CONFIG=/abs/path/config.json \
--env TOKEN=ghp_... \
-- uvx release-notes-mcp
Then ask Claude: "Combine the latest releases of auth-service and web into a product release note."
الأسئلة الشائعة
ما هو io.github.vaggeliskls/release-notes-mcp؟
A small, generic MCP server for combining GitHub/GitLab/Gitea releases into product release notes
كيف أثبّت io.github.vaggeliskls/release-notes-mcp؟
يعمل على جهازك. في Claude Code: claude mcp add release-notes-mcp -e 'RELEASE_MCP_CONFIG_JSON=<RELEASE_MCP_CONFIG_JSON>' -e 'RELEASE_MCP_CONFIG=<RELEASE_MCP_CONFIG>' -e 'TOKEN=<your token>' -e 'PROVIDER=<PROVIDER>' -e 'BASE_URL=<BASE_URL>' -- uvx release-notes-mcp==1.0.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.vaggeliskls/release-notes-mcp إلى مفتاح API؟
نعم. يتطلب TOKEN، وتضبطها في إعداداته.
هل io.github.vaggeliskls/release-notes-mcp مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.vaggeliskls/release-notes-mcp؟
ينشره vaggeliskls. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.