プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Sub Agents MCP

作者:shinprバージョン 0.15.1i★ –iパソコンで動く
レジストリ名io.github.shinpr/sub-agents-mcp

インストール

概要

作者による説明(英語の原文)

MCP server for delegating tasks to specialized AI sub-agents across coding tools

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他
  • 入力が必要なもの:AGENTS_DIR, AGENT_TYPE, CURSOR_API_KEY, CLI_API_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: AGENTS_DIR, AGENT_TYPE, AGENT_PERMISSION, AGENT_MODEL, AGENT_EFFORT, CURSOR_API_KEY, CLI_API_KEY, EXECUTION_TIMEOUT_MS, SESSION_ENABLED, SESSION_DIR, SESSION_RETENTION_DAYS, AGENTS_SETTINGS_PATH

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "sub-agents": {
      "command": "npx",
      "args": [
        "-y",
        "sub-agents-mcp"
      ],
      "env": {
        "AGENTS_DIR": "your-value",
        "AGENT_TYPE": "your-value",
        "AGENT_PERMISSION": "your-value",
        "AGENT_MODEL": "your-value",
        "AGENT_EFFORT": "your-value",
        "CURSOR_API_KEY": "your-value",
        "CLI_API_KEY": "your-value",
        "EXECUTION_TIMEOUT_MS": "your-value",
        "SESSION_ENABLED": "your-value",
        "SESSION_DIR": "your-value",
        "SESSION_RETENTION_DAYS": "your-value",
        "AGENTS_SETTINGS_PATH": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add sub-agents --env AGENTS_DIR=your-value --env AGENT_TYPE=your-value --env AGENT_PERMISSION=your-value --env AGENT_MODEL=your-value --env AGENT_EFFORT=your-value --env CURSOR_API_KEY=your-value --env CLI_API_KEY=your-value --env EXECUTION_TIMEOUT_MS=your-value --env SESSION_ENABLED=your-value --env SESSION_DIR=your-value --env SESSION_RETENTION_DAYS=your-value --env AGENTS_SETTINGS_PATH=your-value -- npx -y sub-agents-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "sub-agents": {
      "command": "npx",
      "args": [
        "-y",
        "sub-agents-mcp"
      ],
      "env": {
        "AGENTS_DIR": "your-value",
        "AGENT_TYPE": "your-value",
        "AGENT_PERMISSION": "your-value",
        "AGENT_MODEL": "your-value",
        "AGENT_EFFORT": "your-value",
        "CURSOR_API_KEY": "your-value",
        "CLI_API_KEY": "your-value",
        "EXECUTION_TIMEOUT_MS": "your-value",
        "SESSION_ENABLED": "your-value",
        "SESSION_DIR": "your-value",
        "SESSION_RETENTION_DAYS": "your-value",
        "AGENTS_SETTINGS_PATH": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "sub-agents": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sub-agents-mcp"
      ],
      "env": {
        "AGENTS_DIR": "your-value",
        "AGENT_TYPE": "your-value",
        "AGENT_PERMISSION": "your-value",
        "AGENT_MODEL": "your-value",
        "AGENT_EFFORT": "your-value",
        "CURSOR_API_KEY": "your-value",
        "CLI_API_KEY": "your-value",
        "EXECUTION_TIMEOUT_MS": "your-value",
        "SESSION_ENABLED": "your-value",
        "SESSION_DIR": "your-value",
        "SESSION_RETENTION_DAYS": "your-value",
        "AGENTS_SETTINGS_PATH": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • AGENTS_DIR 必須 env
    Absolute path to the directory containing agent definition files (.md or .txt)
  • AGENT_TYPE 必須 env
    Type of AI CLI to use: 'cursor', 'claude', 'gemini', 'codex', 'command-code', 'glm', 'kimi', 'grok', 'antigravity', 'opencode', 'mcode', or 'pi'
  • AGENT_PERMISSION env
    Approval/sandbox level for sub-agents: 'read-only', 'safe-edit' (default), or 'yolo'
  • AGENT_MODEL env
    Optional model override applied to every sub-agent execution by this MCP server
  • AGENT_EFFORT env
    Optional backend-specific reasoning effort or model variant. Supported by codex, claude, command-code, glm, kimi, grok, antigravity, opencode, mcode, and pi.
  • CURSOR_API_KEY 秘密 env
    API key for cursor-agent authentication (used only when AGENT_TYPE=cursor; passed via env, never via CLI args)
  • CLI_API_KEY 秘密 env
    Provider API key for AGENT_TYPE=glm or kimi (passed to the claude binary via env, never via CLI args). Restart/reconnect the MCP server after changing it.
  • EXECUTION_TIMEOUT_MS env
    Agent execution timeout in milliseconds, as a positive whole number (default: 300000). The server refuses to start on an invalid value such as "5min".
  • SESSION_ENABLED env
    Enable session management to maintain execution history across agent calls (default: false)
  • SESSION_DIR env
    Directory path for storing session files (default: .mcp-sessions in current working directory)
  • SESSION_RETENTION_DAYS env
    Number of days to retain session history before automatic cleanup (default: 1)
  • AGENTS_SETTINGS_PATH env
    Path to CLI settings file/directory. Claude: --settings arg, Cursor: CURSOR_CONFIG_DIR, Codex: CODEX_HOME. GLM/Kimi/Gemini/Grok/Antigravity/OpenCode/Command Code/MiniMax Code/Pi not supported.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント shinpr で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32678件のうち0%よりスターが多い
  • このカテゴリのほかの32678件のうち71%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32678件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Sub Agents MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:AGENTS_DIR, AGENT_TYPE, CURSOR_API_KEY, CLI_API_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.15.1)がレジストリに届いたのは16 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Starreel

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

Starreel

作者:starreel

Turn a script into a finished, downloadable short-drama episode — via MCP or REST.

パソコンで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Sub-Agents MCP Server

Run reusable coding agents from any MCP-compatible client.

Write a reviewer, test writer, or investigator in Markdown, then ask your assistant to use it. The MCP server runs that agent with the coding CLI you choose and returns the result to the same conversation.

What You Can Do

  • Delegate code review, test writing, investigation, and documentation to focused agents
  • Reuse the same agent definitions across MCP clients with one shared backend and model configuration
  • Continue the same agent across multiple calls for longer work

Quick Start

You need Node.js 22 or later, an MCP-compatible client, and one supported coding CLI installed and signed in. This example uses Codex.

1. Create an Agent

Create an agents folder anywhere on your machine, then add code-reviewer.md:

# Code Reviewer

Review code for bugs and maintainability issues.

Task

  • Find concrete problems in the requested changes
  • Explain why each problem matters
  • Point to the affected code

Done When

  • All requested files have been reviewed
  • Findings include evidence and suggested next steps

The filename becomes the agent name: code-reviewer.md becomes code-reviewer.

2. Add the MCP Server

Add the server to your client's MCP configuration. Replace AGENTS_DIR with the absolute path to the folder you created.

{

"mcpServers": { "sub-agents": { "command": "npx", "args": ["-y", "sub-agents-mcp"], "env": { "AGENTS_DIR": "/absolute/path/to/agents", "AGENT_TYPE": "codex" } } } }

Restart or reconnect your MCP client after saving the configuration.

3. Run the Agent

Ask your assistant:

Use the code-reviewer agent to review the authentication changes.

Your assistant runs the agent with Codex and returns the review to the conversation.

Examples

Use the test-writer agent to add unit tests for the auth module.
Use the bug-investigator agent to find the cause of the failed checkout requests.
Use the doc-writer agent to document the public API changes.

Name both the agent and the work you want it to do.

When the MCP Server Fits

Use the MCP server when you want to share the same agents across MCP clients while keeping backend and model configuration in one place.

If you prefer a lighter installation or want each agent to choose its own backend and model, see Sub-Agents Skills.

Supported Backends

Set AGENT_TYPE to the backend you already use:

AGENT_TYPEBackendCommand
codexCodexcodex
claudeClaude Codeclaude
cursorCursor CLIcursor-agent
command-codeCommand Codecommand-code
glmGLM (Z.ai)claude
kimiKimiclaude
grokGrok Buildgrok
antigravityGoogle Antigravityagy 1.1.12+
geminiGemini CLI (compatibility)gemini
opencodeOpenCodeopencode
mcodeMiniMax Codemcode
piPipi

The selected CLI must be installed and configured before the MCP server starts.

GLM and Kimi require CLI_API_KEY in the MCP server environment. Other backends use the CLI's existing authentication.

For Google models, prefer Antigravity. Gemini CLI remains available for existing enterprise, API key, or Vertex AI configurations.

Shared Agent Settings

Set AGENT_MODEL to use one model for every agent. Omit it to use the backend's default.

AGENT_PERMISSION controls what agents may do:

  • read-only — review and investigation
  • safe-edit — edits allowed without approval (default)
  • yolo — unrestricted execution

If an agent reports that an action was blocked, choose a less restrictive mode.

How strictly each level is enforced depends on the backend, so treat it as guidance rather than a security boundary.

Continue Work Across Calls

Set SESSION_ENABLED to "true" when you want an agent to remember earlier calls and continue a longer task. Your assistant must reuse the returned session_id on the next call to continue that session.

If It Does Not Start

  • Run the selected backend command directly and confirm that it is installed and signed in
  • Make sure AGENTS_DIR is an absolute path and contains at least one .md or .txt file
  • Restart or reconnect the MCP client after changing its configuration

License

MIT

PopNxに聞く