# MCP server

Connect Claude, Cursor and other AI agents to your OnDuty findings over MCP.

OnDuty runs a remote [Model Context Protocol](https://modelcontextprotocol.io) server, so AI agents can query your inventory, scans and CVE intelligence. Results are scoped to your account.

## Server URL

```text
https://api.onduty.ai/api/v1/mcp
```

The first time a client connects, your browser opens app.onduty.ai to sign in and approve access.

## Claude Code

```bash
claude mcp add --transport http onduty https://api.onduty.ai/api/v1/mcp
```

## What agents can do

- Triage CVEs: find your highest-risk exposure and get remediation context for a CVE.
- Review images: summarise a scan, or diff two tags before a release.
- Check packages: see whether a package and version is affected.
- Investigate cloud posture: IAM misconfigurations and who can access a resource.