Training / Codex connection

Let Codex read your saved workspace data.

The local Seven16 MCP server uses a browser-approved CLI login. Codex can list saved imports, analyze a first-row sample, and query exact text in your workspace. These reads do not call a vendor or spend credits.

01 / Install

Install the versioned CLI archive with Node 24 or newer.

02 / Approve

Use a browser code to approve one workspace and read-only scopes.

03 / Connect

Register the local CLI as a Codex MCP server.

04 / Check

List saved imports and inspect a bounded result.

01 / Install

Install the CLI.

Use a terminal on the computer running Codex. Install Node 24 or newer, then the versioned archive. The archive is served by Seven16 Command; this is not an npm registry release.

node --version
npm install -g https://seven16command.com/downloads/716-cli-0.15.2.tgz
716 --help

The SHA-256 receipt identifies the exact archive. Keep the download if you need to repeat this setup.

02 / Approve

Choose one workspace.

Replace YOUR-WORKSPACE with the slug after /home/ in your workspace URL. The command prints a short device code and an approval link. Open that link while signed in, check the workspace and scopes, and approve only a code you started.

716 login --workspace YOUR-WORKSPACE --read-only

Read-only login asks for workspace.read and wallet.read. The CLI saves a protected credential for the current OS user; do not paste a token into Codex or this page.

03 / Connect

Register the local MCP server.

Run this in the same user account where the CLI login was approved. It registers the installed 716 mcp command with Codex. Then check the saved entry.

codex mcp add seven16-local -- 716 mcp
codex mcp get seven16-local

If Codex was already open when you installed the CLI, restart it so the new executable is on its path. The local connection offers read-only warehouse and wallet tools plus four synthetic sample-tool demonstrations.

04 / Check

Inspect a saved import.

In Codex, list the seven16-local tools and call warehouse_datasets_list. If your workspace has no imports, first use the three-row practice import. Copy its dataset ID to warehouse_dataset_analyze with dimension campaign, or use warehouse_query with column campaign and equals Sample A.

What each tool returns
ListUp to 50 saved datasets
AnalyzeFirst 100 rows at most, with coverage labels
QueryOne page of up to 100 exact-text matches

The CLI also reads existing project job history. Run 716 projects --json to find a project ID, then 716 jobs ls --project UUID --json. It shows registered definitions and recent runs; it does not start a job.

For support, run 716 ticket ls, then 716 ticket show UUID to read a private thread in the same workspace. These are terminal commands, not Codex MCP tools. They do not create a ticket or send email.

Access and limits

Keep the result tied to its source.

Each read rechecks the saved credential against the live workspace. An expired, revoked, or wrong-workspace login is denied. A chart is a sample when its coverage says so. The local MCP connection cannot import rows, run SQL, sync a vendor, send email, or charge credits. Use 716 logout to revoke the saved login, and codex mcp remove seven16-local to remove the Codex entry.