mcp-server
v1.8.0MCP (Model Context Protocol) server for MBC CQRS Serverless framework - enables AI tools to interact with the framework
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mbc_generate_module
Generate a new CQRS module with controller, service, entity, and DTOs. This creates a complete module structure following MBC CQRS patterns.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the module to generate (e.g., "order", "product") |
mode | string | Command processing mode: async (default) or sync |
mbc_generate_controller
Generate a new controller for handling HTTP requests.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the controller to generate |
mbc_generate_service
Generate a new service for business logic.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the service to generate |
mbc_generate_entity
Generate a new entity for data modeling.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the entity to generate |
mbc_generate_dto
Generate a new DTO (Data Transfer Object) for request/response handling.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the DTO to generate |
mbc_validate_cqrs
Validate CQRS pattern implementation in the project. Checks for proper command/query separation, event handling, and entity structure.
| Parameter | Type | Description |
|---|---|---|
path | string | Path to validate (defaults to project root) |
mbc_analyze_project
Analyze an MBC CQRS Serverless project structure. Returns information about modules, entities, services, and CQRS pattern usage.
| Parameter | Type | Description |
|---|---|---|
path | string | Path to analyze (defaults to project root) |
mbc_lookup_error
Look up an error message in the error catalog to find its cause and solution.
| Parameter | Type | Description |
|---|---|---|
error_message * | string | The error message to look up |
mbc_check_anti_patterns
Check the project code for common anti-patterns and bad practices. Returns a list of detected issues with locations and recommendations.
| Parameter | Type | Description |
|---|---|---|
path | string | Path to check (defaults to src/) |
mbc_health_check
Perform a health check on the MBC CQRS Serverless project. Checks dependencies, structure, configuration, and common setup issues.
mbc_explain_code
Analyze and explain a specific file or code section in the context of the MBC CQRS Serverless framework.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Path to the file to explain |
end_line | number | Ending line number (optional) |
start_line | number | Starting line number (optional) |