mcp-pagure
Provides tools for interacting with Fedora's package source repository (dist-git) at src.fedoraproject.org, enabling package browsing, spec file operations, and pull request workflow management.
Supports repository operations on Pagure-based git forges, including browsing branches and tags, and viewing file contents from repository trees.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-pagurelist open pull requests for the kernel package"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-pagure
MCP server for Pagure integration (src.fedoraproject.org, pagure.io, and other Pagure instances).
Overview
This MCP server provides tools for interacting with Pagure git forges, including Fedora's package source repository (dist-git) at src.fedoraproject.org.
Features
Package/repository browsing and management
Spec file operations (view, diff)
Patch management (list, view)
Pull Request workflow (list, view, comment, merge)
Git operations (commits, diffs, branches)
Multi-instance support (src.fedoraproject.org, pagure.io, self-hosted)
Installation
pip install mcp-pagureConfiguration
Requires Pagure API token from your Pagure instance:
src.fedoraproject.org: https://src.fedoraproject.org/settings#nav-api-tab
pagure.io: https://pagure.io/settings#nav-api-tab
export PAGURE_API_TOKEN="your-token-here"
export PAGURE_BASE_URL="https://src.fedoraproject.org" # optional, defaults to src.fp.oUsage
Stdio Mode (Local)
mcp-pagureHTTP Mode (Remote)
mcp-pagure --transport http --port 8805With Claude CLI
claude mcp add --transport sse \
--header "Authorization: Bearer $PAGURE_API_TOKEN" \
pagure https://your-server.com/mcp/pagureTools
Repository Operations
list_projects- Browse available projects/packagesget_project_info- Get project metadatafork_project- Fork a project to your namespace
File Operations
get_file- View file content from repolist_branches- List repository brancheslist_tags- List repository tags
Pull Request Workflow
list_pull_requests- List PRs (open/closed/merged/all)get_pull_request- View PR details and commentscomment_on_pr- Add review commentsmerge_pull_request- Merge approved PRclose_pull_request- Close PR without merging
Git Operations
(No Git/commit tools available - Pagure API doesn't support commit listing)
Development
git clone https://github.com/lemenkov/mcp-pagure
cd mcp-pagure
python -m venv venv
source venv/bin/activate
pip install -e ".[dev]"
pytestLicense
Apache-2.0
Author
Peter Lemenkov lemenkov@gmail.com
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lemenkov/mcp-pagure'
If you have feedback or need assistance with the MCP directory API, please join our Discord server