Server Configuration

Configuration for gdata_mcp_server.py (the combined REST + MCP server).

Command-Line Arguments

python3 gdata_mcp_server.py \
  --db /path/to/.agent_notes.gdbm   # GDBM database path
  --rest-port 8020                   # REST API port
  --mcp-port 8023                    # MCP port

Environment Variables

GDBM_PATH — alternative to --db for the legacy gdata_server.py entry point.

PYTHONUSERBASE — set to /home/john/.local in the systemd unit.

OAuth credentials loaded from /etc/gdata_oauth.env via systemd EnvironmentFile.

Systemd Unit (gravlax)

Service: gdata-mcp-server.service. See gdata-server/mcp-server for the full unit and deployment process.

See Also

gdata-server/server — parent note.

version 1  ·  created 2026-05-29