№ 1082GitHub
muse-file-bridge
An open-source file bridge that gives Muse real read/write access to your Windows PC: a lightweight local Python server (Bearer-token auth, directory whitelist, path-traversal protection) exposed via Cloudflare Tunnel, so the agent works with your actual files instead of chat attachments.
English | 简体中文
Muse File Bridge
One sentence: let Muse read and write files in specific folders on your Windows PC.
You say "write me a Python script and put it in my Documents" — seconds later the file is on your disk. No more copy-pasting code out of chat.
flowchart LR
PC["Windows PC<br/>muse-file-api.py<br/>listens on 127.0.0.1:18790 only<br/>whitelisted folders only"]
NET["Internet<br/>Cloudflare Tunnel<br/>TLS encrypted"]
CLI["Client<br/>pcfile.py / curl<br/>any HTTP client"]
CLI --> NET --> PC
Made for Muse first: the installer, the docs, and CONNECTOR-BRIEF.md (a paste-ready setup brief for Muse) all assume Muse on the other end. The API itself is plain HTTPS + bearer token, so any HTTP client can use it too.
Project status
This project exists because Muse currently has no official desktop app for Windows or Linux — this bridge is a workaround for that gap. If Meta ever ships official Windows/Linux apps, this project will be retired and no longer maintained.
Before you start
- A Windows 10/11 PC, connected to the internet
- About 10 minutes
- No admin rights needed, no Python knowledge needed
Setup
Step 1 — Download
Click Code → Download ZIP at the top right of this page, then unzip it anywhere (D:, C:, wherever — just remember where).
Step 2 — Run the one-click installer
Open the unzipped folder (the one containing install.ps1), right-click an empty spot and choose "Open in Terminal" (Windows 11; on Windows 10, hold Shift, right-click, and choose "Open PowerShell window here"), then paste the following and press Enter:
powershell -ExecutionPolicy Bypass -File .\install.ps1
No terminal option in the right-click menu? Open PowerShell from the Start menu, then
cdinto the unzipped folder (the level where you can seeinstall.ps1), e.g.:cd D:\muse-file-bridge-main\muse-file-bridge-main
The script installs Python and cloudflared automatically (via winget). It will ask a few questions:
| Prompt | Recommendation |
|---|---|
| Which directories may Muse access? (comma-separated, Enter for default) | Press Enter. The default is Documents\MuseBridge, which the script creates automatically |
| Allow Muse to write files? First time, read-only is recommended |






ChatForm
Tgmlabs
Memorie