You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b7d438b
Browse filesBrowse the repository at this point in the historyBrowse files
Disabling due to flutter/flutter#170357 - this only works today by default on the desktop environment.
We could fall back on full device screenshots but are holding off on that for now as we have to evaluate some extra potential privacy concerns with exposing the entire screen as opposed to just the flutter drawn pixels.
Copy file name to clipboardExpand all lines: pkgs/dart_mcp_server/README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ for configuring the server in Android Studio. -->
74
74
[](https://cursor.com/install-mcp?name=dart&config=eyJ0eXBlIjoic3RkaW8iLCJjb21tYW5kIjoiZGFydCBtY3Atc2VydmVyIC0tZXhwZXJpbWVudGFsLW1jcC1zZXJ2ZXIgLS1mb3JjZS1yb290cy1mYWxsYmFjayJ9)
75
75
76
76
The easiest way to configure the Dart MCP server with Cursor is by clicking the "Add to Cursor"
77
-
button above.
77
+
button above.
78
78
79
79
Alternatively, you can configure the server manually. Go to **Cursor -> Settings -> Cursor Settings > Tools & Integrations**, and then click **"Add Custom MCP"** or **"New MCP Server"**
80
80
depending on whether you already have other MCP servers configured. Edit the `.cursor/mcp.json` file in your local project (configuration will only apply to this project) or
@@ -155,7 +155,6 @@ For more information, see the official VS Code documentation for
155
155
|`pub`|`static tool`| Runs a `dart pub` command for the given project roots. |
156
156
|`pub_dev_search`|`package search`| Searches pub.dev for packages relevant to a given search query. |
157
157
|`get_runtime_errors`|`runtime analysis`| Retrieves the list of runtime errors that have occurred in the active Dart or Flutter application. |
158
-
|`take_screenshot`|`runtime analysis`| Takes a screenshot of the active Flutter application in its current state. |
159
158
|`get_widget_tree`|`runtime analysis`| Retrieves the widget tree from the active Flutter application. |
160
159
|`get_selected_widget`|`runtime analysis`| Retrieves the selected widget from the active Flutter application. |
161
160
|`hot_reload`|`runtime tool`| Performs a hot reload of the active Flutter application. |
0 commit comments