Skip to content

[Feature]mcp无法直接从本机路径传大文件、文件夹到服务器 #864

Done

Description

@wings-of-gold

OxideTerm version / 版本

2.4.1

Problem or use case / 问题或使用场景

目前cursor通过oxideterm 的mcp传输大文件上传服务器, 会受到mcp的限制,能优化一下吗

image image

Proposed solution / 期望方案

期望能像xterminal一样,支持mcp传输大文件,传输文件夹自动打包解包

Why is this important? / 为什么这个功能对你重要?

通过AI IED使用mcp代替手动的ssh、sftp,非常方便

Area (best guess) / 大致领域

Terminal (local / SSH)

Priority / 优先级

Would improve my daily workflow / 能改善我的日常工作流

Contribution / 参与贡献

  • I am willing to submit a pull request to help resolve this issue / 我愿意提交 PR 协助解决此问题

Checklist

  • I am using the latest release, confirmed this feature does not already exist, and searched existing issues / 我正在使用最新正式版,已确认该功能尚不存在,并已搜索过已有 Issue
  • This is one focused request within OxideTerm's scope / 这是一个聚焦且属于 OxideTerm 范围内的请求
  • I have described a concrete problem/use case and proposed solution; I understand feature requests are handled best-effort, and vague or inactive issues may be closed.
    我已描述具体问题/使用场景和期望方案;我理解功能请求会尽力处理,描述模糊或长期无回复的 Issue 可能会被关闭。

Activity

  1. added
    enhancement
    on Nov 26, 2026
  2. github-actions commented on Nov 26, 2026

    @github-actions

    Stable version reminder / 稳定版版本提醒

    You reported v2.4.0, while the latest stable release is v2.4.1. Please update to the latest stable release and confirm whether the issue still occurs. If it does, reply here with the result.

    你提交 Issue 时填写的是 v2.4.0,当前最新稳定版为 v2.4.1。请先更新到最新稳定版,再确认问题是否仍然存在;如果仍可复现,请在此 Issue 中补充结果。

  3. github-actions commented on Nov 26, 2026

    @github-actions

    Report accepted / 报告已通过检查

    The blocking format issues were resolved, so this issue has been reopened automatically.
    阻断性的格式问题已经解决,此 Issue 已自动重新打开。

  4. changed the title [-][Feature][/-] [+][Feature]mcp无法直接从本机路径传大文件、文件夹到服务器[/+] on Nov 26, 2026
  5. AnalyseDeCircuit commented on Nov 26, 2026

    @AnalyseDeCircuit
    Owner

    已在 commit 1b151c5 实现此需求:

    • Public MCP 的 transfers_start(上传与下载)现支持直接传入本机绝对路径 local_path(向后兼容原有 artifact_ref 方式):
      • 大文件直传:绕开 MCP JSON-RPC 与 64 MiB artifact 限制,直接通过应用内 SFTP 流式读写本机磁盘(支持 overwrite 控制)。
      • 文件夹自动打包解包:传入目录时自动复用内置的流式 tar 压缩打包/远端解包(支持 zstd/gzip),若远端不支持 tar 则自动回退并发递归 SFTP。
      • 状态与安全边界:transfers_status 新增返回 local_path、entry_kind(file/directory)、strategy(sftp_file/tar_archive/sftp_recursive)与 item_count;标准审批模式下会展示本机路径与远端路径供确认,同时严格校验 SFTP 根目录与符号链接边界。

    将在下一版本发布,欢迎体验后反馈。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions