Skip to main content

copilot-cli-mcp-config

Manages GitHub Copilot CLI MCP server configurations using mcp-config.json for seamless integration and server management.

Install this skill

or
0/100

Security score

The copilot-cli-mcp-config skill was audited on May 12, 2026 and we found 23 security issues across 3 threat categories, including 5 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 74

Template literal with variable interpolation in command context

SourceSKILL.md
74```json
medium line 101

Template literal with variable interpolation in command context

SourceSKILL.md
101```json
high line 154

Template literal with variable interpolation in command context

SourceSKILL.md
154Use `${VAR_NAME}` syntax for variable substitution:
medium line 156

Template literal with variable interpolation in command context

SourceSKILL.md
156```json
high line 181

Template literal with variable interpolation in command context

SourceSKILL.md
181| **Env vars** | Supports `inputs` and `envFile` | Only `env` object with `${VAR}` syntax |
high line 183

Template literal with variable interpolation in command context

SourceSKILL.md
183| **Variable syntax** | Can use `inputs` references | Must use `${VARIABLE}` syntax |
medium line 187

Template literal with variable interpolation in command context

SourceSKILL.md
187```json
medium line 204

Template literal with variable interpolation in command context

SourceSKILL.md
204```json
medium line 237

Template literal with variable interpolation in command context

SourceSKILL.md
237```json
medium line 265

Template literal with variable interpolation in command context

SourceSKILL.md
265```json
high line 307

Template literal with variable interpolation in command context

SourceSKILL.md
307- Ensure using `${VAR_NAME}` syntax (not `$VAR_NAME`)
high line 322

Template literal with variable interpolation in command context

SourceSKILL.md
3223. Replace `inputs` with `env` and use `${VAR}` syntax
medium line 3

Access to hidden dotfiles in home directory

SourceSKILL.md
3description: Manage GitHub Copilot CLI MCP server configuration, including ~/.copilot/mcp-config.json, COPILOT_HOME or --config-dir, project-level .mcp.json/.github/mcp.json/.vscode/mcp.json, /mcp com
medium line 15

Access to hidden dotfiles in home directory

SourceSKILL.md
15**Default**: `~/.copilot/mcp-config.json`
medium line 21

Access to hidden dotfiles in home directory

SourceSKILL.md
213. Default `~/.copilot/`
medium line 27

Access to hidden dotfiles in home directory

SourceSKILL.md
27**Additional config at runtime**: `--additional-mcp-config` augments `~/.copilot/mcp-config.json` for the current session only. It is repeatable, and accepts either a JSON string or a file path prefix
medium line 182

Access to hidden dotfiles in home directory

SourceSKILL.md
182| **Location** | `.vscode/mcp.json` or global settings | `~/.copilot/mcp-config.json` (or `$COPILOT_HOME/mcp-config.json`) |
medium line 231

Access to hidden dotfiles in home directory

SourceSKILL.md
231Local `stdio`/`local` MCP servers **cannot** be declared per-agent — they must be configured globally in `~/.copilot/mcp-config.json`.
medium line 303

Access to hidden dotfiles in home directory

SourceSKILL.md
303- Check logs in `~/.copilot/logs/` (or `$COPILOT_HOME/logs/` if overridden)
medium line 328

Access to hidden dotfiles in home directory

SourceSKILL.md
328**Personal configuration**: Default `~/.copilot/mcp-config.json`
low line 106

External URL reference

SourceSKILL.md
106"url": "https://api.githubcopilot.com/mcp/readonly",
low line 227

External URL reference

SourceSKILL.md
227url: https://example.com/mcp
low line 248

External URL reference

SourceSKILL.md
248"url": "https://api.githubcopilot.com/mcp/readonly",
Scanned on May 12, 2026
View Security Dashboard
Installation guide →