Skip to main content
Glama
onesmartguy

Agentic Bits Claude Plugin

by onesmartguy

set_repo_visibility

Control repository visibility in the status bar by showing or hiding specific repositories using their labels.

Instructions

Show or hide a specific repo in the status bar by its label.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelYesRepo label
showYestrue = show in status bar, false = hide

Implementation Reference

  • The implementation of the `set_repo_visibility` tool, which updates the `show` property of a repository in the configuration and saves the changes.
    // --- set_repo_visibility ---
    server.tool(
      "set_repo_visibility",
      "Show or hide a specific repo in the status bar by its label.",
      {
        label: z.string().describe("Repo label"),
        show: z.boolean().describe("true = show in status bar, false = hide"),
      },
      async ({ label, show }) => {
        const config = loadConfig();
        const repo = config.repos.find((r) => r.label === label);
        if (!repo) {
          return { content: [{ type: "text", text: `No repo found with label "${label}".` }] };
        }
        repo.show = show;
        saveConfig(config);
        return { content: [{ type: "text", text: `${label}: now ${show ? "visible" : "hidden"} in status bar.` }] };
      }
    );

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/onesmartguy/agentic-bits-claude-plugin'

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