Create a MCP Server Group

MCP Server Groups help you cluster MCP servers and govern who can access or manage the MCP servers in the group. To add a MCP server to the Gateway, you first need to create a MCP server group and then add the MCP server to the group.

An example usecase of multiple MCP server groups will be to have a dev-mcps group for development and a prod-mcps group for production.

  • dev-mcps: All developers can add/edit/remove MCP servers from the group and also use the MCP servers in the group.
  • prod-mcps: Only admins can add/edit/remove MCP servers from this group and only production applications can use the MCP servers in this group.

You can also maintain a group per team or project based on your organization’s needs.

To create a MCP server group, follow the steps below:

  1. Navigate to the MCP Servers section in the AI Gateway UI and click Add New MCP Server Group.

  2. Configure the group with the following:

    • Name: Enter a descriptive identifier (e.g., dev-mcps, prod-mcps)
    • Access Control: Configure access permissions
      • User: Allows users to access and use the MCP integrations
      • Manage: Allows users to create, update, or delete integrations and change their configuration

MCP Server Groups Interface

Add a MCP Server to Group

To add an MCP server, you can either create one from scratch or add a public MCP server. With each MCP server, you can will need to define the authentication mechanism: No Auth, Header Auth or OAuth2. There are examples of 3 MCP servers below: you can choose any one or multiple to get the MCP server details.

Adding Servers to Groups

1

Select Group

Click on your MCP Server Group (e.g., dev-mcps).

2

Add MCP Server

Click Add MCP Server.

3

Complete Form

Fill in server details:

  • Name: Server identifier
  • Endpoint URL: Your server’s URL
  • Description: What this server does
  • Authentication: Choose method (None, Header, OAuth2)

Add MCP Server Form


Use MCP Servers in Playground

  1. Click Add MCP Servers to select tools from your registered MCP Servers.

    MCP Server Playground Landing Page - AI Gateway

  2. Choose the tools you want to use and click Done to add them to your Playground session.

    MCP Server Playground Select Tools Page - AI Gateway

  3. Enter your prompt and click Run to see the response from your selected tool.

    Example Playground Run

Before using the Playground, ensure your MCP Server is registered in the AI Gateway.

Use MCP Servers in Code

Follow Use MCP Servers in Code Agent to use your MCP servers in your code agent.