Cehpoint

Free preview lesson ยท 25 min

The skill and its local MCP connection

From the course For developers: secure by default with Cehpoint on your machine.

The skill and its local MCP connection

In this lesson you will install the Cehpoint skill, see how it plugs into your AI coding assistant as a local MCP server, and learn what it asks you to confirm, what leaves your computer and how to run it offline.

What the skill is

The skill is a small Node.js package. It runs inside your AI coding assistant as a local MCP server (over stdio), and also as a terminal command, cehpoint-soc, with the same functions. With it you can:

  • check a project you choose for vulnerable libraries and for files that look like leaked secrets;
  • apply the fixes you approve, one by one;
  • write a private HTML report;
  • work with your SOC account: devices, alerts, offered actions and address blocks;
  • install the device agent on the computer it runs on, with your consent.

You need Node.js 20 or newer, and an assistant that can run a local MCP server. The terminal command works without an assistant.

Install it

The owner or an admin of your Cehpoint account downloads the package from the console: Connect a device, then From your AI coding assistant.

Connect a device, From your AI coding assistant: step 2 Install it (marker 1) and step 3 the prompt Check this project for security problems with Cehpoint (marker 2)
The skill steps in the console
  1. Unzip the package.
  2. Run install.cmd on Windows, or bash install.sh on macOS and Linux. The installer finds your assistants and registers the Cehpoint tools.
  3. Restart your assistant.
  4. Ask: "Check this project for security problems with Cehpoint."

The installer sets up two widely used terminal coding agents automatically when it finds them. For any other assistant it writes a ready configuration file, config/client-mcp.json, for you to add to that assistant's MCP settings. Cehpoint has tested one of those terminal agents and the terminal command; other assistants have not been verified.

The local MCP server: cehpoint-local-soc

In your assistant's MCP settings the skill appears as a server named cehpoint-local-soc. It runs on your computer, started by the assistant, not on the internet. It talks to only one address: https://soc.cehpoint.co.uk.

This is different from the hosted Cehpoint MCP server at https://soc.cehpoint.co.uk/mcp, which you reach with an API key. The skill uses its own device-bound token instead: it exchanges the one-time grant it ships with for a token that only works from that device.

What it asks you to confirm

The skill asks you first before it:

  • chooses a project folder to read;
  • applies a fix;
  • runs an alert action;
  • blocks or unblocks an address.

No argument, setting, environment variable or piped input can replace your confirmation. If your assistant cannot show a confirmation form, the skill refuses and gives you the equivalent terminal command, which asks you to type yes. The model can propose; only a person can approve.

What leaves your computer

Only these: package names and versions, relative lock-file paths, the project folder name, a hash of its path, the skill version and the operating-system name. Never source code, file contents, secrets or environment files. The secret-file check runs locally and reports only paths and counts.

Offline mode and updates

  • Set CEHPOINT_SOC_OFFLINE=1 to check against a built-in list instead of the online lookup. The results say so, and a built-in list is less complete than the live databases, so use it when you must, not by default.
  • The skill updates itself at most once a day. Each file is checked against its SHA-256, and your configuration and credentials are never replaced. Set CEHPOINT_SOC_AUTO_UPDATE=0 to turn this off.
  • The package works while your account's access is active. If it stops working, download a fresh package.

Remove it

  1. Delete the folder you unzipped it into.
  2. Remove the cehpoint-local-soc entry from your assistant's MCP settings.
  3. Delete its data folder: %LOCALAPPDATA%\Cehpoint\soc-skill on Windows, ~/Library/Application Support/Cehpoint/soc-skill on macOS, ~/.local/share/cehpoint/soc-skill on Linux.

Hands-on lab

Environment: Your own computer, with a package your account owner or admin downloaded (or follow along on paper)

  1. Install the skill as above and restart your assistant.
  2. Open your assistant's MCP settings and find the cehpoint-local-soc entry. Note the command it starts.
  3. Open a small project and ask: "Check this project for security problems with Cehpoint."
  4. When asked to confirm the project folder, read the path before you accept.
  5. Write down which kinds of information the skill says it sent.
  6. Ask it to fix one finding, and decline the confirmation. Check that nothing changed in the file.

Summary

  • The skill is a local MCP server named cehpoint-local-soc plus the cehpoint-soc command.
  • Install: download from Connect a device, unzip, run the installer, restart the assistant.
  • It asks a person before choosing a folder, fixing, acting or blocking; nothing can stand in for that.
  • Only package names, versions and a few labels leave; never code or secrets.
  • CEHPOINT_SOC_OFFLINE=1 uses a built-in list; updates are checked by SHA-256.

Sources