Skip to main content

MCP

What is MCP?

MCP (Microservice Communication Protocol) is a microservice communication protocol that allows AI Agents to interact efficiently and flexibly with external microservices. By integrating MCP, AI Agents can invoke various external services, such as knowledge bases, data analysis tools, or other customized functions, thereby greatly expanding their capabilities and application scenarios. Simply put, MCP acts as a bridge, enabling AI Agents to communicate and collaborate with various external services.

How to Integrate MCP

This section will detail how to add and configure MCP in the system.

1. Accessing the MCP Addition Page

As shown in the figure below, follow the guiding steps: first, click the icon in the left navigation bar (1), then select "Skill Plugins" (2). In the right content area, click the "MCP" tab at the top (3), and finally click the "New" button (4) to enter the MCP configuration page.

2. Filling in MCP Configuration Information

After entering the MCP configuration page, you need to fill in the relevant form information, as shown in the figure below.

  • Code: A globally unique identifier. It is recommended to specify a meaningful name, such as baidu_search.
  • Name: The display name of the MCP.
  • Description: A brief description of the MCP's functionality.
  • Request header: If your MCP Server requires authentication-related information to be transmitted in the request header, configure the corresponding token here.
  • MCP Transport: Specifies the MCP's transport protocol. Currently, only Streamable-HTTP or SSE (Server-Sent Events) are supported.
    • Streamable-HTTP: A stream-based HTTP protocol suitable for scenarios requiring continuous data streams.
    • SSE: Allows the server to push data updates unilaterally to the client, typically used for real-time notifications or data streams.
  • MCP URL: The HTTP address of the MCP Server.

After filling in all the information, click the "Test Connection" button (1). This action will test the connectivity of your configured MCP Server. If the connection test fails, it might be due to an incorrect MCP URL or unconfigured authentication-related information. Please check and correct your configuration carefully. Once the connection test passes, click "OK" (2) to save the MCP configuration information.

3. Viewing Added MCPs

After successfully adding an MCP, you can see the newly added entry in the MCP list, as shown in the figure below. Newly added MCPs typically appear on the first line of the list. Click the "+" button on the far left of the MCP entry to expand and view its detailed information. As shown in the figure below. This primarily displays the MCP's Tool description.