Flutter Surf MCP - Connect to and control Flutter applications programmatically
Project description
Flutter Surf MCP
Flutter Surf MCP is a MCP server that allows interactions with Flutter applications through client LLMs. It provides tools to inspect, control, and automate Flutter applications programmatically.
Features
- Connect to running Flutter applications via VM Service
- Retrieve and inspect widget tree state
- Click on widgets
- Enter text into input fields
- Find widgets by text, key, or type
- Scroll widgets into view
- Perform scrolling actions with customizable parameters
- Toggle debug paint features
Requirements
- Python 3.7+
- A running Flutter application with VM service enabled
- UV package manager (or pip)
- Claude AI with MCP support
Installation
- Clone the repository:
git clone https://github.com/yourusername/flutter_surf_mcp.git
cd flutter_surf_mcp
- Install dependencies:
uv pip install -r requirements.txt
Configuration
To use Flutter Surf MCP with Claude, add the following configuration to your Claude AI settings:
{
"mcpServers": {
"flutter_mcp": {
"command": "[uv_directory]",
"args": [
"--directory",
"[path]/flutter_surf_mcp",
"run",
"flutter_surf_mcp.py"
]
}
}
}
Note: Make sure to enable the flutter driver extension:
import 'package:flutter_driver/driver_extension.dart';
void main() {
enableFlutterDriverExtension();
runApp(const HomeScreen());
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iflow_mcp_erickjtorres_flutter_surf_mcp-0.1.0.tar.gz.
File metadata
- Download URL: iflow_mcp_erickjtorres_flutter_surf_mcp-0.1.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52792e697cbe36dc6bc584b5d5ae85064b176c0d01100c341f07e01c6c3f477c
|
|
| MD5 |
d4b0aa32e174bcae8a129961b46b4d4f
|
|
| BLAKE2b-256 |
b811a29d12c6d9c04a1adf8b5f3dd6ca91c2cf2310066c9f192f8a1467b1ee02
|
File details
Details for the file iflow_mcp_erickjtorres_flutter_surf_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: iflow_mcp_erickjtorres_flutter_surf_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72e20e20fd4ad0d1b0760ba5fd600f190576da081640ebf2feba0b52b578915d
|
|
| MD5 |
a723c8dafd32b95899fcced875806873
|
|
| BLAKE2b-256 |
5b037888189557283e157782ef8621441ef0d6d8b07e3d9cf04c4733a858ca5c
|