copilot-mcp-tool
by Aykahshi
Overview
Integrate GitHub Copilot CLI with Model Context Protocol (MCP) clients to provide AI-powered coding assistance and session management.
Installation
npx -y @aykahshi/copilot-mcp-serverSecurity Notes
The `executeCopilotCommand` function uses `child_process.spawn` with `shell: true`. While the direct arguments passed to the `copilot` command are largely controlled (enums for models, internal session IDs), the use of `shell: true` introduces a potential command injection vulnerability if any unvalidated or malicious user input were to be passed into arguments that are then interpreted by the shell. Although the current implementations appear careful, this flag should ideally be avoided for better security posture when interacting with external executables.
Similar Servers
mcp-use-cli
An interactive command-line interface (CLI) tool for connecting to and interacting with Model Context Protocol (MCP) servers using natural language, acting as an AI client that orchestrates LLM responses with external tools.
gh-mcp
A GitHub CLI extension to seamlessly run the github-mcp-server in a Docker container using existing `gh` authentication.
copilot-kit
Provides a curated collection of GitHub Copilot prompts, instructions, and configurations to enhance developer productivity and streamline AI-assisted programming workflows in VS Code.
Clartat-MCP
Integrate GitHub Projects v2 data with GitHub Copilot Chat for viewing project items and creating issues.