Feat: 增加公共 MCP 支持#1373
Open
Ryanisgood wants to merge 13 commits into
Open
Conversation
- 新增独立 public MCP bridge,与现有内部 AI MCP 链路并存 - 仅暴露当前打开、可操作、PTY-backed 的 live SSH 会话,不暴露本地终端或未连接主机 - 新增标准 MCP launcher、discovery 文件与 localhost+token 鉴权链路,支持外部标准 MCP 客户端接入 - 在设置页加入 Public MCP 开关、状态展示与 Codex 一键添加入口,并持久化启动恢复状态 - 补充 terminal/sftp/public server/codex setup 等测试,并将 electron/mcp 测试纳入默认 npm test - 修复 discovery 默认 userData 目录推导、手工 Codex 命令转义、动态命令超时同步与 SFTP 编码状态延续
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这个 PR 为 Netcatty 增加 Public MCP 支持,让标准 MCP 客户端(例如 Codex、Claude Code)可以连接到 Netcatty,并操作当前已打开的 SSH PTY 会话。
同时补齐了 Public MCP 的运行时控制、权限约束和生命周期处理。
主要改动
1. 新增 Public MCP 运行能力
netcatty-public-mcp启动入口及对应 Electron / preload / main 进程接线2. 新增客户端接入与配置辅助
3. 新增产品侧 UI 接入
4. 权限与安全约束
127.0.0.15. 生命周期与稳定性修复
temporary/persistent两种模式