PatrolTech — Claude Code MCP server: what it does, how to install
Connects an AI agent to a PatrolTech account: security patrol routes, checkpoints, missed rounds, scans and incident logs.
MIT updated 2026-10-28
claude mcp add --transport http patroltech https://mcp.patroltech.online/mcpWhat PatrolTech does
A remote MCP server for the PatrolTech guard tour platform. The agent reads and modifies patrol routes, checkpoints, scans, incidents and guard data through OAuth: the user's token is verified by the API and exchanged for a 15-minute session. Tools split into reads (patroltech_<area>_<read>) and batched writes via propose → confirm.
The server is stateless; Redis is required for coordination. Proposal locks and rate limits (60 calls per minute for reads, 20 for writes) live in Redis; without it the server only runs in development. Every call writes an mcp.tool_call audit entry with a hash of the arguments.
Writes need the write scope: without it the server answers 403 insufficient_scope. Proposals live in the PatrolTech API for up to 30 minutes or 10 operations per batch, any worker can serve the request. The patroltech_locations_get_qr_sheet tool returns a signed link to a location's printable QR sheet, valid for one hour.
What it helps with
- check missed patrol rounds for a shift
- list incidents at a location
- set up new route checkpoints
- rank guards by scan activity
- print checkpoint QR codes
Example prompts for the agent
- Show missed rounds in the last 24 hours at the head office
- Add three checkpoints to the warehouse route: receiving, dispatch, perimeter
- Pull suspicious scans from yesterday's shift
How to install PatrolTech
Platform CLI: remote server
claude mcp add --transport http patroltech https://mcp.patroltech.online/mcpPlatform CLI: remote server
codex mcp add patroltech --url https://mcp.patroltech.online/mcpConfig file
{
"mcpServers": {
"patroltech": {
"url": "https://mcp.patroltech.online/mcp"
}
}
}Config file
{
"servers": {
"patroltech": {
"type": "http",
"url": "https://mcp.patroltech.online/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http patroltech https://mcp.patroltech.online/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about PatrolTech
How do I install PatrolTech in Claude Code?
Run claude mcp add --transport http patroltech https://mcp.patroltech.online/mcp. You will need to authorize with OAuth in your PatrolTech account.
What does PatrolTech do?
It connects an AI agent to the PatrolTech security patrol platform: the agent reads routes, checkpoints, scans and incidents, proposes changes in a batch via propose, and executes them on confirmation.
What do I need to write data in PatrolTech?
An OAuth token with the write scope. Without it the server answers 403 insufficient_scope and requires reissuing the token with read write permissions.