Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_SWARM_AGY_CMDNoOptional override for the agy CLI command. If not set, defaults to 'agy' on PATH.
MCP_SWARM_CODEX_CMDNoOptional override for the codex CLI command. If not set, defaults to 'codex' on PATH.
MCP_SWARM_CLAUDE_CMDNoOptional override for the claude CLI command. If not set, defaults to 'claude' on PATH.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_agent_rosterA

Returns the list of local agents available for delegation, each with its id and specialization. Call this before delegate_task to decide which agent_name fits a given subtask.

delegate_taskA

Spawns the named agent's CLI in workspace_path with the given prompt, waits for it to finish, and returns its stdout/stderr/exit code. Use get_agent_roster first to pick the right agent_name.

Prompts

Interactive templates invoked by user choice

NameDescription
plan-and-delegateGuides the host LLM through breaking a large task into subtasks and routing each to the right local agent.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/rputasi/mcp-swarm-router'

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