Skip to main content
Glama
lemenkov
by lemenkov

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PAGURE_BASE_URLNoThe base URL of the Pagure instance. Defaults to https://src.fedoraproject.orghttps://src.fedoraproject.org
PAGURE_API_TOKENYesYour Pagure API token from your Pagure instance (e.g., src.fedoraproject.org or pagure.io).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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