# MCP servers

> **Note:**
> This feature is currently in preview and available for all organizations participating in the [Early Access Program (EAP)](ai-settings.html#eap). It may change and become a paid feature later. For more information, see [Plans and pricing](plans-and-pricing.html).

> **Note:**
> MCP servers configured at the organization level currently apply only to [AI Assistant](https://www.jetbrains.com.cn/en-us/help/ai-assistant/mcp.html) and [JetBrains Air](https://www.jetbrains.com.cn/en-us/help/air/mcp-servers.html), not to agents used through [Central CLI](https://www.jetbrains.com.cn/en-us/help/central-cli/quickstart.html).

The MCP servers page lets you configure Model Context Protocol (MCP) servers at the organization level. MCP servers extend AI tools with additional context, such as access to external data sources, APIs, or custom tools.

The following types of MCP servers are supported:

* A command server that runs as a local process and communicates over standard input/output.

* A remote server that runs remotely and communicates over HTTP.

The server type cannot be changed after the server is created.

An MCP server you configure here becomes available to users, groups, and service accounts after you add it to an [AI policy](ai-policies.html). The Policies column in the [MCP servers](ai-policies-configure.html#mcp-tab)  table shows which AI policies include each MCP server.

> **Tip:**
> Users can also add MCP servers locally in their IDEs and JetBrains Air. The servers they can add locally are not limited to the ones configured at the organization level.

> **Note:**
> Viewing the page requires the [View AI settings](roles.html#permissions_view_ai_settings) permission. Managing MCP servers requires the [Manage AI settings](roles.html#permissions_manage_ai_settings) or [Manage organization](roles.html#permissions_manage_org) permission.

Procedure: Add a command MCP server

1. In the sidebar, under AI governance, select MCP.

If you don't see this page, or the controls on this page are inactive, your role doesn't have the necessary [permissions](roles.html#permissions).

2. Click Add MCP server.

3. In the New MCP server dialog, select the Command tab.

4. In the MCP server name field, specify a display name for the MCP server.

5. In the Command field, specify a command used to run the MCP server.

6. (Optional) In the Arguments field, specify additional command-line arguments to pass to the server.

7. (Optional) Click Environment variables to expand the section, then click Add variable, and specify variables for the server (API keys or configuration settings).

8. Click Add.

A success message appears in the lower right corner. The MCP server is now listed in the table.

If the process fails, ensure the configuration is correct, and click Add to try again.

Procedure: Add a remote MCP server

1. In the sidebar, under AI governance, select MCP.

If you don't see this page, or the controls on this page are inactive, your role doesn't have the necessary [permissions](roles.html#permissions).

2. Click Add MCP server.

3. In the New MCP server dialog, select the Remote tab.

4. In the MCP server name field, specify a display name for the MCP server.

5. In the URL field, specify an MCP server URL.

6. (Optional) Click HTTP headers to expand the section and specify HTTP headers to include in requests to the server. For example, API keys or access tokens that the server uses to authenticate requests.

7. Click Add.

A success message appears in the lower right corner. The MCP server is now listed in the table.

If the process fails, ensure the configuration is correct, and click Add to try again.

Procedure: Edit an MCP server

1. In the sidebar, under AI governance, select MCP.

If you don't see this page, or the controls on this page are inactive, your role doesn't have the necessary [permissions](roles.html#permissions).

2. In the MCP servers table, find an MCP server you want to edit.

3. Click ![Ellipsis icon](images/union.svg) in the corresponding row and select Edit settings.

4. In the dialog, update the fields as needed.

> **Note:**
> The server type cannot be changed.

5. Click Save.

A success message appears in the lower right corner. It may take a few minutes for the changes to take effect.

Procedure: Delete an MCP server

> **Warning:**
> Deleting an MCP server used in an [AI policy](ai-policies-configure.html#mcp-tab) will cause users, groups, and service accounts under that policy to lose access to the server. To check which policies are affected, review the value in the Policies column of the MCP servers table.

1. In the sidebar, under AI governance, select MCP.

If you don't see this page, or the controls on this page are inactive, your role doesn't have the necessary [permissions](roles.html#permissions).

2. In the MCP servers table, find an MCP server you want to delete.

3. Click ![Ellipsis icon](images/union.svg) in the corresponding row and select Delete MCP server.

4. In the dialog, click Delete.

A success message appears in the lower right corner. The MCP server is removed from the table and from all the affected AI policies.

