Skip to main content
StableAdapters

GitHub Copilot Adapter

The Copilot adapter connects the GitHub Copilot CLI to FORG using Copilot's lifecycle hooks, plus a managed FORG MCP server entry. It tracks usage metadata so teams can understand adoption, cost attribution, and productivity patterns. There is no FORG proxy binary or npm package to install.

Prerequisites

  • GitHub Copilot CLI v1.0.48 or later (hooks support)
  • FORG CLI installed and activated
  • Node.js 18+ (for the MCP server process)

Install

forg connect copilot

This wires FORG into the Copilot CLI in two places under ~/.copilot/:

  • Lifecycle hooks in settings.json, so Copilot emits session and tool metadata as it runs.
  • A managed FORG MCP server entry in mcp-config.json (under mcpServers), backed by npx -y forg-mcp@latest.

Both edits are marked FORG-managed, so forg uninstall removes only the FORG footprint. Restart the Copilot CLI after connecting.

What gets captured

  • Copilot completion and chat session metadata (model, tokens, cost estimate)
  • Tool-call metadata and session boundaries
  • Seat-utilization and adoption signals for ROI reporting

Privacy

  • Metadata-only: prompt and completion content never leaves your machine.
  • Copilot is seat-licensed, so FORG estimates cost from list prices for reporting.

Verification

FORG_KEYSTORE=file:// forg status
# Run a Copilot CLI session and confirm signals arrive.
© 2026 FORG by UpgradIQ, Inc. All rights reserved.Edit this page on GitHub