local-computer-full-access-mcp
Provides full access to a local Windows computer via MCP, enabling arbitrary command execution, file operations, and process management through a secure stdio or HTTP tunnel.
README
Local Computer Full-Access MCP
A Windows-first MCP server that gives an MCP client Codex-like local capabilities through explicit tools:
- unrestricted PowerShell, Command Prompt, or Bash commands;
- read, create, edit, copy, move, search, and delete files/directories;
- list drives and inspect disk capacity;
- start, inspect, and terminate processes;
- local JSONL audit logging;
- stdio transport for local MCP hosts;
- Streamable HTTP plus an HTTPS tunnel for ChatGPT;
- DNS-rebinding protection with tunnel Host-header rewriting;
- one-click shutdown via
STOP_MCP.bat.
run_command makes this genuinely full access under the Windows account running the server. It is not a simulated filesystem.
[!CAUTION] This project can execute arbitrary commands, modify or delete files, start processes, and expose everything accessible to the Windows account running it. Use it only on a computer you control. Keep the server bound to
127.0.0.1, never publish the complete MCP endpoint URL, and stop the server when it is not in use. Read SECURITY.md before enabling full access.
ChatGPT connectivity and availability
ChatGPT cannot connect directly to 127.0.0.1 on your PC. This package keeps the MCP service on localhost and uses cloudflared to create an outbound HTTPS tunnel for testing.
Availability of custom MCP apps and write/modify actions depends on the ChatGPT plan and workspace configuration and may change over time. Check OpenAI's current developer mode and MCP apps documentation. The server also works with compatible local MCP hosts over stdio.
Install on Windows
-
Extract this folder to a permanent location, for example:
%USERPROFILE%\Documents\Local-Computer-Full-Access-MCP -
Double-click:
INSTALL_WINDOWS.bat
The installer creates a Python virtual environment, installs the official MCP Python SDK, installs cloudflared through winget when needed, creates .env, enables full access because that is the requested mode, generates a random secret endpoint, and runs tests.
Start for ChatGPT
- Double-click
START_CHATGPT.bat. - Keep the terminal window open.
- Wait until it prints
CHATGPT MCP ENDPOINT. - Copy the complete endpoint ending in
/mcp/<long-secret>. - In a supported ChatGPT workspace on the web, enable Developer mode and create a custom app/MCP connector.
- Paste the endpoint, choose No authentication for this temporary capability-URL setup, scan the tools, and create the app.
- Enable the app in the chat. Leave confirmations enabled for risky actions.
To stop everything, close the launcher window normally or run STOP_MCP.bat.
The TryCloudflare hostname changes whenever the script restarts, so update the custom app endpoint after each restart. TryCloudflare is for testing, not a permanent deployment. If cloudflared reports that a Quick Tunnel cannot start because you already have %USERPROFILE%\.cloudflared\config.yml or config.yaml, temporarily rename that file or use a separately configured stable Cloudflare Tunnel.
Start over stdio
Double-click START_STDIO.bat, or point a local MCP client at:
command: <folder>\.venv\Scripts\python.exe
args: -m pc_mcp.server
environment: PC_MCP_TRANSPORT=stdio
An example generic client config is in mcp-client-config.example.json.
Tools
Read-only tools:
pc_statuslist_drivesfile_infolist_directoryread_text_fileread_binary_file_base64search_fileslist_processes
Write/action tools:
write_text_filewrite_binary_file_base64replace_textmake_directorycopy_pathmove_pathdelete_pathrun_commandstart_processterminate_process
Example prompts after connection
- "Use my local-computer app to list my drives and show free space."
- "Inspect the selected project folder, run its tests, fix failures, and show me the changed files."
- "Search the selected project folder for references to a specified phrase without changing anything."
- "Create a backup of this folder before editing it. Ask before deleting anything."
Configuration
The installer creates .env. Important settings:
PC_MCP_FULL_ACCESS=1
PC_MCP_TRANSPORT=streamable-http
PC_MCP_HOST=127.0.0.1
PC_MCP_PORT=8765
PC_MCP_ENDPOINT_SECRET=<random-secret>
To restrict filesystem tools:
PC_MCP_FULL_ACCESS=0
PC_MCP_ALLOWED_ROOTS=%USERPROFILE%\Documents;%USERPROFILE%\Projects
See SECURITY.md before leaving this server running or converting the test tunnel into a permanent endpoint.
Test manually
Run RUN_TESTS.bat.
For MCP protocol inspection, activate the virtual environment and run:
.\.venv\Scripts\Activate.ps1
mcp dev server.py
Audit log
Tool actions and command outcomes that reach the core implementation are recorded locally at:
.data\audit.jsonl
File contents, binary payloads, and environment dictionaries are redacted and hashed in the audit record.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。