Skip to main content
Glama
fovi-llc
by fovi-llc

rad_patch_list

List and manage patches in a Radicle repository to track code changes and collaboration progress. Specify the repository path to view patch details for effective peer-to-peer code collaboration.

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 the rad_patch_list tool, which lists patches in a Radicle repository by running the 'rad patch list' command. It is registered as an MCP tool via the @mcp.tool() decorator. Uses type hints for input schema (repository_path: str).
    @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']}"

Other Tools

Related Tools

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