GitHub Copilot CLI

The GitHub Copilot terminal agent with access to repositories, issues and pull requests, plus MCP support

  • 11,307 ★ on the repository
  • Last commit
CLIEditors’ pick

Broad access

Why this level

  • Runs commands and modifies files
  • Acts on repositories and issues on behalf of your GitHub account
All reasons and checks

github/copilot-cli

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/github-copilot-cli

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • Runs commands and modifies files
  • Acts on repositories and issues on behalf of your GitHub account

This is third-party code. Review the repository files before installing.

What it does

Copilot CLI starts with the copilot command in a code folder and acts as an agent: it plans a task, edits files, builds and debugs the project. It shares its harness with GitHub's cloud coding agent and sees repositories, issues and PRs through your GitHub account. The GitHub MCP server is built in, and you can add your own MCP servers and LSP servers for code navigation. Every action is previewed and needs approval.

Who it is for. For developers with a Copilot subscription who want an agent in the terminal.

Good fit when

  • You already pay for Copilot and want to work in the terminal
  • The task involves GitHub issues and PRs
  • You want to plug your own MCP servers into the GitHub agent

Not a fit when

  • You have no Copilot subscription or your organization disabled the CLI
  • You need to work with a local model without the cloud

Example request

Find open issues labeled bug in this repository and fix the first one

Limitations

An active Copilot subscription is required, and each prompt uses premium request quota. Organization admins can disable the CLI. Copilot services are not guaranteed to work from Russia without a VPN, and paying for a subscription from Russia is difficult. LSP servers are installed separately.

How to disable. Remove it with npm uninstall -g @github/copilot or brew uninstall copilot-cli; settings live in ~/.copilot.

FAQ

Can I sign in without a browser?

Yes, with a fine-grained PAT that has the Copilot Requests permission, set in GH_TOKEN or GITHUB_TOKEN.

How do I change the model?

With the /model command inside a session.

Discussion

No questions or reviews yet.

CLI tools

A universal MCP CLI client from Apify: persistent sessions, OAuth, JSON output for scripts and shell access to any MCP server for agents

CLIBroad access1.1KRepository stars

A CLI that turns any MCP server, OpenAPI spec or GraphQL endpoint into commands at runtime, with no codegen

CLIBroad access2.4KRepository stars

Lets an agent call MCP and UTCP tools by running code: discover tools, get typed code and run chains instead of dozens of separate calls

CLIBroad access1.6KRepository stars
Official

A Claude Code plugin and CopilotKit skills: the agent reads current docs and source, checks a project with verify and sets up Slack channels

PluginExtended access38.3KRepository stars

A desktop app that runs Claude Code, Codex, Cursor and OpenCode in parallel, each in its own git worktree, with a CLI and MCP server for control

CLIExtended access1.3KRepository stars

MCP Agent Mail

mcp_agent_mail

A mail coordination layer for coding agents: agents have memorable names, inboxes and outboxes, history search and voluntary file reservations

MCP serverExtended access2.2KRepository stars

README in short

The README covers requirements, installation via script, Homebrew, WinGet and npm, and sign-in via /login or a token. It explains model selection, experimental mode with autopilot, and premium request usage. A separate section shows LSP server configuration at user and repository level.

README badge

Report a problem

Foxx AIGitHub Copilot CLI
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.