Skip to main content
Glama
xinyuzjj

Superpowers MCP

by xinyuzjj

run-superpower-command

Execute commands within the Superpowers framework to access advanced AI-driven capabilities like automated planning, debugging, and parallel development.

Instructions

Run a superpowers command

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesThe command to run
argsNoArguments for the command

Implementation Reference

  • The handler function for the `run-superpower-command` tool. Note that it currently just returns a confirmation string as a placeholder.
    case 'run-superpower-command': {
      const { command, args = [] } = request.params.arguments as any
      // TODO: Implement command execution logic
      return {
        content: [
          {
            type: 'text',
            text: `Command "${command}" executed with args: ${JSON.stringify(args)}`,
          },
        ],
      }
    }
  • src/index.ts:16-35 (registration)
    The definition and registration of the `run-superpower-command` tool within the MCP server's tools list.
    {
      name: 'run-superpower-command',
      description: 'Run a superpowers command',
      inputSchema: {
        type: 'object',
        properties: {
          command: {
            type: 'string',
            description: 'The command to run',
          },
          args: {
            type: 'array',
            items: { type: 'string' },
            description: 'Arguments for the command',
            default: [],
          },
        },
        required: ['command'],
      },
    },
Install Server

Other 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/xinyuzjj/superpowers-mcp'

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