Skip to content

[docs] mcp server config doesn't work #166

Closed
@csells

Description

@csells

Following along with the docs, I activate from git (which works):

dart pub global activate -s git https://github.com/dart-lang/ai.git \
  --git-path pkgs/dart_mcp_server/

However, the following mcp config doesn't work for me (and this command doesn't work from the CLI either):

{
  "mcpServers": {
    "dart_mcp": {
      "command": "dart",
      "args": [
        "mcp-server",
        "--experimental-mcp-server",
        "--force-roots-fallback"
      ]
    }
  }
}

I have to do the equivalent of this instead (which makes sense to me, since this works from the CLI):

{
  "mcpServers": {
    "dart_mcp": {
      "command": "dart_mcp_server",
      "args": [
        "--force-roots-fallback"
      ]
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions