Skip to content

First check with DSNLint Connect

DSNLint Connect links your files to API v1: a command line in French and an MCP server for your assistant. It calculates nothing: it sends your files and writes the document it receives, byte for byte. This section takes you to the first check; the DSNLint Connect page lists every command.

From the terminal to the first report

  1. Check Node.js 24 — It is the only prerequisite: Connect needs no other library.
  2. Get Connect — Download it in the application, Developers › Connect, whatever your plan. The application also shows its commands and the configuration for your assistant.
  3. Provide the address and the key — The address in DSNLINT_API_URL, the key in DSNLINT_API_KEY, or in a private file named with --cle-fichier. Connect never accepts a key as an argument.
  4. Run a check — dsnlint-connect controler fichier.dsn writes the reports to the current folder, or to the one given by --sortie. Add --format to choose a format.

Depending on your system

  • System
    macOS
    The key
    Private file or environment.
    The documents
    Written after checking access rights.
  • System
    Linux
    The key
    Private file or environment.
    The documents
    Written with private permissions.
  • System
    Windows
    The key
    Environment only.
    The documents
    No document written: on Windows, Connect only serves as the MCP server (JSON answers) and for batch follow-up. To receive a PDF, Excel or CSV report, call the API directly.

Utility commands

  • Command
    dsnlint-connect formats
    What it displays
    The 8 simple-check formats: text, json, csv, jsonl, pdf, xlsx, xml and powerbi.
  • Command
    dsnlint-connect version
    What it displays
    The name and version of DSNLint Connect.
  • Command
    dsnlint-connect aide
    What it displays
    General help: commands, configuration and exit codes. With no command, Connect also displays this help.

These three commands run locally: no key, DSN file or API call is needed.

Flags by command

In this table, “functions with files” means controler-avec-pieces, retours, substitution, paie, egalite, social, compta, prelevements, extraire, decouper, pseudonymiser, regulariser and comparer. Batch submissions remain limited to the functions allowed in the “Send in batches” section.

  • Flag
    --format
    Commands that accept it
    controler; functions with files that have a format option; lot creer, lot deposer, lot rapport; lots-fonctions deposer.
    Value, repetition and default
    Repeatable on controler, default text. One format per function or batch submission; default json for lot. lot rapport must use the submission’s format. extraire, decouper and pseudonymiser have no format option.
  • Flag
    --sortie
    Commands that accept it
    controler; direct calls to functions with files; lot rapport; lots-fonctions resultat.
    Value, repetition and default
    Destination directory, current directory by default. Rejected on lots-fonctions deposer: the document is retrieved later.
  • Flag
    --option
    Commands that accept it
    controler; functions with files except pseudonymiser; lot creer, lot deposer; lots-fonctions deposer.
    Value, repetition and default
    name=value, repeatable for different names, according to the function’s options. Booleans: true or false. For comparer, masquer_comptes=false must be supplied through --options-fichier, or omitted. Without this flag, the function’s defaults apply.
  • Flag
    --cle-fichier
    Commands that accept it
    Commands that call the API, and mcp.
    Value, repetition and default
    Path to a private API-key file, never the key itself. Without this flag, DSNLINT_API_KEY is used. See the operating-system restrictions above.
  • Flag
    --verbeux
    Commands that accept it
    controler; functions with files; lot creer, lot deposer; lots-fonctions deposer.
    Value, repetition and default
    Boolean flag with no value, disabled by default. Recalls the format, year and UUID before submission, with the function or index where present. Never the key or DSN.
  • Flag
    --idempotence
    Commands that accept it
    controler; functions with files; lot deposer; lots-fonctions deposer.
    Value, repetition and default
    Version 4 UUID. Repeatable as format=UUID for controler; one UUID without a prefix for other submissions. Without the flag, a new UUID is created per submission.
  • Flag
    --webhook
    Commands that accept it
    lot creer; lots-fonctions creer.
    Value, repetition and default
    Preregistered identifier of 1 to 128 ASCII letters, digits, hyphens or underscores; no URL. Without the flag, DSNLINT_WEBHOOK is used. Required for lot creer; optional and empty without configuration for lots-fonctions creer.
  • Flag
    --retention
    Commands that accept it
    lot creer.
    Value, repetition and default
    Integer from 1 to 300 seconds, default 300. Sets retention_seconds: the report retrieval window after closure and completion of processing.
  • Flag
    --aide
    Commands that accept it
    On its own, or after one command name, with no other flag.
    Value, repetition and default
    Boolean flag with no value, disabled by default. Displays general help, like aide; no file or further argument.
  • Flag
    --piece
    Commands that accept it
    Functions with files; lots-fonctions deposer.
    Value, repetition and default
    role=path, repeatable. Adds a file under one of the function’s roles; no file is added through this flag when it is absent.
  • Flag
    --pieces-fichier
    Commands that accept it
    Functions with files; lots-fonctions deposer.
    Value, repetition and default
    Path to an ordered JSON list of files: role, chemin and, where needed, nom, contenant and taille_decompressee. Without the flag, no additional list.
  • Flag
    --options-fichier
    Commands that accept it
    Functions with files; lots-fonctions deposer.
    Value, repetition and default
    Path to a JSON options object, empty by default. salaries and parametres must use this file; --option accepts neither the list nor the object. A name cannot be provided twice.
  • Flag
    --cle-pseudonymisation-fichier
    Commands that accept it
    extraire, pseudonymiser and mcp.
    Value, repetition and default
    Path to a strictly private file, never a key value in an argument. Without the flag, the pseudonymisation-key variables apply; without a private key, each new pseudonymisation draws fresh randomness; replaying a completed request with the same idempotency key returns 204 without a new draw.
  • Flag
    --ttl-seconds
    Commands that accept it
    lots-fonctions creer.
    Value, repetition and default
    Integer from 1 to 300 seconds, default 300. Sets ttl_seconds: the result retrieval window after closure and completion of processing. Does not configure lot creer.

Connect your assistant

Run dsnlint-connect mcp as a stdio server in your assistant, with the address and the key in its environment. The assistant receives one tool per function and per batch action. It is yours: DSNLint provides none, and no AI takes part in checking your DSN files. Connect opens the paths you designate with your user’s rights: keep them to what is needed.

Connect requires HTTPS (HTTP is allowed only to the machine’s loopback address, for tests), follows no redirect and never retries a submission. Before writing a document or answering your assistant, it searches it for your keys of at least 16 bytes, so as never to write a key to disk nor pass it to the assistant.

See every command and MCP tool

Alerts: Slack, Teams and webhook
Previous section
Build DSN checks into payroll software
Next section