Skip to main content
Glama
fovi-llc

Radicle + GitHub MCP Server

by fovi-llc

rad_patch_list

View all patches in a Radicle repository to track code changes and collaboration status.

Instructions

List patches in a Radicle repository.

Args:
    repository_path: Path to the repository (default: current directory)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repository_pathNo.

Implementation Reference

  • The handler function for 'rad_patch_list' tool. It executes the 'rad patch list' command using the shared run_rad_command helper and formats the output with success/error messages.
    @mcp.tool()
    async def rad_patch_list(repository_path: str = ".") -> str:
        """
        List patches in a Radicle repository.
        
        Args:
            repository_path: Path to the repository (default: current directory)
        """
        result = await run_rad_command(["rad", "patch", "list"], cwd=repository_path)
        
        if result["success"]:
            if result["stdout"]:
                return f"πŸ“‹ Patches in repository:\n{result['stdout']}"
            else:
                return "πŸ“‹ No patches found in repository"
        else:
            return f"❌ Failed to list patches: {result['stderr']}"

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/fovi-llc/radicle-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server