Connect AI Assistants to PolicyTrak: MCP Server and REST API

AI & Integrations

Connect PolicyTrak to Claude, ChatGPT and Other AI Assistants

Ask your AI assistant what is expiring, what evidence is missing, or to mark an inspection complete. You choose what it can see and change.

In short

The Model Context Protocol (MCP) is an open standard that lets an AI assistant connect to other software and work with its data. PolicyTrak runs an MCP server, so assistants such as Claude, ChatGPT, Gemini CLI and Copilot can read your location compliance data (locations, fields, tabs and evidence files) and, only if you allow it, update it. Each connection covers one organization and can be revoked at any time.

What your AI assistant can do with PolicyTrak

Ask a question in plain English and the assistant looks up the answer in your PolicyTrak records.

Read location compliance data

Look up locations, compliance fields, tabs and evidence files without opening each location in PolicyTrak.

Find what is about to expire

Ask which locations have compliance fields expiring soon, so renewals are planned before they lapse.

Summarize missing evidence

Get a summary of missing documents for a location, grouped by tab, or a list of fields with nothing uploaded.

Update records, if you allow it

With write permission granted, the assistant can create or change records, such as marking an inspection field complete.

Example prompts from the setup guide

  • “Which locations have compliance fields that expire in the next 30 days?”
  • “Summarize missing evidence for the Downtown location by tab.”
  • “List every field on the Health and Safety tab that has no uploaded document.”
  • “Mark the fire extinguisher inspection field as complete for the Lakeview location.”

Interactive evidence reviews

In supporting ChatGPT and Claude clients, the assistant can show searchable readiness views, saved expiration dates and operational-exception views, plus receipts when it saves a follow-up task. Other clients receive the same results as text and structured data. These views review saved evidence, not legal compliance.

You stay in control

Nothing is granted automatically. An Admin decides what each assistant may do.

One organization per connection

Each connection is scoped to a single organization, chosen on the consent screen.

Write access is opt-in

Read permissions only retrieve data. Permissions that create or change records are always opt-in.

Employee data is opt-in

Employee and contact permissions expose personal information, so they are never included unless you select them.

“Ask before each change”

This sets PolicyTrak’s instructions to the assistant, not its permissions. Automatic mode never bypasses document approval workflows.

Suspend, revoke, review

Admins can suspend, reactivate or permanently revoke any connection and review its request log. Revocation applies on the next request.

Manageable manual keys

Manual keys can be edited, rotated, restricted to IP addresses and given an expiration date.

How to connect

Most assistants connect through OAuth, a standard sign-in flow, so nobody has to copy a password or key.

  1. 1

    Find the server URL

    An Admin opens Settings → MCP Server in PolicyTrak, where the exact server URL is shown.

  2. 2

    Add it to your assistant

    Paste the URL into an MCP-compatible assistant that supports OAuth. The assistant sends you to a PolicyTrak consent screen.

  3. 3

    Sign in and review the request

    An organization Admin or Owner signs in. The screen shows the exact address the assistant will return to, and unverified clients are marked as such.

  4. 4

    Choose the organization and permissions

    Pick one organization, select which requested permissions to grant, and choose whether the assistant should ask before each change.

No OAuth support? Use a manual key. An Admin creates a connection in Settings → MCP & AI. The key is shown once; set it in your client as an Authorization: Bearer header.

Built on open standards

The AI connection uses published standards, so any compatible assistant connects the same way.

Protocol

MCP over HTTPS

Assistants reach the MCP server at an HTTPS address on app.policytrak.com.

Sign-in

OAuth 2.0 with PKCE

Authorization code flow with PKCE, refresh tokens and dynamic client registration for new assistants.

Access

Revocable tokens

A token revocation endpoint lets access be withdrawn, and OAuth permissions can’t be widened after consent: revoke and authorize again.

PolicyTrak REST API

For developers building their own integrations, PolicyTrak also has a REST API covering the same compliance platform you use for policy management.

The API is defined in OpenAPI 3.0.3 and published as a machine-readable document: 84 documented endpoints across 20 areas of the platform.

What it covers

Policies, SOPs, locations, members, portal employees, acknowledgments, law events, compliance checks, audit logs, reports, search and notifications.

Authentication

Session sign-in for most endpoints, HMAC-SHA256 request signing for the machine-to-machine External API, and an API key for SmartShifts endpoints.

Webhooks and SSO

Outbound webhooks to Slack and Microsoft Teams, with one-click setup templates or any endpoint configured manually, plus SAML 2.0 single sign-on (Azure AD, Google, Okta) and TOTP two-factor sign-in.

SmartShifts sync

Employee records sync with SmartShifts, Copliancy’s scheduling product, through dedicated integration endpoints.

Machine-to-machine access

Endpoints under /api/v1/external/ are signed rather than session-based. Each request carries an API key, a Unix-millisecond timestamp and an HMAC-SHA256 signature over the method, path and timestamp. The set covers locations, policies, SOPs, portal employees and field modules.

Example endpoints

  • GET /api/policies — list policies for the active organization
  • GET /api/acknowledgments/matrix — acknowledgment compliance matrix
  • GET /api/locations/{id}/acknowledgment-summary — policy and SOP completion for one location
  • GET /api/audit-logs — paginated audit trail, up to 200 entries per page
  • GET /api/search?q= — full-text search across policies, SOPs, locations and employees
  • POST /api/webhooks — register an outbound webhook for the events you choose
  • GET /api/v1/external/policies — signed, server-to-server policy list

Full endpoint details, with an OpenAPI definition, are in the PolicyTrak API reference, and the OpenAPI definition is available directly.

Every endpoint is also listed, with its method and purpose, on the PolicyTrak API endpoint reference.

Limits and privacy

Through MCP, file uploads are limited to 32 KiB per file and downloads to 10 MiB per file. To see how data flows to connected assistants and how request logs are kept, read the MCP data sharing page.

SupportSign in to PolicyTrak and use the Support option. Never send access tokens, authorization codes or client secrets.

Where the data comes from

Your assistant works with what is in PolicyTrak. These features keep it current:

Law Watch

Automated regulatory monitoring that identifies relevant agencies, tracks pending state legislation and flags how new rules may affect your policies.

Policy Management

Draft, approve and distribute policies, with numbered versions, approval chains and dated acknowledgments per employee and location.

Reports & Analytics

Filter by location, category or date range, schedule reports daily, weekly or monthly, and export to Excel, CSV or PDF.

Put Your Compliance Data Where You Already Ask Questions

Connect an MCP-compatible assistant with the permissions you choose. Sign up and see plans without booking a call.

Frequently asked questions

MCP, the Model Context Protocol, is an open standard for connecting AI assistants to other software. PolicyTrak runs an MCP server, so a compatible assistant can read your location compliance data and, if you allow it, update it.
MCP-compatible assistants, including Claude, ChatGPT, Gemini CLI and Copilot. Assistants that support OAuth connect through the PolicyTrak consent screen; others can use a manual bearer key created by an Admin.
Only if you grant a write permission, which is always opt-in. You can also tell PolicyTrak to have the assistant ask before each change. Automatic mode does not bypass document approval workflows.
Not unless you allow it. Employee and contact permissions expose personal information and are always opt-in, so they are never granted automatically.
An Admin goes to Settings → MCP & AI and suspends or permanently revokes the connection. Revocation takes effect on the next request. To change an OAuth connection’s permissions, revoke it and authorize again.
Yes. PolicyTrak publishes a REST API defined in OpenAPI 3.0.3, with 84 documented endpoints across 20 areas of the platform: policies, SOPs, locations, members, portal employees, acknowledgments, law events, compliance checks, audit logs, reports, search, notifications, outbound webhooks and SmartShifts endpoints. See the API reference.
Three ways, depending on the endpoint. Most endpoints use a session obtained by signing in. The machine-to-machine endpoints under /api/v1/external/ use HMAC-SHA256 request signing, with an API key, a Unix-millisecond timestamp and a signature header on every request. The SmartShifts polling endpoints use an API key header.
No. Evidence reviews check the evidence you have saved in PolicyTrak, not legal compliance. For questions about what the law requires of your business, ask qualified counsel.
Legal & Compliance Disclaimer. The information on this page is provided for general informational purposes only and does not constitute legal, HR, or compliance advice. Regulations and standards referenced are complex and require interpretation specific to your organization’s facts, jurisdiction, and circumstances. Always consult qualified legal counsel and your industry-specific compliance professionals before making decisions. PolicyTrak is a software platform — not a law firm.