Flutter CLI - Model Context Protocol Server

by manojkulkarni30

2 stars
180 downloads
Not rated
GitHub

About

Sample fun project to create flutter project using Flutter CLI MCP (Model Context Protocol) Server

Details

Author
manojkulkarni30
GitHub stars
2
Downloads
180
Categories
Developer Tools

- Exposes tools to create Flutter projects.
- Supports creating projects for all platforms.
- Supports creating projects for specified platforms only.

Clone the repository, open it in VS Code, and build using dotnet build. Then configure your MCP client (e.g., VS Code) with the provided JSON block, updating the project path. Run using dotnet run.

Flutter CLI - Model Context Protocol Server

Overview

This project provides a server implementation for the Flutter CLI using the Model Context Protocol (MCP). It allows developers to create flutter project with specified platforms.

Getting Started

Prerequisites

- .NET SDK 9.0 or later
- Flutter SDK

Running The Server

- Clone this repository
- Open the project in VS Code
- Build the project using dotnet build command
- Configure VS Code or other MCP client by adding below details

        "fluttercli": {
            "command": "dotnet",
            "args": [
                "run",
                "--project",
                "FlutterCliMcpServer/FlutterCliMcpServer.csproj",
                "--no-build"
            ]
        }

- Update the path of the project

Features

The server exposes two tools that can be invoked by client.

Available Tools

- CreateFlutterProjectForSpecifiedPlatforms: Create flutter project with specified project name for specified platforms.
- CreateFlutterProject: Create flutter project with specified project name for all platforms

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.