Governed AI Access to Company Reports

WorkAI GovernanceMCP
Model Context Protocol Claude Desktop Node.js Express React Active Directory LDAP SQLite Audit Logging

Project Overview

Who

People at work who already use our internal report portal, and the IT team that answers for what an AI assistant can see. We're a five-plant packaging manufacturer, and these are the same reports people already run by hand.

What

A read-only MCP (Model Context Protocol) endpoint on the report portal. Claude Desktop can list the reports a person is allowed to use and run them on that person's behalf. It can't change anything.

Every call has to pass three separate checks: the user's normal permission for that report, an explicit AI grant for that user, and an opt-in on the report itself. There is no admin bypass. If a report needs a parameter, the model has to ask the user for it. It is never allowed to fill one in on its own.

When

It started as a pilot with 6 AI-enabled reports. It's now at 53.

Where

Inside our existing report portal. People connect from Claude Desktop with a personal access token.

Why

An AI assistant is only useful with business data if the people responsible for that data can see and control what it touches. The goal was to make that the default: the same permissions people already have, explicit opt-ins on top, a full record of every call, and a way to turn it all off.

Controls

  • Three independent checks on every call: report permission, an AI grant, and a per-report opt-in. No admin bypass.
  • Personal access tokens are hashed and expire. Every request is re-checked against Active Directory, so a disabled account or a removed group stops working within minutes.
  • The model can't fill in a required parameter. It has to ask the user.
  • Every call is logged and kept for a year. A usage view flags unusual volume, new IP addresses, and repeated failures.
  • One kill switch turns it all off. Access can also be revoked by token, by user, or by report.

Still open: packaging the client as a Claude Desktop extension, so people don't need Node.js installed.

Stack & Tools

Protocol
Model Context Protocol, @modelcontextprotocol/sdk
Client
Claude Desktop
Backend
Node.js, Express
Frontend
React
Identity
Active Directory, LDAP
Tokens & Audit Log
SQLite
Access Model
Three checks, no admin bypass