{"repo":"i2y/d2mcp","free":true,"listed":false,"github":"https://github.com/i2y/d2mcp","clone":"git clone https://github.com/i2y/d2mcp.git","description":"A Model Context Protocol (MCP) server that provides D2 diagram generation and manipulation capabilities.","language":"Go","stars":31,"topics":["d2","d2lang","diagrams","mcp","mcp-server"],"license":"MIT","category":"mcp-servers","readme_excerpt":"D2 MCP Server A Model Context Protocol (MCP) server that provides D2 diagram generation and manipulation capabilities. D2 is a modern diagram scripting language that turns text to diagrams. This MCP server allows AI assistants like Claude to create, render, export, and save D2 diagrams programmatically. The server provides 10 tools through the MCP protocol with enhanced descriptions for optimal AI assistant integration, enabling both simple diagram rendering and sophisticated incremental diagram building using the Oracle API. With the new Oracle API integration, AI assistants can now build and modify diagrams incrementally, making it perfect for: - Converting conversations into architecture diagrams - Building flowcharts step-by-step as requirements are discussed - Creating entity relationship diagrams from database schemas - Generating system diagrams from code analysis - Refining diagrams based on user feedback without starting over Features Basic Diagram Operations - d2 create - Create new diagrams with optional initial content (unified approach) - d2 export - Export diagrams to various formats (SVG, PNG, PDF) - d2 save - Save existing diagrams to files Oracle API for Incremental Editing - d2 oracle create - Create shapes and connections incrementally - d2 oracle set - Set attributes on existing elements - d2 oracle delete - Delete specific elements from diagrams - d2 oracle move - Move shapes between containers - d2 oracle rename - Rename diagram elements - d2 oracle get ","default_branch":null,"files":null,"tree":[],"storefront":"/r/i2y","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/i2y/d2mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}