GitHub发布说明生成器
STDIO从GitHub仓库生成发布说明的服务器
从GitHub仓库生成发布说明的服务器
An MCP server that generates beautiful release notes from GitHub repositories. It efficiently fetches commits, organizes them by type, and presents them in a clean, readable format.
since
parameternpm install npm run build
Add this server to your MCP configuration:
{ "mcpServers": { "release-notes": { "command": "node", "args": ["/path/to/release-notes-server/build/index.js"], "env": { "GITHUB_TOKEN": "your-github-token" } } } }
Generates release notes for a GitHub repository.
Parameters:
{ "owner": string, // Repository owner "repo": string, // Repository name "commitRange": { "fromCommit"?: string, // Starting commit SHA "toCommit"?: string // Ending commit SHA }, "format": { "type": "markdown", // Output format "groupBy": "type", // How to group commits "includeStats": boolean // Include commit statistics } }
Example:
const result = await use_mcp_tool({ server_name: "release-notes", tool_name: "generate_release_notes", arguments: { owner: "owner", repo: "repo", commitRange: { fromCommit: "abc123" // Get commits from this SHA }, format: { type: "markdown", groupBy: "type", includeStats: true } } });
The generated release notes include:
Header with generation date and statistics
Sections grouped by commit type:
Detailed statistics including:
GITHUB_TOKEN
: GitHub personal access token with repo accessThe server implements efficient commit fetching by:
since
parameter when possible to reduce API callsMIT