HostedScan
Updates6 min

Ask Claude about your vulnerabilities with the HostedScan MCP server

author avatar

Trevor Smith

Product Engineer

Your vulnerability scans now work inside your AI assistant. The HostedScan MCP server connects Claude, Cursor, and other AI assistants to your HostedScan account, so your assistant becomes an AI vulnerability scanner: it reads your scan results and starts new scans from the chat.

Ask "Which of my clients have open critical risks?" or "Are we affected by CVE-2024-3094?" and get an answer from your own scan results, with a link to each risk in the HostedScan dashboard.

An example answer from an AI assistant connected to HostedScan, listing open critical and high risks and the worst target grade for each client workspace

An example answer from an AI assistant connected to HostedScan, listing open critical and high risks and the worst target grade for each client workspace

The MCP server is included in the Premium plan and every higher plan, and in the 14-day free trial. Already on Premium? Copy the server URL from the API & Webhooks settings page and connect your assistant today.

What is the HostedScan MCP server?

MCP (Model Context Protocol) is an open standard that lets AI assistants connect to other services. The HostedScan MCP server at https://api.hostedscan.com/mcp gives your assistant access to the targets, scans, and risks already in your HostedScan account. There is nothing to export and no report to paste into the chat.

You choose which workspaces the assistant can see, and whether it can only read or can also start scans.

What you can ask

Type a request the way you would ask a colleague. The assistant picks the right HostedScan tools, reads the results, and answers in its own words.

Which of my clients have open critical risks?

For an MSP or any team with several workspaces, the assistant gets the open critical and high risk counts and the worst target grade of each workspace you approved. It can rank your clients and point you to the one that needs attention first.

Show me the critical and high risks on anything tagged prod.

The assistant lists the open risks at those threat levels on targets with the prod tag. Each risk comes with its CVE ids, CVSS and EPSS scores, the dates when HostedScan first and last detected it, and a link to the risk in the dashboard.

Are we affected by CVE-2024-3094?

The assistant searches your open risks for that CVE id and looks up the targets they are on. If no scan has found the CVE, the assistant tells you so.

Explain this risk and how to fix it on our nginx server.

The assistant reads the description, the recommended fix, and the references for the risk, then turns the fix into steps for nginx.

Is this a false positive?

The assistant reads the scanner evidence for the risk and walks you through what the scanner saw on the target.

I deployed a fix. Rescan the site to confirm it.

With read and write access, the assistant starts the scan. HostedScan does not email the results of a scan that the assistant starts, so ask how it went once the scan finishes. The assistant then reports the risks that the scan closed, the risks still open, and any new ones.

What is scheduled to run this week?

The assistant lists your scheduled scans with their scan types and the time of their next run.

Open a Jira ticket for each new critical risk, with a link back to HostedScan.

With a Jira connector also connected, the assistant opens one ticket per critical risk. Each ticket links to the risk in the HostedScan dashboard.

Find the code behind this XSS finding and fix it.

In Claude Code or Cursor, the assistant reads the URL and the parameter from the scanner evidence, then searches your repository for the code that handles that request.

Vulnerability scanning tools for your AI assistant

The MCP server gives your assistant ten tools. Each one does something you already do in the HostedScan dashboard.

  • Targets and schedules: Find targets by IP address, domain, URL, tag, or label, check their health grades, and see which scheduled scans cover them.
  • Scans and risks: Follow each scan to the new risks it found and the risks it closed. Filter risks by threat level, CVE id, tag, scan type, or target, with CVSS and EPSS scores, the recommended fix, and the scanner evidence.
  • New scans: Scan one target, several targets, or every target with a tag, with any scan type that your plan includes: OpenVAS, Tenable Nessus, Nmap, Nuclei, OWASP ZAP, or SSLyze. A scan from the chat counts toward the limits of your plan.
  • Workspaces: Compare the open critical and high risk counts and the worst target grade of every workspace you approved.

Every target, risk, scan, and scheduled scan in a result includes a link to the HostedScan dashboard, so the assistant can send you straight to the full record.

Access and safety

You decide what the assistant can see and what it can change. HostedScan checks that decision on every request.

The HostedScan consent page, where you pick the workspaces an AI assistant can access and choose Read only or Read and write

The HostedScan consent page, where you pick the workspaces an AI assistant can access and choose Read only or Read and write

  • Workspaces you approve: When you connect, you sign in to HostedScan and pick the workspaces that the assistant can access. A connection covers workspaces of one HostedScan account, and only workspaces that you are a member of.
  • Read only, or read and write: Choose Read only to let the assistant view targets, scans, scheduled scans, and risks. Choose Read and write to also let it start scans. A member whose role can only read can grant only read access.
  • Role checks on every scan: A scan from the chat needs a read and write connection and a role that can write in that workspace. When a connection covers several workspaces, the assistant must name the workspace for each scan it starts.
  • Confirmation before an active scan: An OWASP ZAP active scan sends attack requests for SQL injection, XSS, and command execution, which can change data on the target. Before one starts, HostedScan asks you to confirm in your assistant and shows how many targets the scan covers. If your assistant cannot show that confirmation, the scan does not start.
  • Secrets stay out of the chat: Before the assistant sees web app scan evidence, HostedScan removes the request headers, the request bodies, and the cookies that the target set. Target settings come back without header or cookie values, so a saved login header never reaches the assistant.
  • Scanned text is data: HostedScan marks text that comes from scanned systems as untrusted, and tells the assistant to treat it as data, never as instructions.
  • Disconnect at any time: The Connected Applications list on the API & Webhooks settings page shows every assistant that you connected, and owners also see the connections of their members. Disconnect an assistant, and it loses access to your workspaces.
The Connected Applications list in HostedScan settings, showing each connected AI assistant with its member, workspaces, and access

The Connected Applications list in HostedScan settings, showing each connected AI assistant with its member, workspaces, and access

How to connect your assistant

On the Premium plan or higher, or in the free trial, copy the server URL from the AI Agents and MCP card on the API & Webhooks settings page.

The AI Agents and MCP card in HostedScan settings, with the MCP server URL https://api.hostedscan.com/mcp

The AI Agents and MCP card in HostedScan settings, with the MCP server URL https://api.hostedscan.com/mcp

  • Claude: Open Customize, then Connectors. Select + Add, then Add custom connector, and enter https://api.hostedscan.com/mcp as the URL. Claude opens HostedScan, where you sign in and approve the connection. On a Claude Team or Enterprise plan, an owner adds the connector once for the organization, and each member then connects.
  • Claude Code: Run this command, then run /mcp, select hostedscan, and sign in:
    claude mcp add --transport http hostedscan https://api.hostedscan.com/mcp
    To install the HostedScan plugin instead, run these two commands:
    /plugin marketplace add hostedscan/mcp
    /plugin install hostedscan@hostedscan
    The plugin adds the server and two skills: scan-target scans a target and summarizes the results, and security-overview summarizes your open risks and the targets with the lowest health grades.
  • Cursor: Add the server URL under mcpServers in .cursor/mcp.json. Cursor opens HostedScan to sign in the first time it uses the server.
  • Other assistants: Any assistant that supports remote MCP servers with OAuth sign-in can connect with the same URL.

An assistant that cannot sign in can send a HostedScan API key as a bearer token instead. Create the key on the API & Webhooks settings page. An API key covers the one workspace where you created it, and it can read and start scans.

The setup guide in the HostedScan help center has the steps for each assistant.

Your scans, in your assistant

Start a 14-day free trial, run your first scans, and ask Claude what they found.

Start free trial
author avatar

Written by

Trevor SmithProduct Engineer

Share this post:

Speed and power,
without the complexity

The world's leading vulnerability scanners, all in one platform.