Skip to content

Step 1 of 7: Install

Install OPP Engine with the extras for serving over HTTP and MCP. The engine also installs the opp package, which gives you the opp validate command.

python3 -m venv .venv && source .venv/bin/activate
pip install "open-privacy-protocol-engine[server,mcp]"

PostgreSQL, MySQL, MariaDB, SQLite, files, PDF and Word documents work with that install. Two sources need an extra:

Source Extra
MongoDB [mongodb]
Parquet files [parquet]

For example pip install "open-privacy-protocol-engine[server,mcp,mongodb]". Other databases (SQL Server, Oracle, Snowflake, BigQuery and more) need their own driver; see Data sources.

Check that it worked

opp-engine --version
opp validate --help

opp-engine --version prints the engine version and the OPP specification it implements. The commands in this guide need version 0.2.0a3 or later.

Next: 2. Connect your data →