Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

AI Governance

AI Governance

As employees adopt AI coding assistants like Claude Code, Cursor, and GitHub Copilot, those assistants increasingly reach beyond the editor, connecting to external tools and data sources through the Model Context Protocol (MCP), running shell commands, and reading from your codebase and filesystem. Each of these actions is a potential path for sensitive data to leave your environment, often invisibly to traditional DLP. Nightfall's AI Agent Governance gives security teams visibility into what AI agents are doing and the ability to apply data protection policies to that activity in real time.

This section covers four surfaces:

  • MCP Server Visibility (Inventory, Collections, Users & Devices, Settings): what is already running on endpoints

  • MCP Gateway: the governed endpoint for servers you enable, with credentials and an audit log

  • Auditability and Control: IDE hooks, OpenTelemetry, and AI agent security policies

  • Choosing a control: Inference Hooks, IDE hooks, the Claude Compliance API, and the MCP Gateway. What each one sees, what it can stop, and which policy to write. Start here: Choosing a control.

MCP Server Visibility

The Model Context Protocol lets AI assistants connect to external servers that provide tools and data, for example a GitHub server, a database connector, or an internal knowledge base. Because these connections can move data in and out of the assistant, knowing which servers are in use is the foundation of governing them.

Nightfall automatically discovers and reports MCP activity across your monitored endpoints:

  • Connected servers and clients - Nightfall detects the MCP servers each AI client connects to and surfaces these as connection events in the AI Governance dashboard.

  • Configuration discovery - MCP server configurations are discovered from the agent's settings on the endpoint, including assistants installed through managed channels such as the Microsoft Store.

  • Accurate client attribution - Each event is attributed to the specific assistant that generated it (for example, Claude Code or Claude Desktop).

Some AI clients label MCP tool activity differently, and a few do not include the server name in the activity they report. Where the server can be identified, you can scope policies to specific servers; where it cannot, that activity is governed under your broader "all servers" policies.

MCP Gateway

MCP Gateway is a separate tab next to Inventory. Clients such as Cursor, Claude Code, Windsurf, and VS Code connect to one Nightfall endpoint. Admins enable servers from a catalog or by URL. Users bring their own OAuth or PAT. Every tool call is written to the gateway Audit log.

The gateway tab is enabled per organization. If you do not see it, contact your Nightfall account team.

The gateway decides which remote tools exist. It does not scan prompt text. Content scanning of tool arguments is not available in this release.

Hooks, OpenTelemetry, and Inference Hooks

Beyond seeing which servers are connected, Nightfall can inspect and act on what AI agents actually do.

  • IDE hooks fire on the laptop as the agent works, and can block a prompt, a tool call, or a shell command before it runs, as well as block sensitive tool responses before the model reads them (on the macOS and Windows agents for Claude Code and Cursor) and monitor model responses.

  • OpenTelemetry (OTel) is structured agent telemetry for session audit, including cost and token usage. It does not block.

  • Claude Inference Hooks run inside Claude Enterprise, before the model, with nothing installed on the device. They block prompts. They do not stop a shell command or a tool call before it executes.

Choosing a control is the matrix for prompts, tool calls, tool responses, shell commands, and model responses, plus the policy templates.

Last updated

Was this helpful?