Skip to main content
Glama

Copilot Desktop MCP 🖥️⚡

Python 3.10+

MCP Standard

Tools: 53

License: MIT

Platform: Windows

A secure, policy-controlled Model Context Protocol (MCP) server that connects AI assistants (Copilot, Antigravity, Cursor, Windsurf) with native Windows desktop productivity, Microsoft Teams meeting minutes, document synthesis, self-upgrade hot-reloading, and local automation.


🌟 Why Copilot Desktop MCP?

In most corporate environments, teams run predominantly on Windows, Microsoft 365, and Teams. However, default basic AI assistants lack true local OS integration:

  • They cannot directly generate native binary Office documents (.xlsx, .docx, .pptx, .pdf) directly onto your workspace.

  • They cannot record and transcribe internal Microsoft Teams / Zoom meetings into formatted meeting minutes (notulen) without expensive enterprise add-on subscriptions ($30/user/mo).

  • They lack desktop awareness, local OCR, clipboard manipulation, and Telegram alert dispatching.

  • They cannot autonomously update or self-upgrade without breaking or requiring manual terminal restarts.

Copilot Desktop MCP solves this by providing a unified, open-source bridge with 53 active tools while enforcing zero-trust security sandboxing:

  • 🛡️ Workspace Sandboxing: Tools can only access files within explicitly allowed directories (allowed_roots).

  • 🔒 Secrets Redaction: Automatically blocks sensitive files (.env, SSH keys) from tool access and masks credentials in audit logs.

  • 📜 Full Audit Logging: Every tool call, argument, and execution outcome is recorded to logs/audit.log.

  • 🔄 Safe Self-Upgrade & Hot-Reload: Automatic backups and isolated subprocess validation before hot-restarting the server.


Related MCP server: Windows MCP Server

🚀 Key Features & Tools (53 Modular Tools)

1. 🎙️ AI Meeting Minutes & Grounded Notulen Intelligence (Meetily-Inspired)

  • start_meeting_recording: Captures meeting audio (Microsoft Teams, Zoom, Google Meet) via Windows WASAPI loopback (speaker audio of attendees) and/or local microphone.

  • stop_meeting_recording: Finalizes the audio capture and reports recording duration and session ID.

  • meeting_recording_status: Monitors live recording state and lists past saved audio sessions.

  • transcribe_meeting: Local, privacy-preserving transcription via Faster-Whisper with Meetily-tuned strict VAD (min_speech_duration_ms=250), anti-cascade (condition_on_previous_text=False), silence RMS energy detection, and auto-purge of hallucination loops.

  • clean_transcript: Purges Whisper silence hallucinations ('Saya: I', 'A B U', micro-token loops) from any existing meeting transcript while preserving genuine dialogue and timestamps.

  • summarize_meeting: Generates structured, evidence-grounded Minutes of Meeting (MoM) using Meetily templates (project_sync, standard, standup). Includes verified Action Items Table with exact verbatim quotes and seconds-level timestamps, with optional instant Telegram forwarding!

  • list_meeting_summaries: Views all recorded meeting sessions along with their transcript and summary statuses.

2. 📊 Office & Document Synthesis Engine

  • read_document: Parse text from PDF (.pdf), Word (.docx), Excel (.xlsx, .xlsm), and PowerPoint (.pptx).

  • create_excel: Generate native Excel spreadsheets with formatted headers, auto-fit columns, and multiple sheets.

  • create_docx: Create formatted Word documents from structured blocks (headings, paragraphs, bullet lists, tables).

  • create_pptx: Build PowerPoint slide decks with titles, bullet points, and speaker notes.

  • create_pdf: Render formatted PDF documents.

  • pdf_merge & pdf_split: Merge multiple PDFs or split a multi-page PDF into single-page files.

3. 📱 Telegram Assistant & Dispatcher

  • send_telegram_message: Dispatch meeting summaries, reminders, or alert notifications directly to your Telegram chat or channel.

  • send_telegram_document: Push generated reports (.xlsx, .docx, .pdf) directly to your mobile Telegram.

  • test_telegram_connection: Validate bot credentials and verify API reachability.

4. 🔄 Autonomous Self-Upgrade & Hot-Reload

  • apply_self_update: Atomic upgrade: creates a timestamped backup snapshot, validates syntax, and restarts the server process.

  • restart_self: Hot-restart the MCP server in background so newly installed tools or code edits activate immediately.

  • backup_self: Snapshot current code and configuration into backups/.

  • list_backups: View and audit previous backup snapshots.

  • restore_backup: Instant rollback to any previous working state if an error is detected.

  • validate_pending_changes: Syntax compilation check in an isolated subprocess to prevent breaking live agents.

  • check_git_updates: Check if newer commits are available on GitHub remote.

  • pull_git_update: Pull latest GitHub updates with automatic rollback protection.

5. 👁️ Desktop Awareness & OCR

  • take_screen_snapshot: Capture the active window or full virtual screen as PNG.

  • read_image_text: Optical Character Recognition (OCR) via Tesseract for extracting text from screenshots and diagrams.

  • get_active_window: Inspect the currently focused foreground application (title, PID, process name, bounds).

  • list_open_windows: Enumerate visible application windows currently running on the desktop.

  • get_clipboard & set_clipboard: Seamlessly read and write text to the Windows clipboard.

  • notify_user: Trigger native Windows Toast Notification popups.

  • run_diagnostic_ps: Execute safe, read-only diagnostic PowerShell queries (Get-, Test-, ipconfig, systeminfo).

6. 💻 Productivity Apps & Git Manager

  • open_app: Launch whitelisted desktop applications (vscode, notepad, calc, excel, word, powerpoint, terminal).

  • git_status: View short git status and branch info for workspaces.

  • git_diff: View file change statistics and diffs.

  • git_log: Inspect recent git commit logs.

7. 🛡️ Sandboxed Workspace Operations

  • list_directory: Safely explore folders within allowed project roots.

  • read_file & write_file: Read and write plain text files with strict byte limits.

  • apply_text_replacement: Perform precise, single-occurrence text replacements in files.

  • search_files: Fast regex/text search across codebases.

  • create_archive: Compress files and directories into .zip archives.

  • create_sqlite: Provision local SQLite databases with predefined schemas and data.

  • fetch_url: Read and extract cleaned readable text from public web pages.

8. 🧰 Daily Smart Utilities

  • system_status: Real-time CPU, RAM, and Disk utilization metrics.

  • disk_usage_report: Identify which subdirectories are consuming the most disk space.

  • create_qrcode: Instantly generate QR codes for links or text.

  • calculate: Safe AST-based mathematical expression evaluator.

  • unit_convert: Convert lengths, weights, volumes, and temperatures.

  • ping_host & tcp_port_check & dns_lookup: Essential network diagnostics.


📦 Installation & Quickstart

Prerequisites

  • Windows 10 / 11

  • Python 3.10 or higher

  • (Optional) Tesseract-OCR for OCR capability.

  1. Clone the repository:

    
    git clone https://github.com/avianhermana/copilot-desktop-mcp.git
    
    cd copilot-desktop-mcp
    
    
  2. Double-click install.bat.

    • Automatically configures virtual environment .venv.

    • Installs core packages, Windows extensions, and Meeting Minutes suite.

    • Generates default config.yaml and .env templates.

🛠️ Method B: Manual Setup


python -m venv .venv

.\.venv\Scripts\activate



# Install all components (including audio recorder & whisper)

pip install -e ".[full]"



# Setup configuration

copy config.example.yaml config.yaml

copy .env.example .env


🔌 Integration with MCP Clients

1. Copilot Desktop / MCP Clients

Add this to your MCP configuration file (e.g. mcp_config.json or desktop client settings):


{

  "mcpServers": {

    "copilot-desktop": {

      "command": "<your-directory-path>\\.venv\\Scripts\\python.exe",

      "args": [

        "-m",

        "copilot_desktop_mcp.server",

        "--transport",

        "stdio"

      ],

      "cwd": "<your-directory-path>"

    }

  }

}

2. Antigravity / Cursor / Windsurf

Configure your agent settings or MCP configuration:


{

  "mcpServers": {

    "copilot-desktop": {

      "command": "<your-directory-path>/.venv/Scripts/python.exe",

      "args": ["-m", "copilot_desktop_mcp.server"],

      "cwd": "<your-directory-path>"

    }

  }

}


⚙️ Configuration (config.yaml)


workspace:

  allowed_roots:

    - "<your-directory-path>"   # Only paths under allowed_roots can be accessed

  blocked_names:

    - ".env"

    - "id_rsa"

  max_read_bytes: 2000000   # 2 MB limit

  max_write_bytes: 2000000



meeting:

  recordings_dir: "<your-directory-path>\\recordings"

  default_whisper_model: "small"



ocr:

  tesseract_cmd: "C:\\Program Files\\Tesseract-OCR\\tesseract.exe"



apps:

  allowed:

    vscode: "code"

    notepad: "notepad.exe"

    excel: "excel.exe"


🔒 Security Architecture

  • Least Privilege: Destructive commands (reboots, keyboard/mouse hijacking, arbitrary shell scripts) are completely omitted.

  • Path Traversal Protection: Absolute path canonicalization ensures no escaping outside allowed_roots.

  • Safe Subprocesses: Diagnostic tools enforce strict command whitelisting to eliminate shell injection risks.

  • Confidentiality: Audio recordings and OCR transcripts are processed 100% locally on your machine.

  • Safe Hot-Reload: Code changes are verified for syntax validity in a fresh subprocess before any server restart.


🤝 Contributing

Contributions are what make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated!

Please see our CONTRIBUTING.md guide for details on our code of conduct and development setup.


☕ Support & Sponsorship

If this project saved you time, enhanced your AI workflow, or helped you in your daily work, consider supporting its development:

[![Buy Me a Coffee]

Saweria

Trakteer

Your support helps maintain the project, add more desktop tools, and keep it 100% open-source!


📄 License

This project is licensed under the MIT License.

Available Tools

53 tools
apply_self_updateApply Self UpdateB

Atomic safe upgrade: creates a backup snapshot, validates syntax, and restarts the server if valid.

Inputs: reason. Returns: object

apply_text_replacementApply Text ReplacementC

Make an exact single text replacement in an approved file.

Inputs: path (required), new_text (required), old_text (required). Returns: object

backup_selfBackup SelfA

Create a timestamped backup snapshot of the server codebase and configuration before applying edits.

Inputs: no named parameters. Returns: object

calculateCalculateA
Read-only

Evaluate an arithmetic expression safely using abstract syntax tree (AST). Supports +, -, *, /, //, %, ** and parentheses. No arbitrary code execution.

Inputs: expression (required). Returns: object

check_git_updatesCheck Git UpdatesA
Read-only

Check if there are newer commits or updates available on the remote GitHub repository.

Inputs: no named parameters. Returns: object

clean_transcriptClean TranscriptA

Purge Whisper silence hallucinations ('Saya: I', 'A B U', micro-token loops) from an existing meeting transcript.

session_id: Session ID to clean (empty = latest session). Overwrites transcript.txt with cleaned version and creates a backup.

Inputs: session_id. Returns: object

create_archiveCreate ArchiveC

Create a compressed .zip archive from one or more files or folders.

Inputs: path (required), sources (required), overwrite. Returns: object

create_docxCreate DocxB

Create a native Word document (.docx). blocks is a list of structured content blocks:

  • {"type": "heading", "text": "...", "level": 1-3}

  • {"type": "paragraph", "text": "..."}

  • {"type": "bullets", "items": ["item 1", "item 2"]}

  • {"type": "table", "rows": [["Col 1", "Col 2"], ["Val 1", "Val 2"]]}

Inputs: path (required), blocks (required), title, overwrite. Returns: object

create_excelCreate ExcelB

Create a native Excel workbook (.xlsx). sheets is a dict mapping sheet names to lists of rows. First row is automatically formatted as a bold header.

Inputs: path (required), sheets (required), overwrite. Returns: object

create_pdfCreate PdfC

Create a clean PDF document using structured blocks (headings, paragraphs, bullet lists, tables).

Inputs: path (required), blocks (required), title, overwrite. Returns: object

create_pptxCreate PptxB

Create a native PowerPoint presentation (.pptx). slides is a list of slide dicts: {"title": str, "bullets": [str, ...], "notes": str (optional)}.

Inputs: path (required), slides (required), overwrite. Returns: object

create_qrcodeCreate QrcodeC

Generate a QR code image (PNG) from text or URL.

Inputs: data (required), path (required), overwrite. Returns: object

create_sqliteCreate SqliteB

Create a SQLite database file (.db or .sqlite). tables maps table names to {"columns": ["col1", "col2"], "rows": [[val1, val2], ...]}.

Inputs: path (required), tables (required), overwrite. Returns: object

disk_usage_reportDisk Usage ReportB
Read-only

Report the largest immediate subfolders under a given path to help find disk hogs.

Inputs: path (required), top_n. Returns: result

dns_lookupDns LookupC
Read-only

Resolve a hostname into its corresponding IP addresses.

Inputs: hostname (required). Returns: object

fetch_urlFetch UrlA
Read-only

Fetch and extract clean readable text from a public web page (HTML).

Inputs: url (required). Returns: result

get_active_windowGet Active WindowA
Read-only

Inspect the currently focused foreground window on Windows desktop. Returns the window title, process name, PID, and screen boundaries.

Inputs: no named parameters. Returns: object

get_clipboardGet ClipboardB
Read-only

Read text currently copied to the Windows clipboard.

Inputs: max_chars. Returns: object

git_diffGit DiffB
Read-only

Get git diff unstaged and staged changes for an approved workspace directory.

Inputs: project_path. Returns: object

git_logGit LogB
Read-only

Get recent git commit history for an approved workspace repository.

Inputs: max_commits, project_path. Returns: result

git_statusGit StatusA
Read-only

Get git status for an approved workspace directory (defaults to current project).

Inputs: project_path. Returns: object

list_backupsList BackupsA
Read-only

List available local codebase backups in reverse chronological order.

Inputs: no named parameters. Returns: result

list_directoryList DirectoryB
Read-only

List files and folders within an approved workspace path. Returns filename, type (file/dir), and size in bytes.

Inputs: path (required). Returns: result

list_meeting_summariesList Meeting SummariesA
Read-only

List all meeting recordings that have generated summary.md files.

Inputs: no named parameters. Returns: object

list_open_windowsList Open WindowsB
Read-only

List visible application windows currently open on desktop with their titles, PIDs, and bounds.

Inputs: max_results. Returns: result

meeting_recording_statusMeeting Recording StatusA
Read-only

Check if meeting audio is currently being recorded and view saved sessions.

Inputs: no named parameters. Returns: object

notify_userNotify UserB

Display a native Windows Toast Notification popup in the bottom-right corner of the desktop.

Inputs: title (required), message (required). Returns: object

open_appOpen AppA

Launch an approved desktop productivity application (vscode, notepad, calc, excel, word, powerpoint, terminal).

Inputs: name (required). Returns: object

pdf_mergePdf MergeC

Merge multiple PDF files into one combined PDF document.

Inputs: paths (required), output_path (required), overwrite. Returns: object

pdf_splitPdf SplitC

Split a multi-page PDF into separate single-page PDF files.

Inputs: path (required), output_dir (required). Returns: object

ping_hostPing HostB
Read-only

Ping a host (IP or domain name) and report latency and packet loss.

Inputs: host (required), count. Returns: object

pull_git_updatePull Git UpdateC

Pull the latest updates from the GitHub repository (git pull origin main) with automatic rollback protection.

Inputs: auto_restart. Returns: object

read_documentRead DocumentA
Read-only

Extract readable text from a PDF (.pdf), Word (.docx), Excel (.xlsx/.xlsm), or PowerPoint (.pptx) file. Use this for documents and spreadsheets that cannot be read as plain text.

Inputs: path (required), max_chars. Returns: result

read_fileRead FileA
Read-only

Read a plain UTF-8 text file (.txt, .md, .py, .json, .yaml, etc.) from an approved workspace path.

Inputs: path (required). Returns: result

read_image_textRead Image TextB
Read-only

Extract text from an image (.png/.jpg/.jpeg/.bmp/.webp) using OCR (Tesseract). Useful for reading screenshots, diagrams, and scanned forms.

Inputs: path (required), languages, max_chars. Returns: result

restart_selfRestart SelfA

Gracefully hot-restart the MCP server process so code changes or newly installed tools take effect immediately.

Inputs: no named parameters. Returns: object

restore_backupRestore BackupB

Restore codebase and configuration from a given backup_id. Call restart_self afterward.

Inputs: backup_id (required). Returns: object

run_diagnostic_psRun Diagnostic PsA
Read-only

Run safe, read-only diagnostic PowerShell queries (e.g. Get-Service, Get-Process, Get-NetIPAddress, Get-PSDrive, Test-NetConnection). Mutating commands and script injection are strictly blocked.

Inputs: command (required), timeout_seconds. Returns: object

search_filesSearch FilesB
Read-only

Search for a regex or string pattern across files in approved workspace directories.

Inputs: query (required), path, max_results, case_sensitive. Returns: result

send_telegram_documentSend Telegram DocumentC

Send a generated document (Excel .xlsx, Word .docx, PowerPoint .pptx, or PDF) directly to Telegram.

Inputs: file_path (required), caption, chat_id, bot_token. Returns: object

send_telegram_messageSend Telegram MessageC

Send a notification, report, or meeting summary directly to a Telegram user or group chat.

Inputs: message (required), chat_id, bot_token, parse_mode. Returns: object

set_clipboardSet ClipboardB

Copy the given text into the Windows clipboard.

Inputs: text (required). Returns: object

start_meeting_recordingStart Meeting RecordingB

Start recording meeting audio from Microsoft Teams, Zoom, or web conferences.

source: 'both' (Speakers/Attendees + Microphone), 'system' (Speakers only), or 'mic' (Microphone only).

Audio is recorded locally in PCM WAV format with timestamps.

Inputs: label, source, max_minutes. Returns: object

stop_meeting_recordingStop Meeting RecordingA

Stop the currently active meeting recording session and finalize audio files.

Inputs: no named parameters. Returns: object

summarize_meetingSummarize MeetingA

Generate a structured, evidence-grounded meeting summary (MoM) from a recorded meeting.

Adopts Meetily templates ('project_sync', 'standard', 'standup') with exact timestamped action items.

session_id: Session ID to summarize (empty = latest session).

template: 'project_sync' (technical/project status) | 'standard' (general meeting) | 'standup' (quick sync).

send_to_telegram: if true, immediately push formatted summary to Telegram.

clean_first: automatically purge Whisper silence hallucinations before processing.

Inputs: template, session_id, clean_first, send_to_telegram. Returns: object

system_statusSystem StatusA
Read-only

Report CPU utilization, RAM usage, primary disk capacity, and machine uptime.

Inputs: no named parameters. Returns: object

take_screen_snapshotTake Screen SnapshotA
Read-only

Capture a visual snapshot of the desktop or the currently active window and save as PNG. target can be 'active' (active window only) or 'screen' (entire virtual desktop).

Inputs: target, output_path. Returns: object

tcp_port_checkTcp Port CheckB
Read-only

Check whether a TCP port is open and listening on a target host.

Inputs: host (required), port (required), timeout. Returns: object

test_telegram_connectionTest Telegram ConnectionB
Read-only

Verify Telegram Bot credentials and connection status.

Inputs: bot_token. Returns: object

transcribe_meetingTranscribe MeetingC

Transcribe meeting audio into a synchronized conversation log (Attendees vs Microphone).

session_id: Session ID to transcribe (empty = latest session).

language: 'id' for Indonesian, 'en' for English, or None for multi-lingual auto-detection.

model: 'tiny', 'base', 'small' (recommended), or 'medium'.

Inputs: model, language, keep_audio, session_id. Returns: object

unit_convertUnit ConvertA
Read-only

Convert numbers between common units (length: km/mi/m/ft/cm/in, weight: kg/lb, volume: l/gal, temperature: c/f/k).

Inputs: value (required), to_unit (required), from_unit (required). Returns: object

validate_pending_changesValidate Pending ChangesA
Read-only

Verify that on-disk code is syntactically valid and compiles cleanly without affecting running process.

Inputs: no named parameters. Returns: object

write_fileWrite FileA

Create or update a plain UTF-8 text file. For binary files (Excel, Word, PPTX, PDF, Images, Zip, SQLite), use their specific creation tools.

Inputs: path (required), content (required), overwrite. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 53 tools

    Disambiguation4/5

    Despite 53 tools, most have a clearly scoped resource+action (create_excel vs create_docx vs create_pdf, read_file vs read_document vs read_image_text, ping_host vs tcp_port_check vs dns_lookup). The main soft spots are the self-management cluster, where apply_self_update duplicates the backup+validate+restart sequence, and run_diagnostic_ps overlapping with system_status/disk_usage_report.

    Naming Consistency4/5

    All names are snake_case and overwhelmingly verb_noun (list_directory, read_file, create_pdf, send_telegram_message). A meaningful minority flip to noun_verb or noun_noun_verb (git_status, git_diff, git_log, system_status, dns_lookup, unit_convert, tcp_port_check, meeting_recording_status), which slightly breaks the pattern but remains readable.

    Tool Count2/5

    53 tools is far past the 25-tool heavy threshold, and while the server genuinely spans files, documents, desktop automation, meeting recording, Telegram, self-update, git, and system utilities, the surface is too broad to reason about as a single set. Several narrow utilities (unit_convert, calculate, create_qrcode) could live outside the core surface.

    Completeness3/5

    File handling is a notable dead end: there is list/read/write/replace/search but no delete, move, rename, copy, or create_directory, and document tools are create-only with no update path. Git coverage is read-only (status/diff/log) with no commit, add, or push, and Telegram is send-only, so several workflows stop short of a full lifecycle.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to interact with Windows operating systems through native UI automation, file navigation, application control, and system commands. Provides seamless integration between LLMs and Windows environments for tasks like clicking, typing, launching apps, and capturing desktop state.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables comprehensive Windows desktop automation including screen capture, OCR text extraction, mouse/keyboard control, window management, process control, and clipboard operations through 25+ tools for AI agents.
      38 PyPI
      8
      MIT