D2 MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| addr | No | Address to listen on (default: ":3000") | :3000 |
| base-url | No | Base URL for SSE endpoints (auto-generated if not specified) | |
| base-path | No | Base path for SSE endpoints (default: "/mcp") | /mcp |
| stateless | No | Enable stateless mode (default: false) | false |
| transport | No | Transport protocol: stdio, sse, or streamable. Default: sse. | sse |
| keep-alive | No | Keep-alive interval in seconds (default: 30) | 30 |
| endpoint-path | No | Endpoint path for Streamable HTTP (default: "/mcp") | /mcp |
| workspace-root | No | Confine imports, local images, and saved files to named workspace roots. Format: name=path. Can be repeated. Default root is the server's current working directory. | |
| heartbeat-interval | No | Heartbeat interval in seconds (default: 30) | 30 |
| remote-asset-timeout | No | Timeout for remote assets (e.g., 30s). | |
| remote-asset-max-bytes | No | Maximum bytes for remote assets. |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues