Skip to main content
Glama
onesmartguy

Agentic Bits Claude Plugin

by onesmartguy

remove_repo

Delete a repository from the status bar by specifying its label to manage repository visibility and configuration.

Instructions

Remove a repository from the status bar by its label.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelYesRepo label to remove

Implementation Reference

  • The implementation of the 'remove_repo' tool handler which filters the repo list based on the provided label and saves the configuration.
    // --- remove_repo ---
    server.tool(
      "remove_repo",
      "Remove a repository from the status bar by its label.",
      { label: z.string().describe("Repo label to remove") },
      async ({ label }) => {
        const config = loadConfig();
        const before = config.repos.length;
        config.repos = config.repos.filter((r) => r.label !== label);
        if (config.repos.length === before) {
          return { content: [{ type: "text", text: `No repo found with label "${label}".` }] };
        }
        saveConfig(config);
        return { content: [{ type: "text", text: `Removed repo: ${label}` }] };
      }
    );

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