mcp-agent-bridge
Enables Notion to act as a coding frontend by providing MCP tools for filesystem operations and terminal command execution on the local machine, with active project switching and authentication.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-agent-bridgelist the files in the active project and show the current directory"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Notion MCP Workspace (remake)
Two MCP servers for coding from Notion on this Windows machine, with token auth, live project switching and a Cloudflare Tunnel. Pure Python.
See ARCHITECTURE.md for the design and the reasoning behind it.
Setup on a New Machine (Quickstart for Teammates)
1. Prerequisites (Windows)
Python 3.10+: Download from python.org (make sure to check "Add python.exe to PATH").
Cloudflare Tunnel CLI (
cloudflared): Open PowerShell and install via winget:winget install Cloudflare.cloudflared(Or download
cloudflared-windows-amd64.exefrom Cloudflare GitHub releases, rename tocloudflared.exe, and add to PATH).
2. Install Project Dependencies
Open a terminal in the project folder:
pip install -r requirements.txt(Optionally use a virtualenv: python -m venv .venv && .venv\Scripts\activate && pip install -r requirements.txt)
3. Sharing Project with Others (Clean Zip / Clone)
If sharing as a .zip archive, exclude these machine-specific files:
config/settings.json(created automatically on first launch with clean defaults)__pycache__/.mcp-runs/and.mcp-backups/
4. Run the Control Panel
Double click start_gui.bat or run:
python -m gui.appOn first start:
In the Cloudflare tunnel card, set your Base domain (e.g.
wolroom.store) and your unique User prefix (e.g.alex).Point cloudflared config to your tunnel credentials (
~/.cloudflared/config.yml).Click Start everything in the top bar.
Click Notion setup guide to copy endpoints and add skills directly into Notion.
Headless:
python run_core.py # servers + tunnel
python run_core.py --no-tunnel # local only
python run_core.py --print-config # token, ports, projects, endpointsSettings-only commands (safer than editing the JSON by hand):
python run_core.py --set-tunnel-config "C:\Users\Dima\.cloudflared\config.yml"
python run_core.py --files-hostname mcp-files.wolroom.store
python run_core.py --terminal-hostname mcp-term.wolroom.store
python run_core.py --enable-tunnel
python run_core.py --disable-tunnel
python run_core.py --regenerate-tokenSettings live in config\settings.json, created on first run from the
defaults. It holds the auth token, ports, tunnel setup, limits and the
project registry. If the file ever becomes invalid JSON, it is moved aside
as settings.broken.json and recreated from defaults - which is why hand
editing is discouraged.
Only one instance can hold the ports at a time: do not run run_core.py
and the control panel simultaneously.
Related MCP server: win-cli-mcp-tmyy
Control panel
gui/ is a PySide6 app styled after shadcn/ui (zinc palette, flat cards,
subtle borders). It imports the same ServerSupervisor the CLI uses, so
both entry points behave identically.
Servers card: status badge, start / stop / restart, local URLs with copy
Tunnel card: status badge, start / stop, public URLs, config file picker
Projects card: list, add folder, remove, set active
Authentication card: reveal / copy / regenerate the token
Activity card: live log from the servers and cloudflared
"Notion setup guide" button: a separate modal with the whole onboarding - endpoint URLs, token, a ready-made "connect an MCP server" request, the full skill text with a copy button, daily-use habits and troubleshooting
Test
python tests\smoke_test.pyStarts both servers on ports 9400 / 9401 with a throwaway settings file and checks auth and the tool lists. Safe to run while anything else is live.
Tools
Files System - list_directory, read_file, read_multiple_files,
write_file, edit_file, create_directory, move_file, delete_file,
search_files, grep, get_file_info
Terminal - run_command, get_active_project, list_skills,
get_skill
Paths may be absolute or relative to the active project. Relative is preferred: it keeps working after the user switches projects.
Projects
The active project decides where relative paths resolve and where commands run. It is read on every tool call, so switching takes effect immediately with no restart.
By default, paths outside the active project root are refused. Set
security.allow_outside_project to true to lift that.
Auth
Every request needs the token from config\settings.json:
Authorization: Bearer <token>X-API-Key and X-Auth-Token are accepted too, for clients that cannot
send an Authorization header. Requests without a valid token get 401 before
reaching any tool. Use header-based auth when adding the connection in
Notion.
The token is generated once and reused across restarts. It only changes if you regenerate it, which invalidates the connections already added in Notion.
Ports
Defaults are 9500 (Files System) and 9501 (Terminal). The old gateway still owns 9300 / 9301, so both stacks can run side by side; the cloudflared ingress must point at whichever ports are configured here.
Cloudflare Tunnel
One-time setup:
cloudflared tunnel login
cloudflared tunnel create notion-sync
cloudflared tunnel route dns notion-sync mcp-files.wolroom.store
cloudflared tunnel route dns notion-sync mcp-term.wolroom.storeIngress in the cloudflared config, keeping http_status:404 last:
tunnel: notion-sync
credentials-file: C:\Users\Dima\.cloudflared\<tunnel-id>.json
ingress:
- hostname: cmd.wolroom.store
service: http://localhost:8734
- hostname: mcp-files.wolroom.store
service: http://localhost:9500
- hostname: mcp-term.wolroom.store
service: http://localhost:9501
- service: http_status:404cmd.wolroom.store stays as a fallback to the legacy command server.
cloudflared runs as a child process: it starts with the app and is terminated when the app exits.
Notion endpoints:
Files System:
https://mcp-files.wolroom.store/mcpTerminal:
https://mcp-term.wolroom.store/mcp
Status
Done: settings store, project registry, path sandbox, logging, process supervisor, both MCP servers, bearer auth, tunnel wiring, smoke test, control panel with the Notion setup guide.
Next: session identification experiments, then agent memory across chats.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Share one project context across ChatGPT, Claude, Telegram and any MCP client.
Project management MCP for AI agents with safe task reads and writes.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to seamlessly integrate with the Windows operating system, performing tasks such as file navigation, application control, UI interaction, and QA testing via the MCP protocol.-
- FlicenseBqualityBmaintenanceEnables AI clients to execute Windows commands, manage files, query system information, and perform code checks via MCP protocol.241-
- AlicenseAqualityCmaintenanceEnables AI assistants to control Windows PCs by executing shell commands, managing files, capturing screenshots, and monitoring system information through a comprehensive set of MCP tools.18MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to control local Windows development tools by exposing project files, code search, file editing, test execution, Git operations, and resource viewing through a secure MCP interface with permission controls.9Apache 2.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wolrym/mcp-agent-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server