This guide describes how to configure the MCP (Model Context Protocol) service in DMS Data Agent Enterprise Edition. MCP acts as a standardized interface between an AI agent and external capabilities, encapsulating various functions as "tools" that an AI can recognize and call. Configuring the MCP service allows the DMS analysis engine to efficiently integrate with key AI infrastructure. This integration enables seamless collaboration and scalable intelligent analytics.
Prerequisites
Ensure that you meet the following requirements:
-
You are using DMS Data Agent Enterprise Edition.
Configure the MCP service
Step 1: Create a workspace
-
Log in to DMS 5.0.
-
On the top navigation bar, choose . Alternatively, in simplified mode, click the
icon in the upper-right corner and choose to open Data Agent. -
In the upper-left corner of Data Agent, click . In the Create a workspace dialog box, enter a workspace name and click Create.
Step 2: Configure and manage MCP service
-
In the workspace, click your account in the lower-left corner and choose Space layout.
-
In the navigation pane on the left, choose MCP Server.
-
On the MCP Server page, click Add MCP Server and select Configure Manually.
-
In the MCP Server Configuration dialog box, enter the model service information.
Parameter
Description
Network Type
The deployment network for the model service. Supported options are public network and internal network.
Name
Required. Specify an easy-to-identify name for the service.
Transport Type
Required. Select the transmission type supported by the model API. Supported types include SSE and StreamableHttp.
VPC
Required for an internal network. Select the VPC where your model service is deployed.
vSwitch
A VSwitch is required when an internal network proxy is configured. It is automatically selected by default.
Description
Optional. Add notes to help team members understand the purpose of the service.
Server URL
The endpoint URL for accessing the MCP service. If the transmission type is SSE, the URL typically ends with
sse. If the transmission type is StreamableHttp, the URL typically ends withmcp.Request Header
Optional. Custom request headers, such as those used for authentication.
Select the MCP Service Security Risk Acknowledgment checkbox and click Save.
-
After you submit the configuration, the service status changes to Configuring. Once the backend network connectivity is established, the status changes to Ready.
When a service is Ready, you can enable it with the switch in the list. The switch is disabled when the status is Configuring. Each service entry in the list displays properties such as the connection method (for example, VPC internal network) and protocol type (for example,
streamablehttporsse). -
Edit an existing service:
-
When to edit: You can edit a service only when its status is Ready or Unavailable.
-
How to edit: Hover over the service entry and click the
icon on the right. -
Editable fields: You can modify the Name, Transport Type, Server URL, and Request Header.
-
-
Enable or disable a service:
-
In the service list, each row has a toggle switch on the right.
-
On (default): The service is enabled and can be selected when creating a session.
-
Off: The service is disabled and will not be available for selection in new sessions. This is useful for temporarily taking a service offline or for internal testing.
-
Step 3: Use the MCP service
-
After selecting a configured MCP service for your session, the analysis engine automatically determines whether to use it based on the analysis context.
To do this, click the connection icon in the toolbar below the input box. In the pop-up menu, choose Connect MCP and select the target service from the submenu, such as test-pub-mcp.