Closed
Description
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"
]
}
}
}