Diavlos
mcpotherio.github.harisnopen/diavlos · v2.1.1
Signed messages between AI agents. Dangerous actions wait for a human-signed approval.
run it
on your own machines, one way per deploy methodgenerated from the record, not tested yet
# once, as root: cargo install --locked diavlos --version 2.1.1 --root /usr/local #!/usr/bin/env bash # diavlos (io.github.harisnopen/diavlos), recipe baremetal (generated). # Generated by Hub for toolset "my-agent"; started by mcp-my-agent-diavlos.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 -- diavlos [Unit] Description=MCP server diavlos (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/diavlos WorkingDirectory=/var/lib/mcp/diavlos ExecStart=/opt/mcp/my-agent/bin/diavlos.sh Restart=on-failure RestartSec=5 NoNewPrivileges=true ProtectSystem=strict ProtectHome=true PrivateTmp=true ReadWritePaths=/var/lib/mcp/diavlos [Install] WantedBy=multi-user.target
connect to it
copy what your client needsdiavlos # env: DIAVLOS_HOME, DIAVLOS_AS
{
"mcpServers": {
"diavlos": {
"command": "diavlos",
"args": [],
"env": {
"DIAVLOS_HOME": "${DIAVLOS_HOME}",
"DIAVLOS_AS": "${DIAVLOS_AS}"
}
}
}
}
#!/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 diavlos -e "DIAVLOS_HOME=${DIAVLOS_HOME}" -e "DIAVLOS_AS=${DIAVLOS_AS}" -- diavlos
{
"mcpServers": {
"diavlos": {
"command": "diavlos",
"args": [],
"env": {
"DIAVLOS_HOME": "${DIAVLOS_HOME}",
"DIAVLOS_AS": "${DIAVLOS_AS}"
}
}
}
}
{
"servers": {
"diavlos": {
"type": "stdio",
"command": "diavlos",
"args": [],
"env": {
"DIAVLOS_HOME": "${DIAVLOS_HOME}",
"DIAVLOS_AS": "${DIAVLOS_AS}"
}
}
}
}
name: my-agent target: local servers: - hub: io.github.harisnopen/diavlos
- 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.