Back to Home
shinpr icon

sub-agents-mcp

Verified Safe

by shinpr

Overview

Acts as an MCP server to enable Claude Code-style sub-agents in any MCP-compatible tool like Cursor, facilitating delegation of specialized AI tasks defined in markdown files.

Installation

Run Command
npx -y sub-agents-mcp

Environment Variables

  • AGENTS_DIR
  • AGENT_TYPE

Security Notes

The server implements strong input validation and path traversal prevention for agent names, prompts, and session IDs. Session files are stored with restrictive permissions (0o600). It avoids hardcoded secrets by relying on environment variables (e.g., CLI_API_KEY). No 'eval' or obfuscation found. The primary security consideration is the reliance on external CLI tools (`cursor-agent` or `claude`) to execute sub-agents, which themselves require explicit shell command allowlisting by the user, making their security a responsibility of the user's environment configuration.

Similar Servers

Stats

Interest Score46
Security Score9
Cost ClassMedium
Avg Tokens3000
Stars30
Forks9
Last Update2025-12-05

Tags

mcp-serverai-agentssub-agentsllm-orchestrationdeveloper-tools