Skip to content

Commit 5a01bfd

Browse files
authored
Remove roots fallback suggestions for antigravity setup (#12941)
The latest version from 1/13 supports roots now ## Presubmit checklist - [x] If you are unwilling, or unable, to sign the CLA, even for a _tiny_, one-word PR, please file an issue instead of a PR. - [x] If this PR is not meant to land until a future stable release, mark it as draft with an explanation. - [x] This PR follows the [Google Developer Documentation Style Guidelines](https://developers.google.com/style)—for example, it doesn't use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first-person pronouns). - [x] This PR uses [semantic line breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks) of 80 characters or fewer.
1 parent f7410fb commit 5a01bfd

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

src/content/ai/mcp-server.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -95,26 +95,6 @@ From here, you can choose to install the MCP server from
9595

9696
1. In the list of available MCP servers,
9797
find or search for **Dart** and click **Install**.
98-
1. **Important**: The built-in configuration doesn't currently pass the
99-
required `--force-roots-fallback` flag. You must add it manually.
100-
1. In the upper right of the **Manage MCPs** editor view,
101-
click **View raw config**.
102-
1. Locate the `dart-mcp-server` entry in the `mcpServers` map and
103-
update its `args` list to include the `--force-roots-fallback` flag:
104-
105-
```json title="mcp_config.json" highlightLines=7
106-
{
107-
"mcpServers": {
108-
"dart-mcp-server": {
109-
"command": "dart",
110-
"args": [
111-
"mcp-server",
112-
"--force-roots-fallback"
113-
]
114-
}
115-
}
116-
}
117-
```
11898

11999
#### Connect manually {: #antigravity-mcp-manual-install}
120100

@@ -128,8 +108,7 @@ From here, you can choose to install the MCP server from
128108
"dart-mcp-server": {
129109
"command": "dart",
130110
"args": [
131-
"mcp-server",
132-
"--force-roots-fallback"
111+
"mcp-server"
133112
],
134113
"env": {}
135114
}

0 commit comments

Comments
 (0)