mcp-pagure
Provides tools to manage issues, pull requests, and projects on Fedora's dist-git (Pagure instance at src.fedoraproject.org), enabling operations like creating issues, adding comments, merging pull requests, and browsing repositories.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-pagure
MCP server for Pagure - enables AI assistants to manage issues, pull requests, and projects on Pagure instances (pagure.io and self-hosted).
Features
Read Operations: List/get projects, issues, pull requests, branches, and user info
Write Operations: Create issues, add comments, update status, assign issues, merge/close PRs
Multi-instance Support: Works with pagure.io and self-hosted Pagure instances
Namespace Support: Full support for namespaced projects (rpms/, container/, etc.)
Related MCP server: AutomateHub
Installation
Using uvx (recommended)
uvx mcp-pagureUsing pip
pip install mcp-pagureConfiguration
Environment Variables
Variable | Required | Default | Description |
| Yes | - | Your Pagure API token |
| No |
| Base URL for Pagure instance |
Getting an API Token
Go to your Pagure instance (e.g., https://pagure.io)
Navigate to Settings → API Keys
Create a new token with the permissions you need:
issue_create- Create new issuesissue_update- Update issues (status, assignee, comments)pull_request_merge- Merge pull requestspull_request_close- Close pull requestspull_request_comment- Comment on pull requests
Usage with Claude Code
Add to your Claude Code MCP configuration (~/.claude/claude_code_config.json):
{
"mcpServers": {
"pagure": {
"command": "uvx",
"args": ["mcp-pagure"],
"env": {
"PAGURE_API_TOKEN": "your-api-token-here",
"PAGURE_URL": "https://pagure.io"
}
}
}
}For Fedora's src.fedoraproject.org
{
"mcpServers": {
"fedora-dist-git": {
"command": "uvx",
"args": ["mcp-pagure"],
"env": {
"PAGURE_API_TOKEN": "your-fedora-token",
"PAGURE_URL": "https://src.fedoraproject.org"
}
}
}
}Available Tools
Read Operations
Tool | Description |
| Get information about the authenticated user |
| Search/list projects with filters (pattern, owner, namespace, fork status) |
| Get detailed project information |
| List issues with filtering (status, tags, assignee, author, search) |
| Get issue details including all comments |
| List PRs with filtering (status, assignee, author) |
| Get PR details including commits and comments |
| Get user profile information |
| List git branches in a repository |
Write Operations
Tool | Description |
| Create a new issue with title, description, tags, assignee |
| Add a comment to an existing issue |
| Change issue status (Open/Closed) with optional close reason |
| Assign or unassign an issue to a user |
| Add a comment to a pull request (general or inline) |
| Merge a pull request |
| Close a pull request without merging |
Examples
List issues in a project
List open issues in the pagure projectCreate an issue
Create an issue in mcp-pagure titled "Add webhook support" with description "We should add support for Pagure webhooks to enable real-time notifications"Work with namespaced projects
List pull requests in rpms/kernelSearch for projects
Find projects matching "container"Development
Setup
git clone https://github.com/fatherlinux/mcp-pagure.git
cd mcp-pagure
uv sync --devRun tests
uv run python -m pytest -vRun the server locally
export PAGURE_API_TOKEN="your-token"
uv run mcp-pagureTest with MCP Inspector
npx @modelcontextprotocol/inspector uv run mcp-pagureSupported Pagure Instances
pagure.io - Main Pagure instance
src.fedoraproject.org - Fedora dist-git
Any self-hosted Pagure instance
License
MIT License - see LICENSE for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Related Projects
Pagure - The git-centered forge
Model Context Protocol - The MCP specification
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Read and write KukGit repositories, files, issues and pull requests from an AI assistant.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Plan Salesforce deploys, open pull requests and trigger pipelines from your AI client.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI assistants to interact with Redmine instances, managing issues, projects, and metadata through natural language commands.1212 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to automate GitHub repository management, issue tracking, and commits using natural language.6 npmApache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with a Forgejo instance as an authenticated user, supporting issues, pull requests, repositories, and notifications.70 npmMIT
- AlicenseBqualityBmaintenanceEnables AI assistants to read and update Taiga projects — epics, user stories, tasks, issues, sprints, comments, and wiki pages — using natural language.70121 npm3MIT