The Intelligent Analysis Agent provides you with MCP service integration and management capabilities. Through this feature, you can connect and manage external MCP services to expand DataAgent's data acquisition scope (typically external data, such as online search, third-party platform data, and more) and analytical capabilities (to enhance the agent's data analysis abilities, such as attribution, prediction, and more). This document introduces the MCP service management features and detailed operation instructions.
The Intelligent Analysis Agent provides both system-level and agent-level MCP integration capabilities. A comparison of these two types of MCP services is provided below.
Agent level | System level |
|---|---|
|
|
After integrating MCP services, when using features such as in-depth research and insight reports, the large model will determine, based on your questions and the MCP service configuration, whether it needs to use MCP services to further improve the quality of analysis results.
Except for the applicable scope, there is no difference in the configuration operations between agent-level and system-level MCP services. The following uses the process of adding and configuring an agent-level MCP service as an example to illustrate the detailed operation steps.
The Intelligent Analysis Agent provides a pre-configured system MCP service (insight-agent) that includes a variety of advanced analysis tools. You can also add more of your own MCP services.
Log in and enter the agent's management console. In the left navigation bar, click MCP Service Management. After entering the MCP Service Management page, click the Add MCP Service button in the upper right corner.
On the pop-up page, configure the basic information for the MCP service. After completing the configuration, click "Next".
Parameters | Configuration instructions |
|---|---|
MCP service & description | Customize the name and description of the MCP service to identify the purpose of the added MCP service, making it easier to use and manage the MCP service later. |
Category | Select the usage type for the MCP service being added. The following options are supported:
|
Method of addition | Select the method for connecting to the MCP service. Currently supported methods are: StreamableHTTP, SSE, OpenAPI. |
URL | Configure the connection URL for the MCP service. Please ensure that the network where the DataAgent is located can access this URL. |
Header authentication | Configure the authentication information for connecting to the MCP service. If the MCP service does not require authentication, you can click the delete button next to the configuration box to remove the Header authentication configuration parameter. |
(Optional) On the tool management page, click the Add Tool button. Configure the tool parameters in the pop-up window. Once completed, you can add the corresponding tool to the MCP service.
tip
When adding an MCP service via OpenAPI, tools must be added manually. When adding an MCP service via StreamableHTTP or SSE, the system will automatically retrieve the tools registered in the MCP service for you.
Basic information
Parameters | Configuration instructions |
|---|---|
Tool name | Customize the name of the tool being added. The tool name will be displayed to end users on the agent usage page for intelligent analysis. |
Model invocation identifier | Configure the model invocation identifier set by the MCP service when registering the corresponding tool. warning The model invocation identifier configured here does not support Chinese characters. |
Description | Add description information for the tool to introduce its purpose to the large model, helping it invoke the tool correctly. |
Input Schema & Output Schema | Configure the format requirements for the tool's input and output parameters when the large model subsequently invokes the tool.
tip After configuration is complete, for details on the validation and processing flow of input and output for MCP tool calls, see the following Reference: Processing flow when invoking MCP tools. |
Tool functionality
Parameters | Configuration instructions |
|---|---|
URL & request method | The API URL and request method for the tool must be configured. |
Request Schema & Response Schema |
tip
|
Header authentication | Configure the authentication information required when calling the tool. If authentication is not required, you can click the delete button next to the configuration box to remove the Header authentication configuration parameter. |
Repeat the above steps to add multiple tools to the MCP service. After adding tools, refer to the following section to test the added tools.
After adding tools, you can click the "Test" button in the tool list. In the pop-up page, enter the "input parameters" for testing, and click "Test" to invoke the tool for testing.
After adding and configuring the MCP service, you can configure whether to enable or disable the MCP service on the MCP service management page, and whether to use the corresponding MCP service by default when using agents later.
In-depth research | Insight report |
|---|---|
After enabling the MCP service, when performing data queries on the in-depth research page, you can flexibly select which tool from the MCP service to use in the "Extension" section of the question input box. | After enabling the MCP service, when using "AI analysis" on the insight report page, you can flexibly select which tool from the MCP service to use in the "Extension" section of the question input box. |
When using the intelligent analysis Agent, if you select a tool from an MCP service to use, the main interaction flow between the agent's large model and the tool is as follows.
The agent's large model will follow the invocation rules of the tools in the MCP service:
tip
If the MCP tool does not have a Request Schema or Response Schema configured, and the AI model detects format issues during tool invocation, it will attempt to correct and rewrite the request. If issues persist after correction, you will need to manually adjust the relevant configuration of the MCP tool.