Enforce Organization-Wide MCP Policies

Compare three organization-wide MCP enforcement models across Claude Code, Cursor, and VS Code. Choose the right enforcement method for your coding assistant and organization.

JFrog enables you to enforce organization-wide MCP usage policies across your coding assistants. Rather than relying on developers to select approved servers, you define which MCP servers are available and lock that policy at the organization, team, or machine level — depending on your IDE and governance model.

Without enforcement, developers pull unverified MCP servers from public repositories, bypassing your organization's security and compliance controls. With organization-wide enforcement, you prevent shadow AI by ensuring only approved, vetted MCP servers are available to your coding agents.

Three Enforcement Models

JFrog supports three distinct enforcement models, each suited to a different coding assistant. All three prevent unapproved MCP usage — but they differ in scope, deployment method, and developer experience.

Compare All Three Models

AspectClaude CodeCursorVS Code
Enforcement ModelManaged SettingsTeam MCP ConfigurationAgent Guard Hook
ScopeOrganization-wideTeam-levelOrganization-wide (via MDM)
Where Policy Is DefinedClaude.ai admin consoleCursor team dashboardPushed to developer via MDM
⚠️

CRITICAL — VS Code Developer Reload

After the Agent Guard hook is installed via MDM, the developer must manually reload VS Code (Command Palette → Developer: Reload Window) for the hook to take effect. Without this step, unapproved MCP servers remain accessible.

Choose Your Enforcement Model

Select your coding assistant to get step-by-step enforcement instructions:

Frequently Asked Questions

Can I enforce MCP policies for multiple coding assistants at the same time?

Yes. If your organization uses multiple IDEs (Claude Code + Cursor, or VS Code + Claude Code), you can apply the appropriate enforcement model for each. Developers using different tools will have policies enforced according to their tool's model.

What is MDM, and why is it required for VS Code?

MDM (Mobile Device Management) is software that IT teams use to manage and deploy configurations to developer machines at scale. Examples include Jamf Pro (macOS), Microsoft Intune (Windows), and Kandji (macOS).

VS Code enforcement uses a local hook that must be installed on each developer machine. MDM automates this deployment at scale. Claude Code and Cursor enforcement operate entirely in the cloud and do not require MDM.

What if I use VS Code but don't have MDM infrastructure?

Agent Guard Hook enforcement requires MDM to deploy the hook at scale. If you don't have MDM, you have two options:

  1. Evaluate and deploy MDM — Jamf Pro, Microsoft Intune, or Kandji are common choices. Deploying MDM is a broader security initiative that benefits multiple teams.
  2. Use a different IDE — If MDM is not feasible, consider Claude Code (managed settings) or Cursor (team config) where governance does not require MDM infrastructure.

Related Topics