context-mapper-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| cml_create_modelC | Create a new empty CML model |
| cml_load_modelB | Load a CML model from a file |
| cml_save_modelC | Save the current model to a file |
| cml_validate_modelD | Validate the current CML model |
| cml_get_model_infoC | Get information about the current model |
| cml_list_bounded_contextsA | List all bounded contexts in the model |
| cml_get_bounded_contextA | Get detailed information about a bounded context |
| cml_list_aggregatesB | List all aggregates, optionally filtered by context |
| cml_get_aggregateB | Get detailed information about an aggregate including entities, value objects, events, and commands |
| cml_find_elementsA | Search for elements by name pattern (regex supported) |
| cml_list_relationshipsC | List context map relationships |
| cml_create_context_mapC | Create a context map for the model |
| cml_create_bounded_contextB | Create a new bounded context |
| cml_update_bounded_contextC | Update a bounded context |
| cml_delete_bounded_contextB | Delete a bounded context and its relationships |
| cml_create_aggregateC | Create a new aggregate in a bounded context |
| cml_update_aggregateC | Update an aggregate |
| cml_delete_aggregateC | Delete an aggregate |
| cml_add_entityC | Add an entity to an aggregate |
| cml_add_value_objectC | Add a value object to an aggregate |
| cml_add_identifierA | Create an ID Value Object following DDD best practices. Use this instead of primitive String IDs to properly model identifiers as Value Objects. |
| cml_add_domain_eventB | Add a domain event to an aggregate |
| cml_add_commandB | Add a command to an aggregate |
| cml_add_serviceC | Add a domain service to an aggregate |
| cml_delete_entityC | Delete an entity from an aggregate |
| cml_delete_value_objectC | Delete a value object from an aggregate |
| cml_delete_domain_eventB | Delete a domain event from an aggregate |
| cml_delete_commandB | Delete a command from an aggregate |
| cml_delete_serviceC | Delete a service from an aggregate |
| cml_batch_add_elementsA | Batch creation of multiple domain objects (entities, value objects, identifiers, events, commands, services) in a single call. More efficient than individual calls. Validates all elements before creating any. |
| cml_create_relationshipA | Create a relationship between bounded contexts. Types: Partnership, SharedKernel (symmetric), UpstreamDownstream (asymmetric with optional OHS/PL upstream patterns and ACL/CF downstream patterns) |
| cml_update_relationshipD | Update a relationship |
| cml_delete_relationshipC | Delete a relationship |
| cml_get_relationshipB | Get details of a specific relationship |
| cml_generate_context_map_diagramB | Generate a PlantUML context map diagram |
| cml_generate_aggregate_diagramC | Generate a PlantUML class diagram for an aggregate |
| cml_generate_full_diagramB | Generate a PlantUML diagram of the full domain model |
| cml_generate_context_map_imageB | Generate Context Map visualization (PNG/SVG) using Context Mapper CLI. Requires Java 17+ and CLI (auto-downloaded on first use). |
| cml_generate_mdslA | Generate MDSL microservice contracts from Context Map upstream-downstream relationships. Requires Java 17+ and CLI. |
| cml_generate_from_templateC | Generate output from a custom Freemarker template. Requires Java 17+ and CLI. |
| cml_generate_glossaryB | Generate ubiquitous language glossary (Markdown) from domain model using bundled template. Requires Java 17+ and CLI. |
| cml_generate_jhipster_jdlB | Generate JHipster JDL from domain model using bundled template. Requires Java 17+ and CLI. |
| cml_generate_full_reportC | Generate comprehensive domain documentation (Markdown) using bundled template. Requires Java 17+ and CLI. |
| cml_cli_statusA | Check Context Mapper CLI and Java availability status |
| cml_configure_cliB | Configure CLI settings (paths, Java home, output directory, timeout) |
| cml_download_cliA | Download and install the Context Mapper CLI from Maven Central |
| cml_list_generatorsA | List all available generators and their availability status |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 47 tools
Most tools have clear purposes, but the large number (47) and some overlapping concepts (e.g., generate vs. create for context maps) may cause minor confusion. Descriptions help distinguish, but agents might misselect between aggregate-level and full-model diagram generators.
All tools use 'cml_' prefix with consistent snake_case and verb_noun pattern (e.g., cml_add_command, cml_delete_aggregate, cml_generate_diagram). No mixing of conventions.
47 tools is high, reflecting comprehensive DDD modeling capabilities. While each tool serves a specific purpose, the count exceeds typical scopes, and some could be consolidated (e.g., separate delete tools for each element type).
The tool set covers full lifecycle management for bounded contexts, aggregates, relationships, and elements (commands, events, entities, etc.), plus model validation, file I/O, batch operations, and extensive generation outputs (diagrams, reports, glossary, JDL, MDSL). No obvious gaps.