Skip to content

Wrong cwd in Zed IDE #106

@ziimakc

Description

@ziimakc

Adding mcp in zed ide runs commands form home dir /home/ziimakc instead of project /home/ziimakc/apps/my-app/ cwd. Setting --workspace every time project changes is annoying.

  "context_servers": {
    "rust-mcp": {
      "enabled": true,
      "command": "rust-mcp-server",
      "args": ["--workspace", "/home/ziimakc/apps/my-app/"], // if args not provided, `/home/ziimakc` is used
      "env": {
        "RUST_LOG": "info",
      },
    },
  },
Image

Expected behavior: mcp should run commands from cwd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions