Copilot CLI v1.0.15-1: MCP Auth & HTML Export

Copilot CLI 1.0.15-1 adds MCP OAuth device code flow for CI/headless environments, HTML session export, and fixes autopilot cancellation and keystroke handling.

Copilot CLI v1.0.15-1: MCP Auth & HTML Export

TL;DR

  • MCP OAuth now supports device code flow for headless/CI environments
  • New /share html command exports sessions as self-contained interactive files
  • Config keys now prefer camelCase (snake_case still works)
  • Autopilot cancellation and keystroke handling fixes

New

  • MCP server config RPCs — mcp.config.list, add, update, and remove for persistent MCP server configuration management
  • /mcp auth command — Re-authentication UI for MCP OAuth servers with account switching support
  • Device code flow (RFC 8628) — Fallback OAuth method for headless and CI environments where interactive browser auth isn't possible
  • /share html command — Export sessions and research reports as self-contained interactive HTML files
  • postToolUseFailure hooks — New hooks for handling tool errors; postToolUse now runs only after successful tool calls

Improved

  • Diff viewer navigation — Home/End and Page Up/Page Down keys now work in the diff viewer
  • Session exit timing — CLI exits immediately after a session ends instead of waiting up to 10 seconds
  • Config naming convention — Settings now prefer camelCase (askUser, autoUpdate, storeTokenPlaintext, logLevel, skillDirectories, disabledSkills); snake_case still accepted for backward compatibility

Fixed

  • Autopilot cancellation — Autopilot no longer continues after pressing Escape or Ctrl+C
  • Keystroke loss during load — Keystrokes typed while the CLI is loading are no longer lost
  • Tool output preview — Large tool output preview now shows correct character count and displays up to 500 characters

Removed

  • Ctrl+D behavior — No longer queues a message; use Ctrl+Q or Ctrl+Enter instead

Update with: npm install -g @github/copilot-cli@latest

Source: Copilot CLI