Updated on 2025-07-28 GMT+08:00

Creating an MCP Service

On the console, you can choose Agent App Dev > MCP Market to use preset MCP services, or choose Agent App Dev > Workstation and click MCP Service to create an MCP service. ModelArts Studio supports one-click adding of MCP services during intelligent agent and workflow application development, enhancing the capability of calling agent tools.

Using a Preset MCP Service

  1. Log in to ModelArts Studio Large Model Deveopment Platform. In the My Spaces area, click the required workspace.
    Figure 1 My Spaces
  2. In the navigation pane, choose Agent Dev.
  3. Choose MCP Market.
    Figure 2 MCP Market
  4. Search for the target service by attribute type or search for the MCP service name. Click the name of the target service to access its details page.
    Figure 3 Service details page
  5. Perform operations as prompted. If the MCP service requires API key authentication, enter the API key and click OK to enable the MCP service.

Creating a Custom MCP Service

If you already have tools and API resources available, you can use the MCP server to configure your MCP extension. After the MCP server is built, you only need to configure the corresponding tool on the agent development platform to create your own MCP service.

  1. Log in to ModelArts Studio Large Model Deveopment Platform. In the My Spaces area, click the required workspace.
    Figure 4 My Spaces
  2. In the navigation pane, choose Agent Dev.
  3. Click the MCP Service tab and click Create MCP Service.
  4. In the Create MCP Service dialog box, set MCP Service Name, English Name, MCP Service Address, Description, and Authorization check by referring to Table 1, and click Test and Next.
    Table 1 Parameters for configuring MCP service information

    Parameter

    Description

    MCP Service Name

    Chinese name of an MCP service, which is displayed externally.

    English Name

    English name of an MCP service, which uniquely identifies the MCP service in internal interaction. It is used in API calling, inter-system communication, and code reference. Ensure that the value is unique under the same tenant.

    MCP Service Address

    SSE address of the MCP service.

    • The service URL supports only HTTP and HTTPS.
    • The system checks whether the URL is in the standard format.
    • By default, the IP address corresponding to the URL cannot be an intranet IP address. Otherwise, the registration fails.
      NOTE:

      Public MCP services on the website and user-created MCP services are supported.

    Description

    MCP service description.

    Only I can see

    Whether to be visible only to the creator.

    Authorization check

    Whether authentication is required when the MCP service is called.

    • Without authentication: MCP services can be accessed publicly without any form of authentication or authorization.
    • API Key: A unique API key is provided for authentication when an MCP service is called.

    Set Secret Key Location to determine whether the secret information is contained in the header or query. Set the API key authentication parameter names and values.

    NOTE:

    If the service address contains authentication information, you are advised to use the authorization check (API Key) function of the platform.

    Figure 5 Creating an MCP Service
    Figure 6 Authorization check example
    Figure 7 Connectivity test succeeded
  5. After the test is complete, click OK.

Using the MCP Service

On the agent development platform, developers can add preset and custom MCP services when developing agent and workflow applications.

  • Configure the MCP service during agent development.

    Step 1: Log in to the agent development platform and choose Workstation from the navigation pane.

    Step 2: Click the Application tab page. On the page that is displayed, click Create App.

    Step 3: In the skill > MCP Service area on the agent development page, click Add . The MCP service selection page is displayed.

    Step 4: Select the required MCP service from the pre-installed services and personal services.

    Step 5: Click OK.

    Step 6: In the Preview Debugging area on the right, enter a question, for example, MCP, in the dialog box. View the call details.

  • Configure the MCP service during workflow application development.

    Step 1: Log in to the agent development platform and choose Workstation from the navigation pane.

    Step 2: Click the Workflow tab page. Click Create workflow.

    Step 3: On the workflow development page, drag the MCP Service node in the navigation pane to the workflow orchestration canvas.

    Step 4: In the Add MCP Service dialog box, select the required MCP service from the pre-installed MCP services or personal services.

    Step 5: Click Add.