# PatrolTech MCP server

> Lets AI assistants read and act on security patrol data including rounds, routes, checkpoints, incidents, and access control via OAuth.

- Repository: https://github.com/PatrolTech/mcp-server
- Page: https://hostedmcp.org/servers/patroltech/mcp-server
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 0.2.8

## Install

### Claude Code

```sh
claude mcp add --transport http mcp-server https://mcp.patroltech.online/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mcp.patroltech.online/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcp-server": {
      "type": "http",
      "url": "https://mcp.patroltech.online/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp-server","type":"http","url":"https://mcp.patroltech.online/mcp"}'
```

### Codex

```sh
codex mcp add mcp-server --url https://mcp.patroltech.online/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp-server]
url = "https://mcp.patroltech.online/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http mcp-server https://mcp.patroltech.online/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mcp.patroltech.online/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MCP_PM2_NAME` | no | no |  |

## Tools (4)

- `patroltech_account_get_context`
- `patroltech_proposals_confirm`
- `patroltech_proposals_cancel`
- `patroltech_locations_get_qr_sheet`

## FAQ

### Can the AI assistant delete records or manage billing?

No, deleting records, inviting users, and billing are outside the connector's capabilities.

### How are changes made by the AI assistant applied?

Changes are made via proposals that require explicit user confirmation before they are executed.

### What kind of security access does the server have?

The server has no credentials of its own; it forwards the user's OAuth token and the PatrolTech API authorizes every call based on the user's roles and scopes.

### Can I use this without hosting my own server?

Yes, you can use the hosted endpoint provided by PatrolTech with any MCP client that supports remote OAuth.
