Zuraffa MCP Server
Clean Architecture Flutter code generation with AI-first MCP server for generating UseCases, Repositories, Views, Controllers, and more
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for Zuraffa MCP Server. The extension's id is mcp-server-zuraffa.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
Zuraffa MCP Server Zed Extension
Zuraffa is an AI-first Flutter Clean Architecture Framework with MCP server for generating UseCases, Repositories, Views, Controllers, State objects, and Data layers.
Features
This extension provides an MCP (Model Context Protocol) server that exposes Zuraffa's code generation capabilities to Zed's AI assistant:
- Entity Generation: Create Zorphy entities with fields, JSON serialization, sealed classes, and inheritance
- UseCase Generation: Generate single-shot, streaming, background, and completable UseCases
- Repository Generation: Create repository interfaces and implementations
- VPC Layer: Generate View, Presenter, and Controller for presentation layer
- State Management: Generate State objects with granular loading states
- Data Layer: Generate DataSources and DataRepositories
- GraphQL Integration: Introspect GraphQL schemas and generate entities/usecases
- Dependency Injection: Generate DI setup with get_it
- Routing: Generate GoRouter route definitions
- Testing: Generate unit tests for UseCases
Installation
- Open Zed
- Go to Extensions (
zed: extensions) - Search for "Zuraffa"
- Click Install
Usage
Once installed, the Zuraffa MCP server will be available in Zed's Agent Panel. You can ask the AI assistant to:
- "Generate a Product entity with get, getList, create, update, delete methods"
- "Create a User UseCase with authentication service"
- "Generate GraphQL entities from this endpoint"
- "Show me the available ZFA tools"
Available MCP Tools
generate- Generate Clean Architecture codeentity_create- Create a new Zorphy entityentity_enum- Create a new enumentity_add_field- Add fields to an existing entityentity_from_json- Create entities from JSONentity_list- List all entitiesgraphql- Introspect GraphQL schema and generate codeconfig_init- Initialize ZFA configurationconfig_show- Show current configurationconfig_set- Set configuration valuedoctor- Show tooling informationview- Generate view classestest- Generate unit testsdi- Generate dependency injectionroute- Generate route definitionsschema- Get JSON schema for validationvalidate- Validate configuration
License
MIT License - see LICENSE for details.