mcp-server

v1.8.0
@mbc-cqrs-serverless/mcp-server Checked 9 hours ago Published 16 days ago

MCP (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.

ParameterTypeDescription
name *stringName of the module to generate (e.g., "order", "product")
modestringCommand processing mode: async (default) or sync

mbc_generate_controller

Generate a new controller for handling HTTP requests.

ParameterTypeDescription
name *stringName of the controller to generate

mbc_generate_service

Generate a new service for business logic.

ParameterTypeDescription
name *stringName of the service to generate

mbc_generate_entity

Generate a new entity for data modeling.

ParameterTypeDescription
name *stringName of the entity to generate

mbc_generate_dto

Generate a new DTO (Data Transfer Object) for request/response handling.

ParameterTypeDescription
name *stringName 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.

ParameterTypeDescription
pathstringPath 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.

ParameterTypeDescription
pathstringPath to analyze (defaults to project root)

mbc_lookup_error

Look up an error message in the error catalog to find its cause and solution.

ParameterTypeDescription
error_message *stringThe 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.

ParameterTypeDescription
pathstringPath 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.

ParameterTypeDescription
file_path *stringPath to the file to explain
end_linenumberEnding line number (optional)
start_linenumberStarting line number (optional)