portview
mcpotherio.github.Mapika/portview · v2.1.0
See what's on your ports, the processes behind them, and diagnose conflicts and leaks.
run it
on your own machines, one way per deploy methodgenerated from the record, not tested yet
# once, as root: cargo install --locked portview --version 2.1.0 --root /usr/local #!/usr/bin/env bash # portview (io.github.Mapika/portview), recipe baremetal (generated). # Generated by Hub for toolset "my-agent"; started by mcp-my-agent-portview.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 -- portview [Unit] Description=MCP server portview (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/portview WorkingDirectory=/var/lib/mcp/portview ExecStart=/opt/mcp/my-agent/bin/portview.sh Restart=on-failure RestartSec=5 NoNewPrivileges=true ProtectSystem=strict ProtectHome=true PrivateTmp=true ReadWritePaths=/var/lib/mcp/portview [Install] WantedBy=multi-user.target
connect to it
copy what your client needsportview
{
"mcpServers": {
"portview": {
"command": "portview",
"args": []
}
}
}
#!/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 portview -- portview
{
"mcpServers": {
"portview": {
"command": "portview",
"args": []
}
}
}
{
"servers": {
"portview": {
"type": "stdio",
"command": "portview",
"args": []
}
}
}
name: my-agent target: local servers: - hub: io.github.Mapika/portview
- 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.