Chapter 14. Test with model context protocol (MCP) servers


Authorize and interact with connected MCP servers to use their integrated tools directly from the playground chat.

Prerequisites

  • You have deployed a model with tool-calling capabilities enabled in your project.
  • You have configured a playground instance for your project.
  • A cluster administrator has configured an MCP server, and the server is listed and available in the MCP tab of the settings panel.

Procedure

  1. In the settings panel, click the MCP tab.
  2. Select the checkbox for the server that you want to use.
  3. Click the Auth icon next to the server name.

    The Authorize MCP server dialog opens.

  4. If the server requires a token, enter the token in the Access token field and click Authorize.

    A Connection successful message appears.

    Note

    Authorization tokens for MCP servers are stored only for the current browser session. If you close your browser, you must re-authorize the server.

  5. Click Close.
  6. Click the View tools (wrench) icon for the same MCP server.

    A modal appears, listing all available tools for that server. You can copy a tool name to use in the chat.

  7. In the chat input field, type a query that uses one of the available tools.
  8. Click the Send button or press Enter.

    Note

    After you send a prompt, the Send button changes to a Stop button. Click it to interrupt the model response.

Verification

  • The AI bot responds, indicating it is using the tool.
  • The bot provides the output from the tool.
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top