Skip to main content
Glama
agenticbits

@agenticbits/claude-plugin

by agenticbits

toggle_reference_repos

Control visibility of reference repositories in the status bar to focus on active repositories or include reference materials as needed.

Instructions

Show or hide repos marked as type 'reference' in the status bar.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
showYestrue = include reference repos, false = active repos only

Implementation Reference

  • The handler for the 'toggle_reference_repos' tool, which updates the configuration and saves it.
    server.tool(
      "toggle_reference_repos",
      "Show or hide repos marked as type 'reference' in the status bar.",
      { show: z.boolean().describe("true = include reference repos, false = active repos only") },
      async ({ show }) => {
        const config = loadConfig();
        config.statusbar.showReferenceRepos = show;
        saveConfig(config);
        return { content: [{ type: "text", text: `Reference repos: ${show ? "shown" : "hidden"} in status bar.` }] };
      }
    );
  • Registration of the 'toggle_reference_repos' tool within the McpServer instance.
    server.tool(
      "toggle_reference_repos",
      "Show or hide repos marked as type 'reference' in the status bar.",
      { show: z.boolean().describe("true = include reference repos, false = active repos only") },
      async ({ show }) => {
        const config = loadConfig();
        config.statusbar.showReferenceRepos = show;
        saveConfig(config);
        return { content: [{ type: "text", text: `Reference repos: ${show ? "shown" : "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/agenticbits/claude-plugin'

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