Azure Diagram MCP Server
by Jah-yee
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FASTMCP_LOG_LEVEL | No | Log level for FastMCP (e.g., ERROR, INFO). Default is INFO if not set. | INFO |
| DIAGRAM_COPILOT_MODEL | No | Model override (default: 'gpt-4.1'). | |
| DIAGRAM_COPILOT_API_KEY | No | API key for the LLM provider. | |
| DIAGRAM_COPILOT_BASE_URL | No | API endpoint URL for the LLM provider. | |
| DIAGRAM_COPILOT_WIRE_API | No | API wire format: 'completions' or 'responses'. | |
| DIAGRAM_COPILOT_PROVIDER_TYPE | No | LLM provider type: 'openai', 'azure', or 'anthropic'. Required only when using Copilot SDK with BYOK. | |
| DIAGRAM_COPILOT_AZURE_API_VERSION | No | Azure API version (default: '2024-10-21'). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_diagramB | Generate a diagram from Python code using the diagrams package DSL. |
| refresh_diagramC | Regenerate a diagram from updated code (app-only tool). |
| get_diagram_examplesC | Get example diagram code for the specified diagram type. |
| list_iconsB | List available diagram icons organized by provider and service. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_diagram_viewer | Serve the interactive diagram viewer HTML app. |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jah-yee/diagrams-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server