Skip to main content
Glama
lemenkov
by lemenkov

get_project_info

Retrieve detailed project information from Pagure git forges to access repository data, manage files, and handle pull request workflows.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYes
namespaceNorpms

Implementation Reference

  • The handler for the 'get_project_info' MCP tool, defined as an async function and decorated with @mcp.tool(). It retrieves project details using the Pagure client.
    async def get_project_info(
        project: str,
        namespace: str = "rpms",
    ) -> str:
        """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
        """
        client = get_client()
        result = await client.get_project(project, namespace)
    
        return result.model_dump_json(indent=2)

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