MCP
MCP Workflows
Common end-to-end agent workflows for generation and mocking.
MCP Workflows
These workflows show practical, repeatable agent-driven operations.
Workflow 1: New Codebase Generation
- Derive codebase identifier from git remote.
- Call generate-fake-data with full schema.
- Poll until completion.
- Retrieve generated result references.
Workflow 2: Evolving Existing Schema
- Call get-codebase-schema with codebase identifier.
- Add newly introduced tables.
- Add/remove changed columns.
- Regenerate fake data.
Workflow 3: Mock API Bootstrap
- Call create-api-mock with domain prompt.
- Review generated endpoints.
- Call get-api-mock for exact endpoint/scenario details.
- Iterate prompt for additional coverage.
Workflow 4: Extend Existing Mock
- Call list-mocks.
- Pick mock by ID.
- Call create-api-mock with mock_id and prompt for only new endpoints.
- Validate responses in client tests.
Workflow 5: Safety-First Operation Pattern
- Start with read-only tools (list/get).
- Validate context and identifiers.
- Use mutation tools intentionally.
- Re-read state and confirm expected changes.
Team Conventions
- Store shared codebase identifiers in project docs.
- Keep MCP prompts deterministic and explicit.
- Prefer incremental mutations over large one-shot changes.