> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/o/octo-ai-scanner.md).

# Octo AI Scanner

Octo AI Scanner finds MCP (Model Context Protocol) servers and AI services running on your network. It scans the targets you give, probes the open ports over HTTP or HTTPS, and records each service that answers like an MCP endpoint.

## Use cases

* **Inventory AI servers on a network range.** Scan a subnet and list the MCP servers found.
* **Find AI services that do not require authentication.** The scanner records whether each endpoint asked for authentication. Review these results in the AI inventory.

## Before you begin

### Network

| Source              | Destination                     | Port                                                    | Protocol                |
| ------------------- | ------------------------------- | ------------------------------------------------------- | ----------------------- |
| OctoXLabs connector | Target hosts (Target parameter) | Ports to Scan (default 80, 443, 8000, 8080, 5000, 3000) | TCP, then HTTP or HTTPS |

Scan only networks you are allowed to scan. The scanner uses the `octons` tool on the connector.

### Required permissions

| Scope or role  | Permission                                                        | Needed for |
| -------------- | ----------------------------------------------------------------- | ---------- |
| Connector host | Permission to run `octons` and to open connections to the targets | Scanning   |

## Create credentials in Octo AI Scanner

No credentials are needed.

{% stepper %}
{% step %}

### Choose the target

Decide the address or network to scan, for example `192.168.1.10` or `10.0.0.0/24`.
{% endstep %}

{% step %}

### Check reachability

Make sure the connector can reach the target and ports. Then run the connection test.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter           | Required | Type    | Default                    | Description                                                           |
| ------------------- | -------- | ------- | -------------------------- | --------------------------------------------------------------------- |
| Target              | Yes      | String  | None                       | Host or network to scan. A comma separated list is accepted.          |
| Ports to Scan       | No       | String  | 80,443,8000,8080,5000,3000 | Comma separated ports. If empty, the default list is used.            |
| No Ping Scan        | No       | Boolean | False                      | Skip host discovery and scan even if the host does not answer ping.   |
| Minimum Parallelism | No       | Integer | 5                          | Minimum number of parallel probes. Range 1 to 32.                     |
| Minimum Rate        | No       | Integer | 10000                      | Minimum packets per second.                                           |
| Probe Timeout       | No       | Integer | 5                          | Seconds to wait for a response from a target.                         |
| Exclude IPs         | No       | String  | None                       | Comma separated addresses to leave out, in the same format as Target. |

## Troubleshooting

| Error message                      | Cause                                                                     | Fix                                                            |
| ---------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------- |
| Invalid IP address format: {value} | The Target or Exclude IPs value is not a valid address, range or network. | Correct the value.                                             |
| Connection test timed out          | `octons --version` did not finish in 10 seconds.                          | Check that `octons` is installed and working on the connector. |

## Change history
