POST /v1/evaluate with a shared org API key. Developers
do not need NeuralTrust accounts.
What IT deploys vs what developers install
You do not need to package or push the plugin binary tree via MDM. MDM only needs
the managed config file. The plugin’s bootstrap downloads the platform
trustguard-cursor binary from GitHub Releases on first use (checksum-pinned).
Console setup
- Create a Cursor collector (Catalog → IDE & coding agents).
- Mint a
tgk_…API key on the Auth tab (shown once — store it). - Assign a default policy on the Policies tab.
Install the plugin (from GitHub)
The plugin is published as a public GitHub repo. In Cursor, add it the same way you import any GitHub-hosted plugin (Plugins / marketplace → import or add from GitHub): Repository: https://github.com/NeuralTrust/trustguard-cursor-plugin Exact UI labels vary by Cursor version; look for add/import plugin from GitHub or from a git URL and paste that repo.Local clone (optional)
If you prefer a local checkout (e.g. offline pilots):make install-local copies into ~/.cursor/plugins/local/trustguard (Cursor rejects
out-of-tree symlinks).
Managed config (MDM — config only)
Deploy only this file with MDM. Do not distribute the plugin package via MDM unless you have a separate reason to pin a private fork.Managed mode
When the managed file includesapi_key:
- Locked:
api_key,data_url,fail_mode— user file and env cannot replace them. - Soft prefs may still live in
~/.trustguard/cursor.json:timeout_ms,transform_action,events,consumer_id.
Local config only (no MDM)
For pilots without MDM, write~/.trustguard/cursor.json (chmod 600) with the same
JSON shape.
Verify
- Open Cursor and send a test prompt.
- Confirm the event in TrustGuard Activity.
consumer_idis typicallycursor:<email>when the Cursor account email is present.
What is evaluated
Attributes
attributes.collector.type = "ide"attributes.cursor.event, workspace, and related fieldsconsumer_idtypicallycursor:<email>
collector.type and/or cursor.* as needed.