Sub-Agents MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGENTS_DIR | Yes | Absolute path to your agents folder where .md or .txt agent definitions are stored. | |
| AGENT_TYPE | Yes | The execution engine to use: 'cursor' (cursor-agent), 'claude' (claude CLI), 'gemini' (gemini CLI), or 'codex' (codex CLI). | |
| SESSION_DIR | No | Absolute path to the directory where session history files are stored. | |
| SESSION_ENABLED | No | Set to 'true' to enable session management for context continuity between executions. | false |
| EXECUTION_TIMEOUT_MS | No | How long agents can run before timing out in milliseconds. Default is 5 minutes (300000), max is 10 minutes. | 300000 |
| SESSION_RETENTION_DAYS | No | How long to keep session files based on last modification time in days. | 1 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| run_agentA | Delegate complex, multi-step, or specialized tasks to an autonomous agent for independent execution with dedicated context (e.g., refactoring across multiple files, fixing all test failures, systematic codebase analysis, batch operations). Returns session_id in response metadata - reuse it in subsequent calls to maintain conversation context continuity across multiple agent executions. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Agent List | List of available Claude Code sub-agents |
| Agent: README | Sub-Agents MCP Server |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/prefrontal-systems/sub-agents-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server