Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

docs(integrations): add github copilot cli mcp setup page

Louis Beaumontb00c7ea9a27b
diff --git a/docs/mintlify/docs-mintlify-mig-tmp/copilot-cli.mdx b/docs/mintlify/docs-mintlify-mig-tmp/copilot-cli.mdx
new file mode 100644
index 000000000..48f0b7ef3
--- /dev/null
+++ b/docs/mintlify/docs-mintlify-mig-tmp/copilot-cli.mdx
@@ -0,0 +1,157 @@
+---
+title: "GitHub Copilot CLI — agentic coding with screen context"
+sidebarTitle: "copilot cli"
+description: "Connect screenpipe to GitHub Copilot CLI via MCP so Copilot can reference your screen history, meeting transcriptions, and app context from the terminal."
+icon: "terminal"
+---
+
+<img src="/copilot-icon.svg" alt="GitHub Copilot" width="80" />
+
+[GitHub Copilot CLI](https://docs.github.com/en/copilot/concepts/agents/about-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
+
+the easiest way is the built-in `/mcp add` slash command inside Copilot CLI:
+
+```
+/mcp add
+```
+
+fill in the prompts:
+
+| field | value |
+|-------|-------|
+| name | `screenpipe` |
+| type | `local` |
+| command | `npx` |
+| args | `-y screenpipe-mcp` |
+| tools | `*` |
+
+or edit `~/.copilot/mcp-config.json` directly:
+
+```json
+{
+ "mcpServers": {
+ "screenpipe": {
+ "type": "local",
+ "command": "npx",
+ "args": ["-y", "screenpipe-mcp"],
+ "tools": ["*"]
+ }
+ }
+}
+```
+
+restart Copilot CLI after editing the config.
+
+## stdio vs http
+
+use **stdio** (`type: "local"`). screenpipe runs on the same machine as Copilot CLI, so there's no network hop to add. the HTTP transport is only useful when the MCP client lives on a different machine — see [openclaw](/openclaw) for that pattern.
+
+## verify connection
+
+inside Copilot CLI, run:
+
+```
+/mcp
+```
+
+you should see `screenpipe` listed with its tools.
+
+## available tools
+
+| tool | description |
+|------|-------------|
+| `search-content` | search accessibility-first screen text, audio transcriptions, and input events with time/app filters |
+| `export-video` | create video exports from screen recordings |
+| `activity-summary` | compressed activity overview for a time range |
+| `list-meetings` | list detected meetings with duration, app, and attendees |
+| `search-elements` | search structured UI elements (accessibility tree nodes and OCR text blocks) |
+| `frame-context` | get accessibility text, parsed tree nodes, and extracted URLs for a specific frame |
+
+## usage examples
+
+ask Copilot CLI to use screenpipe naturally:
+
+```
+> what was I working on this morning?
+
+> find the error message I saw in my terminal earlier
+
+> summarize the kubernetes docs I was reading
+
+> export a video of my screen from 2-3pm today
+
+> what did the team discuss in standup about the API refactor?
+
+> which apps did I switch between most today?
+```
+
+## example workflows
+
+**recall context from earlier:**
+```
+> I was reading a blog post about rust async earlier today,
+> search screenpipe and summarize the key points
+```
+
+**reference meeting discussion:**
+```
+> search my audio transcriptions for what was discussed in standup
+> about the API refactor, then help me implement it
+```
+
+**debug with screen history:**
+```
+> I saw an error message flash on screen, search screenpipe
+> to find it and help me fix the issue
+```
+
+## requirements
+
+- screenpipe running on localhost:3030 (start with `npx 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:
+
+```bash
+npx screenpipe@latest record
+```
+
+check the version you're running:
+
+```bash
+npx screenpipe@latest --version
+```
+
+**MCP not connecting?**
+
+1. verify screenpipe is running:
+ ```bash
+ curl http://localhost:3030/health
+ ```
+ you should see `{"status":"healthy"}`.
+
+2. confirm Copilot sees the server:
+ ```
+ /mcp
+ ```
+
+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](https://discord.gg/screenpipe).
diff --git a/docs/mintlify/docs-mintlify-mig-tmp/copilot-icon.svg b/docs/mintlify/docs-mintlify-mig-tmp/copilot-icon.svg
new file mode 100644
index 000000000..fc0d041ed
--- /dev/null
+++ b/docs/mintlify/docs-mintlify-mig-tmp/copilot-icon.svg
@@ -0,0 +1 @@
+<svg fill="#000000" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub Copilot</title><path d="M23.922 16.997C23.061 18.492 18.063 22.02 12 22.02 5.937 22.02.939 18.492.078 16.997A.641.641 0 0 1 0 16.741v-2.869a.883.883 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.098 10.098 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952C7.255 2.937 9.248 1.98 11.978 1.98c2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.841.841 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256Zm-11.75-5.992h-.344a4.359 4.359 0 0 1-.355.508c-.77.947-1.918 1.492-3.508 1.492-1.725 0-2.989-.359-3.782-1.259a2.137 2.137 0 0 1-.085-.104L4 11.746v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.359 4.359 0 0 1-.355-.508Zm2.328 3.25c.549 0 1 .451 1 1v2c0 .549-.451 1-1 1-.549 0-1-.451-1-1v-2c0-.549.451-1 1-1Zm-5 0c.549 0 1 .451 1 1v2c0 .549-.451 1-1 1-.549 0-1-.451-1-1v-2c0-.549.451-1 1-1Zm3.313-6.185c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z"/></svg>
\ No newline at end of file
diff --git a/docs/mintlify/docs-mintlify-mig-tmp/docs.json b/docs/mintlify/docs-mintlify-mig-tmp/docs.json
index c71cfc17b..0b4184701 100644
--- a/docs/mintlify/docs-mintlify-mig-tmp/docs.json
+++ b/docs/mintlify/docs-mintlify-mig-tmp/docs.json
@@ -39,7 +39,7 @@
},
{
"group": "integrations",
- "pages": ["chatgpt", "apple-intelligence", "ollama", "claude-code", "opencode", "openclaw", "cline", "continue", "gemini-cli", "obsidian", "msty"]
+ "pages": ["chatgpt", "apple-intelligence", "ollama", "claude-code", "opencode", "openclaw", "cline", "continue", "gemini-cli", "copilot-cli", "obsidian", "msty"]
},
{
"group": "reference",