Skip to content

src/filesystem 可以支持 windows + vscode 使用 #1526

Closed as not planned
Closed as not planned

Description

@nmww

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
src/filesystem

Describe the solution you'd like
A clear and concise description of what you want to happen.
希望增加已个
src/filesystem 可以支持 windows + vscode 使用
说明
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Activity

  1. nmww commented on Apr 22, 2025

    @nmww
    Author

    Image

  2. leependu commented on Apr 22, 2025

    @leependu

    On Windows, for MCP servers which use npx commands, I've been able to get them to work in Cline with a config that first calls Cmd.exe, then passes in the remaining arguments:

    "filesystem": {
          "autoApprove": [],
          "disabled": false,
          "timeout": 300,
          "command": "C:\\Windows\\System32\\cmd.exe",
          "args": [
            "/c",
            "npx",
            "-y",
            "@modelcontextprotocol/server-filesystem",
            "C:\\Users\\taket\\Documents\\GitHub"
          ],
          "transportType": "stdio"
        }
    
  3. nmww commented on Apr 22, 2025

    @nmww
    Author

    ``Image

    `
    Provider returned error

    在当前路径下,可以帮我创建个 README.md 文件吗,并对当前项目进行说明

    <environment_details>

    VSCode Visible Files

    c:/Users/PC/AppData/Roaming/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

    VSCode Open Tabs

    generate-slides.js
    c:/Users/PC/AppData/Roaming/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
    example.html
    package.json

    Current Time

    2025/4/22 上午11:42:21 (Asia/Shanghai, UTC+8:00)

    Current Working Directory (d:/temp/marpit) Files

    No files found.

    Context Window Usage

    0 / 1,000K tokens used (0%)

    Current Mode

    ACT MODE
    </environment_details>

    [TASK RESUMPTION] This task was interrupted 1 minute ago. It may or may not be complete, so please reassess the task context. Be aware that the project state may have changed since then. The current working directory is now 'd:/temp/marpit'. If the task has not been completed, retry the last step before interruption and proceed with completing the task.

    Note: If you previously attempted a tool use that the user did not provide a result for, you should assume the tool use was not successful and assess whether you should retry. If the last tool was a browser_action, the browser has been closed and you must launch a new browser if needed.

    <environment_details>

    VSCode Visible Files

    c:/Users/PC/AppData/Roaming/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

    VSCode Open Tabs

    generate-slides.js
    c:/Users/PC/AppData/Roaming/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
    example.html
    package.json

    Current Time

    2025/4/22 上午11:53:44 (Asia/Shanghai, UTC+8:00)

    Current Working Directory (d:/temp/marpit) Files

    No files found.

    Context Window Usage

    0 / 1,000K tokens used (0%)

    Current Mode

    ACT MODE
    </environment_details>
    `

    权限不足吗,如何让 cline 有操作目录没创建文件的权限呢。

  4. nmww commented on Apr 22, 2025

    @nmww
    Author

    解决了。mcp,windows配置成功了。
    不能修改是模型的问题。

    Image

  5. added
    server-filesystemReference implementation for the Filesystem MCP server - src/filesystem
    on Apr 26, 2025
  6. cliffhall commented on Oct 19, 2026

    @cliffhall
    Member

    Closing: superseded by the v2 release.

    Thank you for reporting this, and apologies for the long wait for a response.

    Since this was filed, the reference servers have been rebuilt for the 2026-07-28 MCP specification (#4857) and released as v2 (2.0.0 on npm for the TypeScript servers, 2026.10.19 on PyPI for the Python servers). Each server now runs on v2 of its SDK, and the behavior described here has either been fixed or no longer exists in the same form. This was a Windows plus VS Code setup question against a pre-refactor release, and you confirmed it was resolved by configuration.

    This is not a judgment on whether the problem was real; it's a consequence of the code it describes having been replaced. This is happening as part of the backlog triage in #4875.

    If this still happens on the v2 release, we'd genuinely like to know. Please open a fresh issue with the version you're running and steps to reproduce, and we'll look at it. Note that this repository accepts contributions as issues rather than pull requests; see CONTRIBUTING.md.

    Thanks for taking the time to report it.

  7. added
    closed-superseded-v2Closed: fixed or made obsolete by the v2 / 2026-07-28 refactor (#4875)
    on Oct 19, 2026
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

    closed-superseded-v2Closed: fixed or made obsolete by the v2 / 2026-07-28 refactor (#4875)enhancementNew feature or requestserver-filesystemReference implementation for the Filesystem MCP server - src/filesystem

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions