Skip to main content
Glama

Super Shell MCP Server

remove_from_whitelist

Remove specified commands from the whitelist in Super Shell MCP Server to restrict their execution across Windows, macOS, and Linux systems.

Instructions

Remove a command from the whitelist

Input Schema

NameRequiredDescriptionDefault
commandYesThe command to remove from whitelist

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "The command to remove from whitelist", "type": "string" } }, "required": [ "command" ], "type": "object" }

Implementation Reference

  • src/index.ts:221-233 (registration)
    Tool registration including name, description, and input schema for remove_from_whitelist
    name: 'remove_from_whitelist', description: 'Remove a command from the whitelist', inputSchema: { type: 'object', properties: { command: { type: 'string', description: 'The command to remove from whitelist', }, }, required: ['command'], }, },
  • Main handler function for the remove_from_whitelist tool: validates input with zod, delegates to commandService, returns success response
    private async handleRemoveFromWhitelist(args: any) { const schema = z.object({ command: z.string(), }); const { command } = schema.parse(args); this.commandService.removeFromWhitelist(command); return { content: [ { type: 'text', text: `Command '${command}' removed from whitelist`, }, ], }; }
  • Core implementation: deletes the command from the internal whitelist Map
    public removeFromWhitelist(command: string): void { this.whitelist.delete(command); }
  • src/index.ts:293-294 (registration)
    Dispatch case in the tool request handler that routes to the specific handler function
    case 'remove_from_whitelist': return await this.handleRemoveFromWhitelist(args);

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/cfdude/super-shell-mcp'

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