D2
MCP server · d2lang
Connect
Claude Code
claude mcp add d2lang-d2 -- uvx d2lang
Config file (Cursor, VS Code, Claude Desktop …)
{
"mcpServers": {
"d2lang-d2": {
"command": "uvx",
"args": [
"d2lang"
]
}
}
}
MCP servers can read and change data in the connected service. Only connect servers you trust and check which permissions you grant.
What does the D2 MCP server do?
Questions about D2
What does the D2 MCP server do?
Look up D2 syntax, check diagrams, and render them locally.
How do I connect D2?
It runs locally. In Claude Code: claude mcp add d2lang-d2 -- uvx d2lang. Other clients take the same command in their MCP config file.
Is D2 an official MCP server?
Not confirmed: it is published by d2lang, not necessarily by the company behind the connected service. Check the source before you connect it.
More MCP servers: Other
Sienna by Knobs.co is a remote MCP server (E-Commerce) run by Knobs.co. Add it as a connector to let Claude, ChatGPT or Cursor work with Sienna by Knobs.co directly. Sign-in: Open.
SubwayInfo NYC is a remote MCP server (Other) run by SubwayInfo NYC. Add it as a connector to let Claude, ChatGPT or Cursor work with SubwayInfo NYC directly. Sign-in: Open.
Dodo Payments is a remote MCP server (Payments) run by Dodo Payments. Add it as a connector to let Claude, ChatGPT or Cursor work with Dodo Payments directly. Sign-in: API Key.
Mercado Pago is a remote MCP server (Payments) run by Mercado Pago MCP Server. Add it as a connector to let Claude, ChatGPT or Cursor work with Mercado Pago directly.
Mercado Libre is a remote MCP server (E-Commerce) run by Mercado Libre MCP Server. Add it as a connector to let Claude, ChatGPT or Cursor work with Mercado Libre directly.
Turkish Airlines is a remote MCP server (Airlines) run by Turkish Technology. Add it as a connector to let Claude, ChatGPT or Cursor work with Turkish Airlines directly. Sign-in: OAuth2.1.
Stripe is a remote MCP server (Payments) run by Stripe. Add it as a connector to let Claude, ChatGPT or Cursor work with Stripe directly. Sign-in: OAuth2.1 API Key.
Ramp is a remote MCP server (Payments) run by Ramp. Add it as a connector to let Claude, ChatGPT or Cursor work with Ramp directly. Sign-in: OAuth2.1.