PDC — Continuity Point
v1.1.0Continue AI conversations on any device and any AI, with server-verified footers.
Reference server for PDC — Continuity Point (Ponto de Continuidade) 1.0. Data lives in ~/.pdc (variable PDC_DIR): pdc.sqlite3 and conferencia.key, both with mode 600. Back up both. Without the key, old CFs no longer verify. Python identifiers and protocol names (operations, fields, error codes) are canonical and stay in Portuguese, as defined by the specification. The Portuguese spellings from the first release still work: pdc-servidor, --porta, --cadastrar-pa, --idioma, PDC_PASTA and PDC_IDIOMA.
Summary extracted from the README.
pdc-protocol — reference implementation
🌐 English · Português (Brasil)
Reference server for PDC — Continuity Point (Ponto de Continuidade) 1.0.
pdc/nucleo.py: pure-Python core (standard library only, SQLite), with the CF calculation, base-point control and idempotency.pdc/servidor_mcp.py: MCP server with the tools from section 6 of the specification (mcpSDK 1.x or 2.x).pdc/http_seguro.py: access control for HTTP mode (token in a header or in the URL, host checking,/health).pdc/instrucoes.py: protocol instructions given to AIs, in English (default) and Brazilian Portuguese.tests/: tests, including every vector intest-vectors/and the HTTP mode.
pip install -e ".[mcp]"
pdc-server --register-pa NB1 "Laptop"
pdc-server # stdio, for AI clients on this computer
pdc-server --lang pt-BR # instructions for AIs in Brazilian Portuguese
pdc-server --brief 12345678 # last point as plain text, for an AI with no connection
# remote: always behind HTTPS (see deploy/README.md in the repository)
export PDC_TOKEN="$(pdc-server --new-token)"
pdc-server --http --host 127.0.0.1 --port 8765 --allowed-host pdc.example.com
Data lives in ~/.pdc (variable PDC_DIR): pdc.sqlite3 and conferencia.key, both with mode 600. Back up both. Without the key, old CFs no longer verify.
Python identifiers and protocol names (operations, fields, error codes) are canonical and stay in Portuguese, as defined by the specification. The Portuguese spellings from the first release still work: pdc-servidor, --porta, --cadastrar-pa, --idioma, PDC_PASTA and PDC_IDIOMA.
License: MIT.