Skip to main content
GitHub Copilot GitHub Copilot CLI is GitHub’s terminal-based AI coding agent. it supports MCP servers, so you can connect screenpipe and let Copilot reference what you’ve been seeing, hearing, and doing.

setup

before setting up, make sure screenpipe is running on your machine:
check that it’s running:
the easiest way to connect is the built-in /mcp add slash command inside Copilot CLI:
fill in the prompts: or edit ~/.copilot/mcp-config.json directly:
restart Copilot CLI after editing the config.

stdio vs http — which should I use?

use stdio (type: "local" in config). this is the standard for local MCP servers on the same machine. screenpipe runs locally on your machine, so stdio communication has no network overhead and is the intended pattern. HTTP transport is only for remote scenarios where your MCP client (Claude, Cursor, etc.) runs on a different machine than screenpipe — see openclaw for that pattern. for Copilot CLI on the same machine, always choose stdio.

verify connection

inside Copilot CLI, run:
you should see screenpipe listed with its tools.

available tools

usage examples

ask Copilot CLI to use screenpipe naturally:

example workflows

recall context from earlier:
reference meeting discussion:
debug with screen history:

requirements

  • screenpipe running on localhost:3030 (start with npx -y screenpipe@latest record)
  • GitHub Copilot CLI installed
  • Node.js >= 18.0.0

troubleshooting

how do I check I’m on the latest screenpipe CLI? always invoke screenpipe with the @latest npm tag — it pulls the freshest build from npm each time:
check the version you’re running:
MCP not connecting?
  1. verify screenpipe is running:
    you should see {"status":"healthy"}.
  2. confirm Copilot sees the server:
  3. remove and re-add via /mcp if the server is in an error state.
queries returning empty?
  • check screenpipe has data: curl "http://localhost:3030/search?limit=1"
  • ensure screen recording permissions are granted
  • give screenpipe a minute or two of running before querying
permission errors on macOS?
  • System Settings → Privacy & Security → Screen Recording → enable for your terminal
still stuck? ask in our discord.