MCP Server
Zuraffa exposes a built-in Model Context Protocol (MCP) server so AI agents can understand your architecture and drive the same canonical v5 workflow that humans use.
That workflow is:
zfa entity createzfa makezfa build
What MCP gives you
With the MCP server enabled, an agent can:
- inspect the project structure
- plan generation work before executing it
- create entities and then generate architecture around them
- run diagnostics and follow the same v5 command contract as the docs
Installation
dart pub global activate zuraffa
zuraffa_mcp_server
Available tools
zuraffa_make
This tool should follow the same v5 contract as the CLI docs:
- create entities with
zfa entity createwhen needed - generate architecture through
zfa make - treat
zfa feature scaffoldas wrapper syntax, not the primary public workflow - finish with
zfa buildwhen generation changes require it
zuraffa_entity_create
Use this for Zorphy entity creation under the fixed v5 entity path:
lib/src/domain/entities/{entity_snake}/{entity_snake}.dart
.zfa.json and .zfa/ context for agents
Agents should reason about project state using:
.zfa.jsonfor active project defaults.zfa/for the canonical project-memory model of plans, runs, decisions, blueprints, manifests, and context
.zfa/
├── plans/
├── runs/
├── blueprints/
├── decisions/
├── manifests/
└── context.json
During the migration period, some internals may still reference older storage paths. Public-facing v5 prompts and docs should still describe .zfa/ as the forward contract.