All agents

Use MCP servers in GitHub Copilot CLI with Toolport

Toolport is a free, open source local MCP gateway. Add your servers to Toolport once, flip the GitHub Copilot CLI toggle, and GitHub Copilot CLI gets all of them through a single gateway entry, with lazy discovery loading a handful of meta-tools instead of every server's full tool list.

Setup

  1. Download Toolport for Windows, macOS or Linux, and add your MCP servers to it (or import the ones your other AI agents already have; secrets go to your OS keychain).
  2. Open the Clients tab and toggle GitHub Copilot CLI on. Toolport writes its gateway entry into GitHub Copilot CLI's config, next to anything already there.
  3. Restart or reload GitHub Copilot CLI. Your full server set is available through Toolport, and any server you add later shows up without touching GitHub Copilot CLI again.

Where GitHub Copilot CLI keeps its MCP config

JSON with a top-level mcpServers object.

Good to know

Why a gateway instead of GitHub Copilot CLI's own server list?

Download Toolport, free See all supported agents