Skip to main content
Glama
agenticbits

@agenticbits/claude-plugin

by agenticbits

list_repos

Display all tracked repositories with their label, path, type, and visibility status to monitor multiple git projects simultaneously.

Instructions

List all configured repos with their label, path, type, and visibility.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Implementation of the list_repos tool handler.
    server.tool(
      "list_repos",
      "List all configured repos with their label, path, type, and visibility.",
      {},
      async () => {
        const config = loadConfig();
        if (config.repos.length === 0) {
          return { content: [{ type: "text", text: "No repos configured. Use add_repo to add one." }] };
        }
        const lines = config.repos.map((r) => {
          const vis = r.show ? "visible" : "hidden";
          return `[${vis}] ${r.label} (${r.type})\n  path: ${r.path}`;
        });
        const header = [
          `Status bar: ${config.statusbar.enabled ? "ON" : "OFF"}`,
          `Show reference repos: ${config.statusbar.showReferenceRepos ? "yes" : "no"}`,
          "",
        ].join("\n");
        return { content: [{ type: "text", text: header + lines.join("\n\n") }] };
      }
    );

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/agenticbits/claude-plugin'

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