Este contenido no está disponible en el idioma seleccionado.

Chapter 6. Testing 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 servers section of your playground.

Procedure

  1. In the MCP servers section, select the checkbox for the server that you want to use.
  2. Click the Auth icon next to the server name.

    The Authorize MCP server dialog opens.

  3. 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.

  4. Click Close.
  5. 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.

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

    NOTE: After you send a prompt, the Send button in the chat input field changes to a Stop button. Click it if you want to interrupt the model’s response, for example, when the response takes longer than you anticipated or if you notice that you made an error in your prompt. The Bot posts “You stopped this message” to confirm your stop request.

Verification

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

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2026 Red Hat
Volver arriba