Skip to content

Dart MCP server does not work in Antigravity #322

@gryznar

Description

@gryznar

Steps to reproduce

I am trying to use Dart MCP server in Antigravity. No matter how the path is specified, I still receive
Invalid root file:///D:/Projects/Flutter/my_project/, must be under one of the registered project roots:.
The same configuration from Gemini CLI works as expected: {"roots":[{"root":"file:///D:/Projects/Flutter/my_project/"}]}

[from @antfitch ]
Updated docs for How to set up Antigravity with Dart MCP Server
All, we have updated the steps to use Antigravity with Flutter here: https://docs.flutter.dev/ai/mcp-server#antigravity

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1A high priority bug; for example, a single project is unusable or has many test failurespackage:dart_mcp_server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions