Search / io.github.RecursiveFunctions/d2mcp
D2 MCP Server
L0· runs locallyCreate, edit, validate, render, and export D2 diagrams with confined workspace access.
v0.5.0 · active · repository · descriptor JSON · versions
Search / io.github.RecursiveFunctions/d2mcp
L0· runs locallyCreate, edit, validate, render, and export D2 diagrams with confined workspace access.
v0.5.0 · active · repository · descriptor JSON · versions
{
"mcpServers": {
"d2mcp": {
"command": "docker",
"args": [
"--mount",
"type=bind,src=${workspace_path},dst=/workspace",
"ghcr.io/recursivefunctions/d2mcp:0.5.0"
]
}
}
}claude mcp add d2mcp -- docker --mount "type=bind,src=${workspace_path},dst=/workspace" ghcr.io/recursivefunctions/d2mcp:0.5.0[mcp_servers.d2mcp]
command = "docker"
args = ["--mount", "type=bind,src=${workspace_path},dst=/workspace", "ghcr.io/recursivefunctions/d2mcp:0.5.0"]
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"d2mcp": {
"type": "local",
"command": [
"docker",
"--mount",
"type=bind,src={env:workspace_path},dst=/workspace",
"ghcr.io/recursivefunctions/d2mcp:0.5.0"
],
"enabled": true
}
}
}{
"mcpServers": {
"d2mcp": {
"command": "docker",
"args": [
"--mount",
"type=bind,src=${workspace_path},dst=/workspace",
"ghcr.io/recursivefunctions/d2mcp:0.5.0"
]
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=d2mcp&config=eyJjb21tYW5kIjoiZG9ja2VyIiwiYXJncyI6WyItLW1vdW50IiwidHlwZT1iaW5kLHNyYz0ke3dvcmtzcGFjZV9wYXRofSxkc3Q9L3dvcmtzcGFjZSIsImdoY3IuaW8vcmVjdXJzaXZlZnVuY3Rpb25zL2QybWNwOjAuNS4wIl19"
}{
"servers": {
"d2mcp": {
"type": "stdio",
"command": "docker",
"args": [
"--mount",
"type=bind,src=${workspace_path},dst=/workspace",
"ghcr.io/recursivefunctions/d2mcp:0.5.0"
]
}
}
}{
"mcpServers": {
"d2mcp": {
"command": "docker",
"args": [
"--mount",
"type=bind,src=${workspace_path},dst=/workspace",
"ghcr.io/recursivefunctions/d2mcp:0.5.0"
]
}
}
}extensions:
"d2mcp":
enabled: true
name: "d2mcp"
type: stdio
cmd: "docker"
args:
- "--mount"
- "type=bind,src=${workspace_path},dst=/workspace"
- "ghcr.io/recursivefunctions/d2mcp:0.5.0"
timeout: 300
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknowndeps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI packageNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo ~liveness-unmeasured +updated-22d-ago -unpinned-packages(1)
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
ghcr.io/recursivefunctions/d2mcp:0.5.0 | oci | unpinned | docker |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
{
"name": "io.github.RecursiveFunctions/d2mcp",
"title": "D2 MCP Server",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "0.5.0",
"packages": [
{
"transport": {
"type": "stdio"
},
"identifier": "ghcr.io/recursivefunctions/d2mcp:0.5.0",
"runtimeHint": "docker",
"registryType": "oci",
"runtimeArguments": [
{
"name": "--mount",
"type": "named",
"value": "type=bind,src={workspace_path},dst=/workspace",
"variables": {
"workspace_path": {
"format": "filepath",
"isRequired": true,
"description": "Host workspace directory"
}
},
"isRequired": true,
"description": "Mount a host workspace directory for D2 imports, assets, and exports."
}
]
}
],
"repository": {
"url": "https://github.com/recursivefunctions/d2mcp",
"source": "github"
},
"description": "Create, edit, validate, render, and export D2 diagrams with confined workspace access."
}