matplotlibnet
mcpotherio.github.xkqg/matplotlibnet · v1.18.1
Renders MatPlotLibNet charts to PNG, SVG or PDF from a JSON spec an AI agent writes.
run it
on your own machines, one way per deploy methodgenerated from the record, not tested yet
#!/usr/bin/env bash # matplotlibnet (io.github.xkqg/matplotlibnet), recipe baremetal (generated). # Generated by Hub for toolset "my-agent"; started by mcp-my-agent-matplotlibnet.service. set -euo pipefail export HOST=127.0.0.1 PORT=8101 exec uvx mcp-proxy --host 127.0.0.1 --port 8101 --pass-environment -- dnx [email protected] --yes [Unit] Description=MCP server matplotlibnet (toolset my-agent), generated by Hub After=network-online.target Wants=network-online.target [Service] Type=simple User=mcp Group=mcp EnvironmentFile=/etc/mcp/my-agent.env Environment=HOME=/var/lib/mcp/matplotlibnet WorkingDirectory=/var/lib/mcp/matplotlibnet ExecStart=/opt/mcp/my-agent/bin/matplotlibnet.sh Restart=on-failure RestartSec=5 NoNewPrivileges=true ProtectSystem=strict ProtectHome=true PrivateTmp=true ReadWritePaths=/var/lib/mcp/matplotlibnet [Install] WantedBy=multi-user.target
connect to it
copy what your client needsdnx [email protected] --yes # env: MATPLOTLIBNET_MCP_OUTPUT_ROOT, MATPLOTLIBNET_FONTS
{
"mcpServers": {
"matplotlibnet": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"MATPLOTLIBNET_MCP_OUTPUT_ROOT": "${MATPLOTLIBNET_MCP_OUTPUT_ROOT}",
"MATPLOTLIBNET_FONTS": "${MATPLOTLIBNET_FONTS}"
}
}
}
}
#!/usr/bin/env bash
# Registers every server with Claude Code (run once; `claude mcp list` to check).
set -euo pipefail
set -a; [ -f .env ] && source .env; set +a
claude mcp add matplotlibnet -e "MATPLOTLIBNET_MCP_OUTPUT_ROOT=${MATPLOTLIBNET_MCP_OUTPUT_ROOT}" -e "MATPLOTLIBNET_FONTS=${MATPLOTLIBNET_FONTS}" -- dnx [email protected] --yes
{
"mcpServers": {
"matplotlibnet": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"MATPLOTLIBNET_MCP_OUTPUT_ROOT": "${MATPLOTLIBNET_MCP_OUTPUT_ROOT}",
"MATPLOTLIBNET_FONTS": "${MATPLOTLIBNET_FONTS}"
}
}
}
}
{
"servers": {
"matplotlibnet": {
"type": "stdio",
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"MATPLOTLIBNET_MCP_OUTPUT_ROOT": "${MATPLOTLIBNET_MCP_OUTPUT_ROOT}",
"MATPLOTLIBNET_FONTS": "${MATPLOTLIBNET_FONTS}"
}
}
}
}
name: my-agent target: local servers: - hub: io.github.xkqg/matplotlibnet
- not probed yet: tools unpinned, ingest lists them
tools
Not probed yetThe tools appear once the hub or its worker has listed this entry. Running it still works: your client lists them on first start.