FL

fwerkor/local-shell-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

96 stars 质量 74 趋势 35MIT

使LLM能够使用CLI环境。

概览

文档 ·快速启动 ·运行时选择 ·ChatGPT连接器 ·DSH插件 ·工具 ·发布 local-shell-mcp 为 ChatGPT 提供了开发者模式和其他 MCP 客户端对真实执行环境的受控访问。它展示了一个专用工作区,包含 shell、持久 shell、文件系统、搜索、补丁、Playwright、审计、持久逻辑会话(含可选的目标计划)、公共文件链接以及外发远程工作者访问。Git 通过普通 shell 命令处理,而非并行包装 API。 预期的安全边界是容器或虚拟机,而不是主机。 想要主机运行时,安装官方启动器或Python包: npm 和 Python 发行版都暴露 local-shell-mcp;安装包也将 lsm 作为简短命令暴露。npm 发行版仅是匹配独立发布二进制的验证启动器,而非第二个服务器实现。

概述(AI 翻译)

一个支持ChatGPT的MCP控制平面,用于shell、文件、浏览器自动化、文件链接和远程机器。

文档 ·快速启动 ·运行时选择 ·ChatGPT连接器 ·DSH插件 ·工具 ·发布


local-shell-mcp 为 ChatGPT 开发者模式及其他 MCP 客户端提供了对真实执行环境的受控访问。它展示了一个专用工作区,包含 shell、持久壳、文件系统、搜索、补丁、Playwright、审计、持久逻辑会话(含可选的目标计划)、公共文件链接以及远程出站访问。Git 通过普通 shell 命令处理,而非并行包装 API。

预期的安全边界是容器或虚拟机,而不是主机。

为什么要用它

能力 它所能实现的内容
真实终端访问 运行测试、构建项目、检查日志,并使用持久的壳会话进行调试。
工作区响应文件工具 在受控根权限下读取、写入、修补、搜索和审查文件。
Git 工作流支持 通过 shell 工具运行标准 Git CLI 而不需进行第二次不完整的 Git 抽象。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。


local-shell-mcp gives ChatGPT Developer Mode and other MCP clients controlled access to a real execution environment. It exposes a dedicated workspace with shell, persistent shell, filesystem, search, patch, Playwright, audit, durable logical sessions with optional Goal plans, public file links, and outbound remote-worker access. Git is handled through ordinary shell commands instead of a parallel wrapper API.

Runtime: Docker / VS Code extension / binary / Python / stdio
  -> exposure: localhost, HTTPS proxy/tunnel, or stdio pipe
  -> client: ChatGPT or another MCP client
  -> controlled workspace at /workspace or configured root
  -> optional remote workers connected over outbound HTTP(S)

The intended safety boundary is the container or VM, not the host.

Why use it

Capability What it enables
Real terminal access Run tests, build projects, inspect logs, and debug with persistent shell sessions.
Workspace-aware file tools Read, write, patch, search, and review files under a controlled root.
Git workflow support Run the standard Git CLI through shell tools without a second, incomplete Git abstraction.
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add fwerkor/local-shell-mcp
新手?先看 mcpskill.org 教程 →