mcp-pagure
An MCP server for interacting with Pagure git forges such as src.fedoraproject.org and pagure.io. It enables repository management, file browsing, and full pull request workflows including commenting and merging.
README
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-pagure
Configuration
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.o
Usage
Stdio Mode (Local)
mcp-pagure
HTTP Mode (Remote)
mcp-pagure --transport http --port 8805
With Claude CLI
claude mcp add --transport sse \
--header "Authorization: Bearer $PAGURE_API_TOKEN" \
pagure https://your-server.com/mcp/pagure
Tools
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]"
pytest
License
Apache-2.0
Author
Peter Lemenkov lemenkov@gmail.com
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.