S

Sub-Agents

Delegates tasks to specialized AI assistants in Cursor and Claude Code CLI tools by automatically di...

327 views
1 installs
Updated Nov 21, 2025
Not audited
Delegates tasks to specialized AI assistants in Cursor and Claude Code CLI tools by automatically discovering agent definition files and providing execution with timeout management and performance monitoring for building orchestration workflows and task delegation systems.
  1. Create Your Agents Folder

    • Make a new folder somewhere on your computer for your agents.
    • Example (Mac/Linux): /Users/yourname/my-agents
    • Example (Windows): C:\Users\yourname\my-agents
    • Do not use a relative path like ./agents—it must be absolute.
  2. Add Agent Files

    • In your agents folder, add .md or .txt files for each specialized agent.
    • Example: code-reviewer.md
      # Code Reviewer
      You are a specialized AI assistant that reviews code, finds bugs, and checks quality.
      
    • The filename (without extension) is the agent’s name.
  3. Collect Required ENV Values

    • You will need to set:
      • AGENTS_DIR – The absolute path to your agents folder.
      • AGENT_TYPE – Set to either cursor or claude depending on your AI tool.
  4. Enter ENV Values in FastMCP

    • In the FastMCP connection interface, click the "Install Now" button to open the environment variables form.
    • Fill in the following values:
      • AGENTS_DIR: The absolute path to your agents folder (from step 1).
      • AGENT_TYPE: cursor (for Cursor) or claude (for Claude Code).
  5. Optional: Set Execution Timeout

    • If you need to change the agent execution time, you may add the optional variable:
      • EXECUTION_TIMEOUT_MS: Time in milliseconds (e.g., 600000 for 10 minutes).
  6. Finish Setup

    • Complete the configuration and restart your IDE or tool if necessary.
    • Your specialized agents are ready for use via MCP.

How to Install Sub-Agents

Install Sub-Agents MCP server with one click through FastMCP. Choose your preferred AI development tool below:

Claude Desktop

Click "Claude Desktop" in Quick Start

Cursor IDE

Click "Cursor IDE" in Quick Start

VS Code

Click "VS Code" in Quick Start

Alternatives to Sub-Agents

Looking for similar MCP servers? Browse other servers in the same categories on FastMCP, or check out the similar servers listed above.

Quick Start

View on GitHub

More for Developer Tools

View All →

Report Issue

Thank you! Your issue report has been submitted successfully.

Stay ahead of the MCP ecosystem

Get the top new MCP servers, trending tools, and dev tips delivered weekly. Free, no spam, unsubscribe anytime.

Join 2,847 developers. We send one email per week.