← All features

AI Agent Access (MCP)

A real Model Context Protocol server, so Claude, or any other MCP client, can query your quality data directly — scoped to exactly what the connecting user is allowed to see.

Most of this industry's "AI" is still a chat box bolted onto a dashboard. MCP is different: it's the open protocol (originated by Anthropic, now used across the industry) that lets an AI agent call an application's own tools directly, instead of a human copy-pasting between screens. GxP Intelligence exposes one at POST /api/v1/mcp — not a prototype, a real authenticated endpoint a QA manager can point Claude Desktop at today and ask things like "which deviations are overdue" or "show me open CAPAs owned by my team" in plain language.

It is wired through the exact same authentication and tenant-isolation pipeline as every other endpoint in this product, not a separate, less-trusted side door: a tool call needs a real, currently-valid access token, and from there it inherits the caller's organization scope and permissions automatically. An agent connected with one customer's token structurally cannot see another customer's records, and a role without a module's view permission gets a clean refusal from that tool — the same rule the web app itself enforces, re-checked at the tool level and covered by its own automated tests (see mcp.spec.ts in the codebase) rather than just asserted.

Capabilities

  • ✓ Eleven tools today: list/get across documents, deviations, CAPAs, audits, and complaints, plus a whoami identity check
  • ✓ Every tool call scoped to the connecting token's real organization and permissions — not a shared or broader view
  • ✓ Standard Streamable HTTP transport, so it works with Claude Desktop and other MCP-compliant clients without custom integration code
  • ✓ Automated tests proving cross-tenant isolation and per-permission refusal, not just manual spot-checks
Who it's for

Teams who want to ask an AI agent about their quality data directly — "what's overdue," "summarize this deviation" — instead of a human relaying screenshots back and forth, and who care that the access that gets to an AI is exactly as scoped as the access a person gets.

Using this responsibly
  • Read-only, on purpose, for now. No MCP tool creates, edits, approves, disposes, or signs anything — those stay e-signature-gated through the web app, where a signature is a deliberate, re-authenticated act by a specific person. Giving an agent that same power needs its own reviewed design (how does an agent-relayed approval stay genuinely attributable to a human decision?) before it ships; we'd rather say "not yet" than build a workaround that quietly weakens what an e-signature is supposed to mean.
  • Practical limitation we're not hiding: this product's access tokens are short-lived (15 minutes) by design, and there is no dedicated long-lived token type for MCP clients yet. A real connection today means supplying a currently-valid token, which will need refreshing — workable for evaluating the feature, not yet a "set it up once and forget it" integration. A proper revocable integration-token flow is the next thing we'd build here, not a solved problem we're glossing over.
  • Every figure above (eleven tools, the specific isolation and permission guarantees) describes what's implemented and tested as of this writing, not a roadmap.