Skip to content

[BUG] Command 形式 MCP 需要指定 cwd #4526

@ensorrow

Description

@ensorrow

描述你的问题(Describe the bug)
目前 Command MCP Server 启动时未指定 cwd

复现路径(To Reproduce)
尝试使用项目目录下的脚本作为 MCP Server,命令为 node,参数为 ./scropt/stdio.js,发现运行会失败

预期表现(Expected behavior)
默认使用项目目录作为 cwd

环境信息(Environment)

  • OS: [e.g. macOS 11.2 Apple M1/Windows10/Windows11]
  • Browser: [e.g. chrome, safari, electron]
  • OpenSumi Version: [e.g. 2.13.0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions