Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_DRAWIO_OUTPUT_DIRNoBase directory for relative .drawio save and open paths. If unset, the process working directory is used. Absolute paths always take precedence.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
load_database_schemaC

Load a live relational database schema into a named diagram.

load_ddl_schemaB

Load CREATE TABLE statements supplied inline or from a UTF-8 file.

load_spec_schemaC

Load a YAML or JSON schema spec supplied inline or from a UTF-8 file.

open_diagramC

Open an existing uncompressed .drawio or XML diagram.

list_diagramsA

List every diagram currently open in this server process.

describe_diagramB

Describe the tables, keys, and relations in an open diagram.

add_tableA

Add a table using columns such as id: INTEGER pk.

remove_tableA

Remove a table and every relation connected to it.

add_columnB

Add one column using shorthand such as email: VARCHAR(255) unique.

remove_columnA

Remove a column and cascade removal to relations that use it.

add_relationB

Add a validated relation from child columns to parent columns.

remove_relationA

Remove the relation matching validated source and target endpoints.

move_tableA

Move a table to finite x/y coordinates without changing its size.

relayout_diagramB

Replace all table positions with a fresh automatic layout.

save_diagramC

Regenerate and save a diagram to a .drawio or XML file.

export_specA

Export an open diagram's canonical schema as YAML or JSON.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/marcelovillanuevam-code/MCP-Draw.IO'

If you have feedback or need assistance with the MCP directory API, please join our Discord server