LogCarver
mcpotherio.github.caiderek/logcarver-mcp · v0.1.3
Read-only MCP server that finds deleted SQL Server rows from the transaction log (fn_dblog).
run it
on your own machines, one way per deploy methodgenerated from the record, not tested yet
#!/usr/bin/env bash # logcarver (io.github.caiderek/logcarver-mcp), recipe baremetal (generated). # Generated by Hub for toolset "my-agent"; started by mcp-my-agent-logcarver.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 logcarver (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/logcarver WorkingDirectory=/var/lib/mcp/logcarver ExecStart=/opt/mcp/my-agent/bin/logcarver.sh Restart=on-failure RestartSec=5 NoNewPrivileges=true ProtectSystem=strict ProtectHome=true PrivateTmp=true ReadWritePaths=/var/lib/mcp/logcarver [Install] WantedBy=multi-user.target
connect to it
copy what your client needsdnx [email protected] --yes # env: LOGCARVER_MCP_CONNECTION_STRING, LOGCARVER_MCP_ALLOWED_DATABASES
{
"mcpServers": {
"logcarver": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"LOGCARVER_MCP_CONNECTION_STRING": "${LOGCARVER_MCP_CONNECTION_STRING}",
"LOGCARVER_MCP_ALLOWED_DATABASES": "${LOGCARVER_MCP_ALLOWED_DATABASES}"
}
}
}
}
#!/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 logcarver -e "LOGCARVER_MCP_CONNECTION_STRING=${LOGCARVER_MCP_CONNECTION_STRING}" -e "LOGCARVER_MCP_ALLOWED_DATABASES=${LOGCARVER_MCP_ALLOWED_DATABASES}" -- dnx [email protected] --yes
{
"mcpServers": {
"logcarver": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"LOGCARVER_MCP_CONNECTION_STRING": "${LOGCARVER_MCP_CONNECTION_STRING}",
"LOGCARVER_MCP_ALLOWED_DATABASES": "${LOGCARVER_MCP_ALLOWED_DATABASES}"
}
}
}
}
{
"servers": {
"logcarver": {
"type": "stdio",
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"LOGCARVER_MCP_CONNECTION_STRING": "${LOGCARVER_MCP_CONNECTION_STRING}",
"LOGCARVER_MCP_ALLOWED_DATABASES": "${LOGCARVER_MCP_ALLOWED_DATABASES}"
}
}
}
}
name: my-agent target: local servers: - hub: io.github.caiderek/logcarver-mcp
- 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.