{"_id":"ai-diagram-maker-mcp","_rev":"12-0512b5d2bccef768be41ae3a23cae5fc","name":"ai-diagram-maker-mcp","dist-tags":{"latest":"3.0.8"},"versions":{"1.0.0":{"name":"ai-diagram-maker-mcp","version":"1.0.0","keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"author":{"name":"Rajasekar Elango"},"license":"MIT","_id":"ai-diagram-maker-mcp@1.0.0","maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"bin":{"ai-diagram-maker-mcp":"dist/index.js"},"dist":{"shasum":"2b38565fa6877f2d1002168b0ce43c98129db0ac","tarball":"https://registry.npmjs.org/ai-diagram-maker-mcp/-/ai-diagram-maker-mcp-1.0.0.tgz","fileCount":95,"integrity":"sha512-KripJDsKwmX+PDAmvINtho+FLYKaYCBlBlutK/R1KGbDJZSiqrXL7nbUlCkBdYwQZldF40azihgStebm8EoHdg==","signatures":[{"sig":"MEUCIH6kQ98hpipMV8gD+GuvazM1mixRqS186Md+UECBh83eAiEA67viML1NKgjvK74LS5UjwA24+pHXcDyPLfR3XvP9b7M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":91723},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"bcc80878ebf862cf8edebe401a3ea94b0dc34dff","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js","generate":"orval --config orval.config.ts","start:sse":"node dist/index.js --transport sse","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"},"repository":{"url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git","type":"git"},"_npmVersion":"10.2.4","description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.24.2","@modelcontextprotocol/sdk":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"orval":"^7.8.0","typescript":"^5.8.2","@types/node":"^22.13.10"},"_npmOperationalInternal":{"tmp":"tmp/ai-diagram-maker-mcp_1.0.0_1772942608962_0.9930280605536235","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"ai-diagram-maker-mcp","version":"1.1.0","keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"author":{"name":"Rajasekar Elango"},"license":"MIT","_id":"ai-diagram-maker-mcp@1.1.0","maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"bin":{"ai-diagram-maker-mcp":"dist/index.js"},"dist":{"shasum":"8bb6418adb68ca954d9f598b30691fb9acb11437","tarball":"https://registry.npmjs.org/ai-diagram-maker-mcp/-/ai-diagram-maker-mcp-1.1.0.tgz","fileCount":107,"integrity":"sha512-L2GBddIma6SIvq+TNwkIV4uTvpIxaUU7dtvcABiBPjLmTMd3kaa++Ir+SGrDa3PV4atVRdNJSCEsrAJck5gf5Q==","signatures":[{"sig":"MEUCIQDzXjwQdte/+D6HQM9O3V5UC5g6mA/O6lTVl241k3H2SgIgPoOmrriKTHMqb+2qjjqV5ffNfbRbxiPzWpnctMaJ4S4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102590},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"ad3b465def974fed6bf35f2d34f41f55b51d6e59","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js","generate":"orval --config orval.config.ts","start:sse":"node dist/index.js --transport sse","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"},"repository":{"url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git","type":"git"},"_npmVersion":"10.2.4","description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.24.2","@modelcontextprotocol/sdk":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"orval":"^7.8.0","typescript":"^5.8.2","@types/node":"^22.13.10"},"_npmOperationalInternal":{"tmp":"tmp/ai-diagram-maker-mcp_1.1.0_1773019275159_0.34400245797221185","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"ai-diagram-maker-mcp","version":"1.1.1","keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"author":{"name":"Rajasekar Elango"},"license":"MIT","_id":"ai-diagram-maker-mcp@1.1.1","maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"bin":{"ai-diagram-maker-mcp":"dist/index.js"},"dist":{"shasum":"ada9725e2e4987b2a77b96d9b02e37785b885bc2","tarball":"https://registry.npmjs.org/ai-diagram-maker-mcp/-/ai-diagram-maker-mcp-1.1.1.tgz","fileCount":107,"integrity":"sha512-GWGkgzfye4l4ILPphZwITwWNKVmojYd+1dTQAd7uhKlh4Xd+ZaFQSy5fpvCw3uyhL81/DO/RqyVlH+cJDr5+Rg==","signatures":[{"sig":"MEUCIQDA6ZxviR+V6xT935ZtiDj3176YZmveUkxsYmF1/wY4RQIgZHzL0h6V7zmrcnhEpr6JoKBTqXXi0ZzLXhFyEYsXbT0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103215},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"005e4e0b6117f0caef9c63ca734a8e377aca6f8a","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js","generate":"orval --config orval.config.ts","start:sse":"node dist/index.js --transport sse","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"},"repository":{"url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git","type":"git"},"_npmVersion":"10.2.4","description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.24.2","@modelcontextprotocol/sdk":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"orval":"^7.8.0","typescript":"^5.8.2","@types/node":"^22.13.10"},"_npmOperationalInternal":{"tmp":"tmp/ai-diagram-maker-mcp_1.1.1_1773020812609_0.8065548176869834","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"ai-diagram-maker-mcp","version":"1.1.2","keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"author":{"name":"Rajasekar Elango"},"license":"MIT","_id":"ai-diagram-maker-mcp@1.1.2","maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"bin":{"ai-diagram-maker-mcp":"dist/index.js"},"dist":{"shasum":"cda2ecccc956fe726a8ef4a1b97d3c1303aa8165","tarball":"https://registry.npmjs.org/ai-diagram-maker-mcp/-/ai-diagram-maker-mcp-1.1.2.tgz","fileCount":107,"integrity":"sha512-61NfPUdoFc3GZLGbzutWBL5bA1muCCIBmwXpAYw5XeweAi/SMwtAqgMiwPJ2x9QIsNv8ZahiQ7ARIcuUuzeL1A==","signatures":[{"sig":"MEUCIAO8fsPI35i6MV+QdKsR5IHA4dVVFP9Lx/R/cpD14eM5AiEAi2B2YyquV/S4HhkSjXEqgzu7+q/OxeghErMcrbv5IRA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":106074},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"56044098386967b29474b0c71da0c59b33aa85fb","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js","generate":"orval --config orval.config.ts","start:sse":"node dist/index.js --transport sse","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"},"repository":{"url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git","type":"git"},"_npmVersion":"10.2.4","description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.24.2","@modelcontextprotocol/sdk":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"orval":"^7.8.0","typescript":"^5.8.2","@types/node":"^22.13.10"},"_npmOperationalInternal":{"tmp":"tmp/ai-diagram-maker-mcp_1.1.2_1773275883118_0.15569153552922987","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"ai-diagram-maker-mcp","version":"3.0.0","keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"author":{"name":"Rajasekar Elango"},"license":"MIT","_id":"ai-diagram-maker-mcp@3.0.0","maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"bin":{"ai-diagram-maker-mcp":"dist/index.js"},"dist":{"shasum":"4852e65d7b335cf44f071470d7542cb65fd35033","tarball":"https://registry.npmjs.org/ai-diagram-maker-mcp/-/ai-diagram-maker-mcp-3.0.0.tgz","fileCount":116,"integrity":"sha512-+UclOYHJseDIdXb2GVDa4gNr65u1COHHQsXCcUBZwDeN3BX170hKeut09cQg7ButvJYv3vQyF7KqWKIKPV9u6Q==","signatures":[{"sig":"MEYCIQDOl7Yr/hJqjCBaZQIJCD0WOSsnom/NvKBOToQvQOJh5QIhALTYRybIVWjj8QPEFAEEHvWsypFImdXSAWtZ5cLao9rl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":556790},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"a2e24eaadb851329b7844cb17950ca99e2b20b1e","scripts":{"dev":"cross-env NODE_ENV=development concurrently \"cross-env INPUT=mcp-app.html vite build --watch\" \"tsc --watch\"","build":"cross-env INPUT=mcp-app.html vite build && tsc","start":"node dist/index.js","build:ui":"cross-env INPUT=mcp-app.html vite build","generate":"orval --config orval.config.ts","start:http":"node dist/index.js --transport http","build:server":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"},"repository":{"url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git","type":"git"},"_npmVersion":"10.2.4","description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.24.2","react":"^19.2.4","react-dom":"^19.2.4","react-markdown":"^10.1.0","@modelcontextprotocol/sdk":"^1.9.0","@modelcontextprotocol/ext-apps":"^1.2.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vite":"^6.4.1","orval":"^7.8.0","cross-env":"^10.1.0","typescript":"^5.8.2","@types/node":"^22.13.10","@types/react":"^19.2.14","concurrently":"^9.2.1","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^4.7.0","vite-plugin-singlefile":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-diagram-maker-mcp_3.0.0_1773450309944_0.2394558149861894","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"ai-diagram-maker-mcp","version":"3.0.1","keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"author":{"name":"Rajasekar Elango"},"license":"MIT","_id":"ai-diagram-maker-mcp@3.0.1","maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"bin":{"ai-diagram-maker-mcp":"dist/index.js"},"dist":{"shasum":"f654ea29a47baba52bd2de81581496b5ba6ded35","tarball":"https://registry.npmjs.org/ai-diagram-maker-mcp/-/ai-diagram-maker-mcp-3.0.1.tgz","fileCount":116,"integrity":"sha512-eNC+21mjn0Taz3kcq7cgzMJT7Y1EfFR8sSPTHW/RUAOrRwJlih2voxUNyQnYPhdvrqvBpv+VCzT8mZB6QftaQA==","signatures":[{"sig":"MEUCIEqkcwDIebPi1jiRPgyUT6gUTf5sDty9Uvkruv+egMcYAiEAywPwcI5Uuxo8FKN0RtY1+cemUVINrIsi4WrWQiGa4bI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":557056},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"5ef7b01b41117ebd56790c309734ee57b0fdefb9","scripts":{"dev":"cross-env NODE_ENV=development concurrently \"cross-env INPUT=mcp-app.html vite build --watch\" \"tsc --watch\"","build":"cross-env INPUT=mcp-app.html vite build && tsc","start":"node dist/index.js","build:ui":"cross-env INPUT=mcp-app.html vite build","generate":"orval --config orval.config.ts","start:http":"node dist/index.js --transport http","build:server":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"},"repository":{"url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git","type":"git"},"_npmVersion":"10.2.4","description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.24.2","react":"^19.2.4","react-dom":"^19.2.4","react-markdown":"^10.1.0","@modelcontextprotocol/sdk":"^1.9.0","@modelcontextprotocol/ext-apps":"^1.2.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vite":"^6.4.1","orval":"^7.8.0","cross-env":"^10.1.0","typescript":"^5.8.2","@types/node":"^22.13.10","@types/react":"^19.2.14","concurrently":"^9.2.1","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^4.7.0","vite-plugin-singlefile":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-diagram-maker-mcp_3.0.1_1773451191089_0.9729622290604718","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"ai-diagram-maker-mcp","version":"3.0.2","keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"author":{"name":"Rajasekar Elango"},"license":"MIT","_id":"ai-diagram-maker-mcp@3.0.2","maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"bin":{"ai-diagram-maker-mcp":"dist/index.js"},"dist":{"shasum":"2283438ff58f9ce36a49d2a7e7731ff3c3761072","tarball":"https://registry.npmjs.org/ai-diagram-maker-mcp/-/ai-diagram-maker-mcp-3.0.2.tgz","fileCount":116,"integrity":"sha512-cz26Exj2IY7tpHASGKxXfq4IaJTIyaY51PLx/zc3BQGWms1ysIScGh8lnbREmZY2z1ruuVwlUzg+q+UA3Rim5A==","signatures":[{"sig":"MEYCIQCIxcPld6XHq1yzJBNhYcd/jvNlvOeiG0n/BFB602iSewIhAKyW5OTfzEnbowjpw3OQvII4v01x4hC6+0eNLsTXVkBT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":557733},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"cc68734e74cec5591f2cc1670b7b8ed5532843b2","scripts":{"dev":"cross-env NODE_ENV=development concurrently \"cross-env INPUT=mcp-app.html vite build --watch\" \"tsc --watch\"","build":"cross-env INPUT=mcp-app.html vite build && tsc","start":"node dist/index.js","build:ui":"cross-env INPUT=mcp-app.html vite build","generate":"orval --config orval.config.ts","start:http":"node dist/index.js --transport http","build:server":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"},"repository":{"url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git","type":"git"},"_npmVersion":"10.2.4","description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.24.2","react":"^19.2.4","react-dom":"^19.2.4","react-markdown":"^10.1.0","@modelcontextprotocol/sdk":"^1.9.0","@modelcontextprotocol/ext-apps":"^1.2.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vite":"^6.4.1","orval":"^7.8.0","cross-env":"^10.1.0","typescript":"^5.8.2","@types/node":"^22.13.10","@types/react":"^19.2.14","concurrently":"^9.2.1","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^4.7.0","vite-plugin-singlefile":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-diagram-maker-mcp_3.0.2_1773453945117_0.7318374592641177","host":"s3://npm-registry-packages-npm-production"}},"3.0.3":{"name":"ai-diagram-maker-mcp","version":"3.0.3","keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"author":{"name":"Rajasekar Elango"},"license":"MIT","_id":"ai-diagram-maker-mcp@3.0.3","maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"bin":{"ai-diagram-maker-mcp":"dist/index.js"},"dist":{"shasum":"cf2f263c6d9f064bfec1098486a181397e0464d4","tarball":"https://registry.npmjs.org/ai-diagram-maker-mcp/-/ai-diagram-maker-mcp-3.0.3.tgz","fileCount":120,"integrity":"sha512-vMhLu2hqpjzc1p8T+Wmhll/4pc7CYTg4YgiARH5QUARFreIhlZml93IbpdAGh7WMgxUTCXDa3CjivFM0Wx4ZYA==","signatures":[{"sig":"MEYCIQDjNE/aZ8mKmRv9usifrjb82u38EDKZVlmiruDPp5IHFwIhAM0jxdvjf2TiEr/Oc16z9rrnQQWeQsUXRsS53ZnTAEJw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":575578},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"b517fab63602aa2b8e7f12e0249d27f4ec55c1d1","scripts":{"dev":"cross-env NODE_ENV=development concurrently \"cross-env INPUT=mcp-app.html vite build --watch\" \"tsc --watch\"","build":"cross-env INPUT=mcp-app.html vite build && tsc","start":"node dist/index.js","build:ui":"cross-env INPUT=mcp-app.html vite build","generate":"orval --config orval.config.ts","start:http":"node dist/index.js --transport http","build:server":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"},"repository":{"url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git","type":"git"},"_npmVersion":"10.2.4","description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.24.2","react":"^19.2.4","react-dom":"^19.2.4","react-markdown":"^10.1.0","@modelcontextprotocol/sdk":"^1.9.0","@modelcontextprotocol/ext-apps":"^1.2.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vite":"^6.4.1","orval":"^7.8.0","cross-env":"^10.1.0","typescript":"^5.8.2","@types/node":"^22.13.10","@types/react":"^19.2.14","concurrently":"^9.2.1","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^4.7.0","vite-plugin-singlefile":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-diagram-maker-mcp_3.0.3_1773708394721_0.8826832074704687","host":"s3://npm-registry-packages-npm-production"}},"3.0.4":{"name":"ai-diagram-maker-mcp","version":"3.0.4","keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"author":{"name":"Rajasekar Elango"},"license":"MIT","_id":"ai-diagram-maker-mcp@3.0.4","maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"bin":{"ai-diagram-maker-mcp":"dist/index.js"},"dist":{"shasum":"af4828e7d70f7df5f746b540f966af7091576136","tarball":"https://registry.npmjs.org/ai-diagram-maker-mcp/-/ai-diagram-maker-mcp-3.0.4.tgz","fileCount":120,"integrity":"sha512-TDau9xMRQkwf0hfCGa6Yz63eNvZdpXTji1ir3r8l7EvZMksNikKSFdffyLiBivCqOzugmR9vK8UTdmd3atcpjA==","signatures":[{"sig":"MEUCIQDBDxKe9bTamzpZqSAN6PFYzwW92Yg/LGEJh7e9ySr3igIgVzU2D3Aen8/Zz3EgpmaUVWsXRU8Rgq7sB8IAGhBQNIA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":584262},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"d6b8c8b259313f21561aa6a524d03fb903c7f7c1","scripts":{"dev":"cross-env NODE_ENV=development concurrently \"cross-env INPUT=mcp-app.html vite build --watch\" \"tsc --watch\"","build":"cross-env INPUT=mcp-app.html vite build && tsc","start":"node dist/index.js","build:ui":"cross-env INPUT=mcp-app.html vite build","generate":"orval --config orval.config.ts","start:http":"node dist/index.js --transport http","build:server":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"},"repository":{"url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git","type":"git"},"_npmVersion":"10.2.4","description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.24.2","react":"^19.2.4","react-dom":"^19.2.4","react-markdown":"^10.1.0","@modelcontextprotocol/sdk":"^1.9.0","@modelcontextprotocol/ext-apps":"^1.2.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vite":"^6.4.1","orval":"^7.8.0","cross-env":"^10.1.0","typescript":"^5.8.2","@types/node":"^22.13.10","@types/react":"^19.2.14","concurrently":"^9.2.1","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^4.7.0","vite-plugin-singlefile":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-diagram-maker-mcp_3.0.4_1773795339164_0.4346577155733371","host":"s3://npm-registry-packages-npm-production"}},"3.0.6":{"name":"ai-diagram-maker-mcp","version":"3.0.6","keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"author":{"name":"Rajasekar Elango"},"license":"MIT","_id":"ai-diagram-maker-mcp@3.0.6","maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"bin":{"ai-diagram-maker-mcp":"dist/index.js"},"dist":{"shasum":"21d2455b99d2e99874d9821e940419bbc65ebf70","tarball":"https://registry.npmjs.org/ai-diagram-maker-mcp/-/ai-diagram-maker-mcp-3.0.6.tgz","fileCount":120,"integrity":"sha512-YuhLyjxfOZy8/2hn7KP6LH73d0Izqe4XNCuwU6KAQjYrZ+jfOQRreGvJ2KP0s/P77cj/LlI1AcKivWAjtd+5zQ==","signatures":[{"sig":"MEQCIBPRydRdYxLfY/d60iniUnq003qGUygJhaBbDiDzvG/6AiBsSK07o959YcLQ6VXzuOceqRF7TXqN2SdtaQEhTMgrnA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":585146},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"6520b3322959dd0640bfead1aad64ab80f4bfa5d","mcpName":"io.github.erajasekar/ai-diagram-maker-mcp","scripts":{"dev":"cross-env NODE_ENV=development concurrently \"cross-env INPUT=mcp-app.html vite build --watch\" \"tsc --watch\"","build":"cross-env INPUT=mcp-app.html vite build && tsc","start":"node dist/index.js","build:ui":"cross-env INPUT=mcp-app.html vite build","generate":"orval --config orval.config.ts","start:http":"node dist/index.js --transport http","build:server":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"},"repository":{"url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git","type":"git"},"_npmVersion":"10.2.4","description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.24.2","react":"^19.2.4","react-dom":"^19.2.4","react-markdown":"^10.1.0","@modelcontextprotocol/sdk":"^1.9.0","@modelcontextprotocol/ext-apps":"^1.2.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vite":"^6.4.1","orval":"^7.8.0","cross-env":"^10.1.0","typescript":"^5.8.2","@types/node":"^22.13.10","@types/react":"^19.2.14","concurrently":"^9.2.1","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^4.7.0","vite-plugin-singlefile":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-diagram-maker-mcp_3.0.6_1773889436713_0.12436234934538826","host":"s3://npm-registry-packages-npm-production"}},"3.0.7":{"name":"ai-diagram-maker-mcp","version":"3.0.7","keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"author":{"name":"Rajasekar Elango"},"license":"MIT","_id":"ai-diagram-maker-mcp@3.0.7","maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"bin":{"ai-diagram-maker-mcp":"dist/index.js"},"dist":{"shasum":"c8d3e808e0303bb9d2a83a314ffa9322fa3542f2","tarball":"https://registry.npmjs.org/ai-diagram-maker-mcp/-/ai-diagram-maker-mcp-3.0.7.tgz","fileCount":121,"integrity":"sha512-CQP2pOqa9JxA6Jrj224xAEQmoAZ3M2RjtX3cQNcAkmdM9Ul3PkpSuab8fcOE7IiCN5s01gw/L2MVAnNzPnO2mA==","signatures":[{"sig":"MEYCIQDhkNUYWeJvSibr5xxVUBcg9uj73tq3TeA1kZfbvcEUZQIhAPSplkREO1OLih/iG5Fm8V9jxCglk+U5brBXYYXcEgHL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":589290},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"d400fcda502d9f96ffb99ca3164c67b1bb551bb3","mcpName":"io.github.erajasekar/ai-diagram-maker-mcp","scripts":{"dev":"cross-env NODE_ENV=development concurrently \"cross-env INPUT=mcp-app.html vite build --watch\" \"tsc --watch\"","build":"cross-env INPUT=mcp-app.html vite build && tsc","start":"node dist/index.js","build:ui":"cross-env INPUT=mcp-app.html vite build","generate":"orval --config orval.config.ts","start:http":"node dist/index.js --transport http","build:server":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"},"repository":{"url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git","type":"git"},"_npmVersion":"10.2.4","description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.24.2","react":"^19.2.4","react-dom":"^19.2.4","react-markdown":"^10.1.0","@modelcontextprotocol/sdk":"^1.9.0","@modelcontextprotocol/ext-apps":"^1.2.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vite":"^6.4.1","orval":"^7.8.0","cross-env":"^10.1.0","typescript":"^5.8.2","@types/node":"^22.13.10","@types/react":"^19.2.14","concurrently":"^9.2.1","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^4.7.0","vite-plugin-singlefile":"^2.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-diagram-maker-mcp_3.0.7_1774478941805_0.5285029677510966","host":"s3://npm-registry-packages-npm-production"}},"3.0.8":{"name":"ai-diagram-maker-mcp","mcpName":"io.github.erajasekar/ai-diagram-maker-mcp","version":"3.0.8","description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","type":"module","main":"dist/index.js","bin":{"ai-diagram-maker-mcp":"dist/index.js"},"scripts":{"build":"cross-env INPUT=mcp-app.html vite build && tsc","build:ui":"cross-env INPUT=mcp-app.html vite build","build:server":"tsc","dev":"cross-env NODE_ENV=development concurrently \"cross-env INPUT=mcp-app.html vite build --watch\" \"tsc --watch\"","generate":"orval --config orval.config.ts","start":"node dist/index.js","start:http":"node dist/index.js --transport http","prepublishOnly":"npm run build"},"keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"author":{"name":"Rajasekar Elango"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git"},"bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","engines":{"node":">=18.0.0"},"dependencies":{"@modelcontextprotocol/ext-apps":"^1.2.2","@modelcontextprotocol/sdk":"^1.9.0","react":"^19.2.4","react-dom":"^19.2.4","react-markdown":"^10.1.0","zod":"^3.24.2"},"devDependencies":{"@types/node":"^22.13.10","@types/react":"^19.2.14","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^4.7.0","concurrently":"^9.2.1","cross-env":"^10.1.0","orval":"^7.8.0","tsx":"^4.21.0","typescript":"^5.8.2","vite":"^6.4.1","vite-plugin-singlefile":"^2.3.0"},"_id":"ai-diagram-maker-mcp@3.0.8","gitHead":"e4801f490037cad0c2f956d0ba4008a162144391","types":"./dist/index.d.ts","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-XHbUpZnyjg6WqbihKuBAcrru+69JomW139xy9V/qjExXXe22h5Ow+82tsDtSK4fd+tOhR8HmMIf/FAKqEg4x3A==","shasum":"ed43bb1c2e7301630cab400b844e28a91a9f6065","tarball":"https://registry.npmjs.org/ai-diagram-maker-mcp/-/ai-diagram-maker-mcp-3.0.8.tgz","fileCount":121,"unpackedSize":592209,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICaGPbSo7tEAUVT8YHwkznlDQ8Z7VTWHIA64crbzy8Z4AiAm7ra7CLcKY9QhqUNNuZfF2lUp8zdbvb+vP3t4hlgHyg=="}]},"_npmUser":{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"},"directories":{},"maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai-diagram-maker-mcp_3.0.8_1775852886760_0.8915966026816864"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-08T04:03:28.961Z","modified":"2026-04-10T20:28:07.074Z","1.0.0":"2026-03-08T04:03:29.130Z","1.1.0":"2026-03-09T01:21:15.339Z","1.1.1":"2026-03-09T01:46:52.752Z","1.1.2":"2026-03-12T00:38:03.281Z","3.0.0":"2026-03-14T01:05:10.133Z","3.0.1":"2026-03-14T01:19:51.281Z","3.0.2":"2026-03-14T02:05:45.305Z","3.0.3":"2026-03-17T00:46:34.954Z","3.0.4":"2026-03-18T00:55:39.352Z","3.0.6":"2026-03-19T03:03:56.922Z","3.0.7":"2026-03-25T22:49:02.027Z","3.0.8":"2026-04-10T20:28:06.963Z"},"bugs":{"url":"https://github.com/erajasekar/ai-diagram-maker-mcp/issues"},"author":{"name":"Rajasekar Elango"},"license":"MIT","homepage":"https://github.com/erajasekar/ai-diagram-maker-mcp#readme","keywords":["ai","diagram","mcp","model-context-protocol","d2lang","flowchart","sequence-diagram","ai-diagram-maker"],"repository":{"type":"git","url":"git+ssh://git@github.com/erajasekar/ai-diagram-maker-mcp.git"},"description":"MCP server for AI Diagram Maker — generate software engineering diagrams from text, JSON, ASCII art, or images","maintainers":[{"name":"aidiagrammaker","email":"raja@aidiagrammaker.com"}],"readme":"# AI Diagram Maker MCP Server\n\nMCP server for [AI Diagram Maker](https://aidiagrammaker.com) — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent.\n\n- [ai-diagram-maker-mcp](https://github.com/erajasekar/ai-diagram-maker-mcp) 🌐 ☁️ - Generate professional software diagrams from plain English descriptions. [![erajasekar/ai-diagram-maker-mcp MCP server](https://glama.ai/mcp/servers/erajasekar/ai-diagram-maker-mcp/badges/score.svg)](https://glama.ai/mcp/servers/erajasekar/ai-diagram-maker-mcp)\n\n## Features\n\n- **5 tools** covering every input type: natural language text, code, ASCII diagram, images, and Mermaid\n- **Inline rendering** — diagrams appear directly in the chat using MCP Apps UI, no downloads\n- **Diagram URL in responses** — open it in your browser to view and edit the diagram\n- **5 diagram types**: flowchart, sequence, ERD, system architecture, UML\n- Supports both **stdio** (local) and **HTTP/Streamable HTTP** (remote) transports\n\n## Contents\n\n- [Prerequisites](#prerequisites)\n- [Hosted MCP server](#hosted-mcp-server)\n- [Installation](#installation)\n- [MCP client configuration](#mcp-client-configuration)\n- [Environment variables](#environment-variables)\n- [Tools](#tools)\n- [Trigger keywords](#trigger-keywords)\n- [Local developer setup](#local-developer-setup)\n- [License](#license)\n\n## Prerequisites\n\n1. Node.js 18+\n2. An [AI Diagram Maker](https://aidiagrammaker.com) account and API key\n\n## Hosted MCP server\n\nThe public MCP endpoint is **https://mcp.aidiagrammaker.com/mcp** (Streamable HTTP). Nothing to install for this option.\n\n### Authentication (HTTP)\n\nFor remote HTTP clients, send your API key on every request — **not** via environment variables:\n\n- `X-ADM-API-Key: <your_api_key>` (recommended), or\n- `Authorization: Bearer <your_api_key>`\n\nUse the API key from your AI Diagram Maker account (see [Prerequisites](#prerequisites)).\n\n### Remote server JSON example\n\nMerge this into your client’s MCP config (replace the API key placeholder):\n\n```json\n{\n  \"mcpServers\": {\n    \"ai-diagram-maker\": {\n      \"url\": \"https://mcp.aidiagrammaker.com/mcp\",\n      \"headers\": {\n        \"X-ADM-API-Key\": \"YOUR_API_KEY\"\n      }\n    }\n  }\n}\n```\n\n## Installation\n\n### Option A — hosted server (recommended)\n\nUse the [remote server JSON example](#remote-server-json-example) above and wire it into your client using [MCP client configuration](#mcp-client-configuration). No global install.\n\n### Option B — run locally with npx\n\nNothing to install permanently — `npx` runs the package on demand. The package name is `ai-diagram-maker-mcp`; append `@latest` if you want every invocation to resolve the newest release (recommended for one-off runs and `claude mcp add`).\n\n```bash\nADM_API_KEY=your_api_key npx ai-diagram-maker-mcp@latest\n```\n\n## MCP client configuration\n\n### Cursor\n\n#### Remote (recommended)\n\nAdd to `~/.cursor/mcp.json` or **Settings → MCP** using the [remote server JSON example](#remote-server-json-example). No environment variables are required for this setup.\n\n#### Local (stdio)\n\n```json\n{\n  \"mcpServers\": {\n    \"ai-diagram-maker\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"ai-diagram-maker-mcp@latest\"],\n      \"env\": {\n        \"ADM_API_KEY\": \"your_api_key_here\"\n      }\n    }\n  }\n}\n```\n\nOptional: add `\"ADM_DEBUG\": \"1\"` to `env` for debug logging — see [Environment variables](#environment-variables).\n\n### Claude Desktop\n\nAdd to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\\Claude\\claude_desktop_config.json` (Windows):\n\n```json\n{\n  \"mcpServers\": {\n    \"ai-diagram-maker\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"ai-diagram-maker-mcp@latest\"],\n      \"env\": {\n        \"ADM_API_KEY\": \"your_api_key_here\"\n      }\n    }\n  }\n}\n```\n\n### Claude Code\n\n#### macOS\n\n```bash\nclaude mcp add ai-diagram-maker -t stdio -e ADM_API_KEY=<api_key> -- npx -y ai-diagram-maker-mcp@latest\n```\n\n#### Windows\n\n```bash\nclaude mcp add ai-diagram-maker \\\n  --command \"npx\" \\\n  --args \"-y,ai-diagram-maker-mcp@latest\" \\\n  --env ADM_API_KEY=your_api_key_here\n```\n\n### HTTP transport (local or self-hosted)\n\nTo run an HTTP server yourself (same header-based auth as [Authentication (HTTP)](#authentication-http)):\n\n```bash\nnpx ai-diagram-maker-mcp@latest --transport http\n```\n\nThe server listens on `$PORT` or **3001**. Point clients at `/mcp` and send the API key with each request using the headers above.\n\n## Environment variables\n\n| Variable | Required | Default | Description |\n|---|---|---|---|\n| `ADM_API_KEY` | Yes (stdio only) | — | Your AI Diagram Maker API key (stdio transport only; remote HTTP clients use headers — see [Authentication (HTTP)](#authentication-http)) |\n| `ADM_BASE_URL` | No | `https://app.aidiagrammaker.com` | Override for local/staging API; also used as the base for diagram URLs in tool responses |\n| `ADM_DEBUG` | No | — | Set to `1`, `true`, or `yes` to log request parameters from the AI agent and the payload sent to the AI Diagram Maker API. Logs go to **stderr**. In **Cursor**, open **Output**, choose the **MCP** or **ai-diagram-maker** channel to read the server logs. |\n\n## Tools\n\n### `generate_diagram_from_text`\n\nGenerate a diagram from a natural language description.\n\n| Parameter | Type | Required | Description |\n|---|---|---|---|\n| `content` | string | Yes | Natural language description of the diagram |\n| `diagramType` | enum | No | flowchart, sequence, erd, system_architecture, uml |\n| `prompt` | string | No | Additional styling/layout instruction |\n\n**Example prompts:**\n- *\"Create a microservices architecture with API gateway, auth service, user service, and PostgreSQL database\"*\n- *\"Draw a sequence diagram for user login flow with JWT token generation\"*\n- *\"adm show the CI/CD pipeline for a Next.js app deployed to Vercel\"*\n\n---\n\n### `generate_diagram_from_json`\n\nConvert a JSON structure into a diagram (great for API responses, database schemas, config files).\n\n| Parameter | Type | Required | Description |\n|---|---|---|---|\n| `content` | string | Yes | JSON string to visualise |\n| `prompt` | string | No | How to interpret the JSON |\n| `diagramType` | enum | No | Preferred diagram type |\n\n---\n\n### `generate_diagram_from_ascii`\n\nConvert ASCII art into a polished diagram.\n\n| Parameter | Type | Required | Description |\n|---|---|---|---|\n| `content` | string | Yes | Raw ASCII art diagram |\n| `prompt` | string | No | Rendering instructions |\n| `diagramType` | enum | No | Preferred diagram type |\n\n---\n\n### `generate_diagram_from_image`\n\nConvert a whiteboard photo, screenshot, or any image into a clean diagram.\n\n| Parameter | Type | Required | Description |\n|---|---|---|---|\n| `content` | string | Yes | Public image URL or base64 data URI |\n| `prompt` | string | No | What to extract or how to render |\n| `diagramType` | enum | No | Preferred output diagram type |\n\n---\n\n### `generate_diagram_from_mermaid`\n\nConvert a Mermaid diagram definition to D2 and return a PNG image.\n\n| Parameter | Type | Required | Description |\n|---|---|---|---|\n| `content` | string | Yes | Mermaid diagram source (e.g. flowchart, sequenceDiagram, erDiagram) |\n| `prompt` | string | No | Optional layout or styling instruction |\n| `diagramType` | enum | No | Preferred diagram type for the converted output |\n\n## Trigger keywords\n\nThe AI agent will automatically select the right tool when you use phrases like:\n\n- `adm ...`\n- `ai diagram maker ...`\n- `create a diagram of ...`\n- `show me a flowchart / sequence diagram / ERD / architecture ...`\n- `visualise / draw / diagram ...`\n\n## Local developer setup\n\nUse these steps to clone the repo, build locally, and run the MCP server with Node.\n\n### 1. Clone the repository\n\n```bash\ngit clone https://github.com/erajasekar/ai-diagram-maker-mcp.git\ncd ai-diagram-maker-mcp\n```\n\n### 2. Install dependencies\n\n```bash\nnpm install\n```\n\n### 3. (Optional) Regenerate API client\n\nIf you change the AI Diagram Maker OpenAPI spec or config, regenerate the client:\n\n```bash\nnpm run generate\n```\n\n### 4. Build\n\n```bash\nnpm run build\n```\n\nThis compiles TypeScript and builds the MCP app UI into `dist/`. The server entrypoint is `dist/index.js`.\n\n### 5. Run the local MCP server\n\n**stdio (default)** — for use with Cursor, Claude Desktop, etc.:\n\n```bash\nADM_API_KEY=your_api_key node dist/index.js\n```\n\nOr use the npm script:\n\n```bash\nADM_API_KEY=your_api_key npm start\n```\n\n**HTTP transport** — for remote clients or testing (same headers as [Authentication (HTTP)](#authentication-http)):\n\n```bash\nADM_API_KEY=your_api_key node dist/index.js --transport http\n```\n\nOr:\n\n```bash\nADM_API_KEY=your_api_key npm run start:http\n```\n\nThe HTTP server listens on `$PORT` (default **3001**).\n\n### 6. Use the local server in Cursor\n\nPoint Cursor at your built server via **Settings → MCP** (or `~/.cursor/mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"ai-diagram-maker\": {\n      \"command\": \"node\",\n      \"args\": [\"/absolute/path/to/ai-diagram-maker-mcp/dist/index.js\"],\n      \"env\": {\n        \"ADM_API_KEY\": \"your_api_key_here\"\n      }\n    }\n  }\n}\n```\n\nReplace `/absolute/path/to/ai-diagram-maker-mcp` with the actual path to your cloned repo. After changing the config, restart Cursor or reload the MCP servers.\n\nFor debug logging, add `\"ADM_DEBUG\": \"1\"` to `env` — see [Environment variables](#environment-variables).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}