Open in the explorer

Agent Connector Access Policy

Stratégie d’accès du connecteur d’agent

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows AI FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows AI
Supported on
At least Windows Server 2016, Windows 10 FR: Au moins Windows Server 2016, Windows 10
ADMX file
CAM_AI.admx
Internal name
CAM_AI/AgentConnectorAccessPolicy

Explanation

This policy setting allows you to define a list of allowed connections between MCP hosts and MCP servers.

The format of this list will be a JSON string that adheres to the schema at https://go.microsoft.com/fwlink/?LinkId=2363700.

If this policy is not configured, the MCP host may connect to any MCP server with user consent.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de définir une liste de connexions autorisées entre les hôtes MCP et les serveurs MCP.

Le format de cette liste est une chaîne JSON qui respecte le schéma disponible à l’adresse https://go.microsoft.com/fwlink/?LinkId=2363700.

Si cette stratégie n’est pas configurée, l’hôte MCP peut se connecter à n’importe quel serveur MCP avec le consentement de l’utilisateur.

Use cases

Defines the list of allowed connections between MCP hosts (the agents) and MCP servers on the device, as a JSON string that follows the schema given in the policy description. When not configured, an MCP host can connect to any MCP server with user consent; configuring it lets you allow only vetted pairs.

Background: the Windows On-device Agent Registry (ODR) lets apps discover local or remote MCP servers, and Microsoft says administrators can control which agents reach which servers and can log those interactions. The documentation notes that some information concerns prerelease features that may change: re-read the schema before freezing a list.

Microsoft source: Model Context Protocol (MCP) on Windows overview

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsAI
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: CAM_AI/AgentConnectorAccessPolicy
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Configure allowed MCP Host/Server connections
Set-ItemProperty -Path $k -Name 'AgentConnectorAccessPolicy' -Value '<value>' -Type String

Disable

# Disable: CAM_AI/AgentConnectorAccessPolicy
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": CAM_AI/AgentConnectorAccessPolicy
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI'
Remove-ItemProperty -Path $k -Name 'AgentConnectorAccessPolicy' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Configure allowed MCP Host/Server connections:Configurer les connexions hôte/serveur MCP autorisées :AgentConnectorAccessPolicy_NameText boxtextAgentConnectorAccessPolicyREG_SZ

Availability

Windows 11

✓ 26H2— 25H2— 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

— 2025— 2022— 2016