Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PAGURE_BASE_URL | No | The base URL of the Pagure instance. Defaults to https://src.fedoraproject.org | https://src.fedoraproject.org |
| PAGURE_API_TOKEN | Yes | Your Pagure API token from your Pagure instance (e.g., src.fedoraproject.org or pagure.io). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_projects | List Pagure projects/packages. Args: namespace: Project namespace (rpms, container, modules, etc.) pattern: Search pattern for project name page: Page number (default: 1) per_page: Results per page (default: 20) Returns: JSON string with project list and pagination info |
| get_project_info | Get detailed information about a Pagure project. Args: project: Project name (e.g., 'python3', 'kernel') namespace: Project namespace (default: rpms) Returns: JSON string with project details |
| fork_project | Fork a Pagure project to your namespace. Args: project: Project name to fork namespace: Project namespace (default: rpms) Returns: JSON string with fork creation result |
| get_file | Get file content from a Pagure repository. Args: project: Project name filename: File path (e.g., 'python3.spec', 'sources') branch: Branch name (default: rawhide) namespace: Project namespace (default: rpms) Returns: File content as string |
| list_branches | List all branches in a Pagure repository. Args: project: Project name namespace: Project namespace (default: rpms) Returns: JSON string with list of branch names |
| list_pull_requests | List pull requests for a Pagure project. Args: project: Project name namespace: Project namespace (default: rpms) status: PR status - Open, Merged, Closed, or all (default: Open) page: Page number (default: 1) per_page: Results per page (default: 20) Returns: JSON string with PR list and pagination info |
| get_pull_request | Get detailed information about a specific pull request. Args: project: Project name pr_id: Pull request ID number namespace: Project namespace (default: rpms) Returns: JSON string with PR details including comments |
| comment_on_pr | Add a comment to a pull request. Args: project: Project name pr_id: Pull request ID number comment: Comment text to add namespace: Project namespace (default: rpms) Returns: JSON string with comment creation result |
| merge_pull_request | Merge an approved pull request. Args: project: Project name pr_id: Pull request ID number to merge namespace: Project namespace (default: rpms) Returns: JSON string with merge result |
| close_pull_request | Close a pull request without merging. Args: project: Project name pr_id: Pull request ID number to close namespace: Project namespace (default: rpms) Returns: JSON string with close result |
| get_commit | Get detailed information about a specific commit. Args: project: Project name commit_hash: Commit hash (full or short) namespace: Project namespace (default: rpms) Returns: JSON string with commit details |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |