- Flutter Mcp Server
Flutter Mcp Server
What is Flutter MCP Server?
Flutter MCP Server is an open-source implementation of the Model Context Protocol (MCP) designed for the Dart and Flutter ecosystem. It serves as a bridge between AI assistants, developer tools, and automated workflows, enabling secure and programmable automation of Dart and Flutter development tasks.
How to use Flutter MCP Server?
To use the Flutter MCP Server, clone the repository, install dependencies, set up environment variables, and run the server locally or via Docker. It can also be integrated with clients like Windsurf and Cursor for automated connections.
Key features of Flutter MCP Server?
- Exposes Dart & Flutter SDK tools as programmable endpoints.
- Provides a unified API for code analysis, formatting, and testing.
- Manages environment variables securely.
- Supports resource endpoints for documentation and community examples.
- Designed for integration with platforms like Smithery.
Use cases of Flutter MCP Server?
- Automating code formatting and analysis tasks.
- Enabling AI-powered tools to interact with Dart/Flutter projects.
- Facilitating remote and cloud workflows in CI/CD pipelines.
FAQ from Flutter MCP Server?
- Is the MCP server only for local use?
Yes, currently it is only supported for local use, with cloud deployment not yet set up.
- What are the prerequisites for running the server?
You need Dart SDK, Flutter SDK, and Docker installed.
- Can I integrate it with other tools?
Yes, it can be integrated with various clients like Windsurf and Cursor.
Server Config
{
"mcpServers": {
"flutter_mcp_server": {
"type": "http",
"url": "https://mcp.so/api/flutter_mcp_server",
"command": "docker run -p 8080:8080 centinolalt/flutter_mcp_server",
"tools": [
{
"name": "analyze",
"description": "Analyze Dart/Flutter files for diagnostics and suggestions",
"inputSchema": {
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "Path to the Dart/Flutter file to analyze"
}
},
"required": [
"filePath"
]
}
}
]
}
}
}