Back to Home
j-shelfwood icon

agents

Verified Safe

by j-shelfwood

Overview

Orchestrates autonomous GitHub Copilot CLI agents for coding tasks and integrates with Claude Code via the Model Context Protocol (MCP) server.

Installation

Run Command
node ~/.local/share/copilot-agent/src/mcp-server/index.js

Environment Variables

  • AGENT_BIN_PATH
  • XDG_CONFIG_HOME
  • XDG_DATA_HOME
  • AGENT_HOME
  • AGENT_METADATA_DIR
  • AGENT_METADATA_ARCHIVE_DIR
  • AGENT_BIN_DIR
  • AGENT_SYSTEM_INSTRUCTIONS_PATH
  • COPILOT_BIN

Security Notes

The server implements strict session name validation using regex to prevent shell injection attacks. External commands (`agent` CLI) are executed via `spawn` with argument arrays, mitigating shell interpretation of user input. A critical path traversal vulnerability in `agent-launch` was previously discovered and fixed, demonstrating a proactive approach to security. Additionally, Git operations like commit/push/merge are explicitly blocked for agents to ensure human oversight and prevent autonomous repository modification. While robust, any system executing external shell scripts carries inherent security considerations for the underlying scripts.

Similar Servers

Stats

Interest Score15
Security Score8
Cost ClassLow
Stars2
Forks0
Last Update2025-12-22

Tags

CopilotAgentOrchestrationClaude CodeTmux