MCP, MCP server
d2mcp
A Model Context Protocol (MCP) server that provides D2 diagram generation and manipulation capabilities.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 250b193b640c, unchanged since the check below.
PERMISSION_SHELL_DECLARED
Why this grade
- PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
internal/infrastructure/d2/repository.go, line 145
cmd := exec.Command("rsvg-convert", "-f", "png", "-o", outFile.Name(), svgFile.Name())
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
internal/infrastructure/d2/repository.go, line 145
cmd := exec.Command("rsvg-convert", "-f", "png", "-o", outFile.Name(), svgFile.Name())
internal/infrastructure/d2/repository.go, line 149
cmd = exec.Command("convert", svgFile.Name(), outFile.Name())
internal/infrastructure/d2/repository.go, line 196
cmd := exec.Command("rsvg-convert", "-f", "pdf", "-o", outFile.Name(), svgFile.Name())
Show more
internal/infrastructure/d2/repository.go, line 200
cmd = exec.Command("convert", svgFile.Name(), outFile.Name())
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Pass
No network call found.
Secrets
Pass
No read of a credential file or secret environment variable found.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Note
the latest commit is more than 365 days old.
MAINTAINER_STALE
No file path was stored.
2025-07-02T23:08:17+09:00
Note
Hygiene check of commit 250b193b640c. requests shell access. The manifest names this permission. the latest commit is more than 365 days old.
Date and source
Date checked:
github.com
Commit graded: 250b193b640ccf5c0f8ab5d0b67de3b63c6cc3be
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.