structurizr-mcp
Verified Safeby Cubical6
Overview
Enables AI assistants to create, manage, analyze, and visualize C4 architecture diagrams as code (Structurizr DSL) for software systems, including people, containers, components, relationships, and various views.
Installation
php /absolute/path/to/structurizr-mcp/server.phpEnvironment Variables
- WORKSPACE_STORAGE_PATH
- STRUCTURIZR_CLI_PATH
- STRUCTURIZR_DOCKER_IMAGE
- STRUCTURIZR_API_KEY
- STRUCTURIZR_API_SECRET
- STRUCTURIZR_API_URL
- LOG_LEVEL
- LOG_PATH
- SERVER_NAME
- SERVER_VERSION
Security Notes
The server implements robust security measures. It uses Symfony Process with array form to prevent command injection, performs strict input validation (schema-based, sanitization), prevents path traversal by sanitizing workspace IDs and resolving real paths within allowed directories, and handles credentials securely via environment variables with sanitization in logs and memory cleanup. It runs over stdio, reducing direct network exposure risks. Comprehensive documentation on security best practices is provided.
Similar Servers
consult-llm-mcp
An MCP server that allows AI agents like Claude Code to consult stronger, more capable AI models (e.g., GPT-5.2, Gemini 3.0 Pro) for complex code analysis, debugging, and architectural advice.
ast-mcp-server
Provides an MCP (Model Context Protocol) server for code structure and semantic analysis using ASTs and ASGs, integrated with external AI clients like Claude Desktop.
php-mcp
Facilitates communication and integration between LLM applications and external data sources or tools by implementing the Model Context Protocol (MCP).
symfony-mcp-server
Build intelligent AI agents by transforming Symfony applications into Model Context Protocol (MCP) servers, enabling LLM interaction with application logic, tools, prompts, and resources.