Back to Home
j-shelfwood icon

agents

Verified Safe

by j-shelfwood

Overview

Orchestrates multiple autonomous GitHub Copilot CLI agents in parallel for complex development tasks, supervised by Claude Code through an MCP server.

Installation

Run Command
node mcp-servers/agent/index.js

Environment Variables

  • AGENT_BIN_PATH
  • AGENT_HOME
  • AGENT_SYSTEM_INSTRUCTIONS_PATH
  • COPILOT_BIN
  • XDG_CONFIG_HOME
  • XDG_DATA_HOME

Security Notes

The server primarily relies on spawning external shell commands (`agent`) to interact with the underlying system and Copilot CLI. It uses `child_process.spawn` with an array of arguments, which is generally safer against shell injection than `exec` for user-provided inputs. A `validateSessionName` function adds a layer of protection against malicious session names. The `AGENT_CMD` path is configurable via `AGENT_BIN_PATH`, which, if set to a malicious executable by a user, could pose a risk, but this is an environmental configuration concern rather than a direct code vulnerability. The `execAsync` is used for non-user-input commands like `list` and `health_check`. Overall, the use of safer `spawn` with argument arrays for critical, user-input-driven operations significantly enhances security.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens500
Stars0
Forks0
Last Update2025-12-01

Tags

copilotgithub-copilotmcpagentorchestrationautonomousclaude-codetmux