Guides / Process

Vulnpocalypse in Claude, ChatGPT and Claude Code: the MCP server

beginnerUpdated 27 Nov 20261576 words

An AI assistant that speaks the Model Context Protocol (MCP) can work with Vulnpocalypse from the chat: install the agent on a server, run the checks, and read the findings of each server with the command that fixes them. It works on every plan, Free included. Assistants that sign in (Claude, ChatGPT, Claude Code) take this URL:

https://vulnpocalypse.ch/mcp

Assistants that send a key in a header instead (Cursor, scripts) take https://vulnpocalypse.ch/api/v1/mcp with an API key of scope api.

Sign in

When an assistant signs in, Vulnpocalypse makes a key for it, named after the app, and gives the app tokens that work only on the MCP server. The app does not see the key. The keys page lists it as a connected app, with a button that disconnects it.

Claude (web, desktop and mobile apps)

  1. In Claude, open Customize, then Connectors, select + and Add custom connector.
  2. Enter the name Vulnpocalypse and the URL https://vulnpocalypse.ch/mcp, then Add.
  3. Select Connect. Claude opens Vulnpocalypse: log in, or create a free account, and click Allow.

The calls come from the servers of Anthropic, so the connector works the same in the desktop and mobile apps. In a Team or Enterprise organisation, an owner adds the connector under Organization settings, Connectors; then each member connects it and signs in.

ChatGPT

  1. Open chatgpt.com/plugins, select + and Add custom MCP server.
  2. Enter a name and a description, and under Connection the URL https://vulnpocalypse.ch/mcp.
  3. Choose OAuth as authentication, confirm the warning and select Create as a plugin.
  4. ChatGPT opens Vulnpocalypse. Log in and click Allow.

Your ChatGPT plan or workspace has to allow custom MCP servers. ChatGPT asks before tools that change something, such as install_agent.

Claude Code

claude mcp add --transport http --scope user vulnpocalypse https://vulnpocalypse.ch/mcp

Then type /mcp in Claude Code, select vulnpocalypse and sign in in the browser. --scope user adds the server to every project on the machine; without it, the server is there only in the current directory.

The consent page names the app and the address it returns to. For an app on your own computer, such as Claude Code, it says so: allow only a sign-in you started yourself.

With an API key

Create a key of scope api on the keys page and name it after the assistant and the machine (cursor-laptop), so you can revoke it on its own. A key of scope agent does not work here.

Cursor

In ~/.cursor/mcp.json, with the key in the environment variable VULNPOCALYPSE_API_KEY:

{
  "mcpServers": {
    "vulnpocalypse": {
      "url": "https://vulnpocalypse.ch/api/v1/mcp",
      "headers": { "Authorization": "Bearer ${env:VULNPOCALYPSE_API_KEY}" }
    }
  }
}

Cursor ignores a configured header on a URL that offers sign-in, so it needs /api/v1/mcp.

Claude Code with a key, and other clients

claude mcp add --transport http vulnpocalypse https://vulnpocalypse.ch/api/v1/mcp \
  --header "Authorization: Bearer vp_your_api_key"

For a team, a .mcp.json at the root of the repository can name the key as ${VULNPOCALYPSE_API_KEY}; Claude Code fills it in from the environment, so the file can go into Git:

{
  "mcpServers": {
    "vulnpocalypse": {
      "type": "http",
      "url": "https://vulnpocalypse.ch/api/v1/mcp",
      "headers": { "Authorization": "Bearer ${VULNPOCALYPSE_API_KEY}" }
    }
  }
}

Any client of MCP over Streamable HTTP works with that URL and the header Authorization: Bearer <key> (or X-API-Key: <key>). The server answers in JSON without sessions and speaks protocol version 2026-07-28 and the versions from 2025-03-26 to 2025-11-25. On /api/v1/mcp the tool list loads without a key; each tool call needs one.

The tools

Tool Arguments Answer
install_agent server_name, mode (docker or binary), paths, images the script that installs the agent and sends the first report
run_checks server or domain for a server, the command that runs the agent now; for a domain, the external checks start
get_results none, server or domain; for findings severity, kev, fixable, place, limit, offset the servers of the account, or the fix commands, failing checks and findings of one server, or the check results of a domain

server takes the id or the name that the dashboard shows. The assistant picks the tools; you ask in plain language.

Install the agent

Ask "install Vulnpocalypse on this server and tell me what it finds". The assistant calls install_agent with the host name and gets a script like this one (sum and key shortened):

cd "$(mktemp -d)" && \
curl -fsSLo install.sh https://vulnpocalypse.ch/install.sh && \
echo '3f9c…  install.sh' | sha256sum -c - && \
printf '%s\n' 'vp_…' | sudo sh install.sh --key - --name 'web-1' --yes
  • sha256sum -c stops the script when the file that arrived is not the install.sh the answer was made for, for example after a cut download.
  • The key goes to install.sh on standard input, so it is not on a command line, where ps shows it and sudo logs it.
  • --yes sends the first report at the end of the install without asking.

Claude and ChatGPT do not have a shell on your server: they show the script, and you run it there. install.sh prints every file it writes and every command it runs. Read it at /install.sh before you approve the script, and see what the agent collects. To install without the script, follow the install by hand. sudo has to run without a password prompt here, because the assistant does not have a terminal to type it into; run the last line yourself otherwise.

The key in the script is an agent key named MCP. It sends reports and cannot read findings. The tool makes it at the first call and puts the same key into every later install. Revoking it on the keys page stops the reports of every server installed with it. The next install_agent makes a new key, and running the new script on those servers swaps the key in /etc/vulnpocalypse/agent.conf. The server keeps its id, its history and its place on the dashboard.

On the Free plan the account has one server. For a second one, install_agent answers with a warning and the upload of that server is refused until the plan has room.

Run the checks

The agent runs once a day at night, at a time between 01:00 and 06:00 in the time zone of the server that install.sh picks. To get a report now, ask the assistant to run the checks: run_checks answers with

sudo /usr/local/lib/vulnpocalypse/run.sh send

and the time of the last report. After the upload the service matches the packages, which takes up to a minute; get_results says pending until then. sudo /usr/local/lib/vulnpocalypse/run.sh checks prints the local checks (SSH, updates, firewall, Docker, accounts) without sending anything.

For a domain, run_checks starts the TLS, HTTP and DNS checks on our side, at most once in 10 minutes. The domain has to be added on the domains page and verified first. For a domain that is not verified yet, the tool tries the verification and answers with the TXT record to add.

Read the results

Questions that work:

  • "Which of my servers have known exploited vulnerabilities?"
  • "What should I update first on web-1?"
  • "Show the failing checks of web-1 and how to fix each one."
  • "List the critical findings in the nginx image on web-1."

get_results without arguments lists the servers, worst first, with their counts. With a server it gives the fix commands of the critical and high findings that have a fixed version, grouped per place, then the failing checks with a link to the steps, then the findings with known exploited ones first (20 by default, up to 100 with limit, the next ones with offset). A fix in the answer looks like this:

{
  "place": "host",
  "packages": ["apt libapt-pkg6.0 2.6.1 -> 2.6.2"],
  "cves": ["CVE-2026-109518"],
  "command": "sudo apt-get update && sudo apt-get install --only-upgrade apt libapt-pkg6.0"
}

reboot: true marks a fix that needs a restart, such as a new kernel. The guide on which findings to fix first explains the order.

What the assistant can do

With a sign-in or a key of scope api the assistant can:

  • read the servers, findings, checks and domains of the account;
  • make the agent key named MCP;
  • start the checks of a verified domain.

It cannot change the plan, delete a server, accept a finding, add a domain or change alerts. The MCP server does not reach your servers: install, run and fix commands run only in the shell of the assistant. Approve each one. Claude Code asks before it runs a shell command, unless its permission settings allow that command.

Package names, CVE titles and check evidence come from vulnerability databases and from your servers. The MCP server tells the assistant to treat them as data and not as instructions; read a command before you approve it all the same.

A key, or an app that signed in, can make 3,600 requests an hour, together with the read API. A password change and "log out all other sessions" on the account page also log out the connected apps. The setup for each client is also in the documentation.

Sources

Check your servers every day

The Vulnpocalypse agent reports the packages and settings of a server once a day, and the digest lists what to fix, most urgent first.

Start free