Analysis updated 2026-05-18
Script exactly what Copilot says during a live demo so responses are always on point and load instantly.
Record a screencast of an AI coding session where Copilot performs specific file edits, using mock tool-call responses that VS Code renders as real.
Test a VS Code extension that reacts to Copilot Chat responses without spending API credits or hitting rate limits.
| estruyf/copilot-mock-server | abidoo22/pixelorama-mcp | aditya-pandey/slate | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | easy | moderate | easy |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | developer | vibe coder | general |
Figures from each repo's GitHub metadata at analysis time.
Run via npx with no install, requires writing a JSON rules file and injecting proxy settings into VS Code.
copilot-mock-server is a local proxy tool for developers who want to give demos or test tooling that uses GitHub Copilot Chat, without making live calls to the real Copilot API. When started and pointed at this server, the Copilot client intercepts the requests and returns scripted, pre-written answers instead of generating real AI responses. The core use case is deterministic demos: you write rules in a JSON file pairing keywords with responses. When a message contains those keywords, the mock server replies with your scripted text, streamed token by token just as Copilot would. This means screencasts or live presentations where Copilot always says exactly what you planned, with no risk of a surprise or slow response. The server handles both communication styles Copilot uses: WebSockets and HTTP server-sent events. It also works as an HTTPS interception proxy for command-line tools that respect the HTTPS_PROXY environment variable, so you can mock Copilot traffic beyond VS Code without changing code. Beyond simple scripted responses, the rules format supports multi-step sequences where Copilot appears to narrate, call tools like file creation, then narrate again, faking the look of an AI agent working through a task. Rules can include delays to simulate a thinking pause. Tool-call outputs are included, which VS Code renders as the AI actually executing file edits. A learning mode lets you record real Copilot responses while using the product normally, building up a library of actual responses to replay later. A list command prints all loaded rules before a demo so you can verify everything is correct. An option to forward unmatched prompts to the real Copilot API is also available. Setup is quick: run npx copilot-mock-server with no install required, write a rule file, and tell VS Code to proxy Copilot traffic to localhost. A helper command injects the needed VS Code settings automatically.
A local proxy that intercepts GitHub Copilot Chat requests and returns scripted, deterministic responses for demos, recordings, and testing Copilot-integrated tools without hitting the real API.
Mainly TypeScript. The stack also includes TypeScript, Node.js, WebSocket.
No license information was found in the README.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.