MCP Product Association with Cloud-Native Gateway Instance Documentation
This topic describes how partners can enable an AI Gateway instance for dedicated MCP instances in Alibaba Cloud Marketplace.
Overview of Enabling AI Gateway for Alibaba Cloud Marketplace MCP Dedicated Instances
To publish native MCP products in Alibaba Cloud Marketplace, partners must use Alibaba Cloud AI Gateway to host their MCP services and associate them with the published MCP products. Alibaba Cloud AI Gateway handles request routing, user authentication, and service monitoring for MCP services. Alibaba Cloud Marketplace is deeply integrated with AI Gateway. When publishing a product, partners only need to provide the MCP service endpoint address and backend authentication details. The marketplace automatically deploys the MCP service on AI Gateway and associates it with the published product.
Alibaba Cloud Marketplace offers two types of AI Gateway instances for partners: shared instances and dedicated instances.
Differences Between Shared and Dedicated Instances
-
Shared instances are provided by the Alibaba Cloud Marketplace platform. The platform currently covers all resource fees, so partners incur no additional cost. These instances are multi-tenant and have limits on concurrent connections and queries per second (QPS). Each MCP service is limited to less than 100 QPS and 1,000 concurrent connections. They are suitable for proof-of-concept (POC) stages or scenarios with low performance requirements.
-
Dedicated instances are ideal for partners who require high stability and performance, such as high concurrency or strict response time requirements. Partners create their own Alibaba Cloud AI Gateway instance and authorize the marketplace to publish MCP services using that instance. Dedicated instances are exclusive to the partner, support high availability with a service-level agreement (SLA) of at least 99.99%, and allow flexible scaling. Partners bear the associated resource fees.
In summary, if you choose a dedicated instance, you must create and configure an AI Gateway instance for it. The following sections describe the configuration steps.
Create an AI Gateway Instance
Order an AI Gateway Instance
Evaluate your performance and capacity needs to determine the appropriate instance type before you create an AI Gateway instance. For more information, see Create a gateway instance.
AI Gateway Cost Details
The costs for enabling AI Gateway include the following:
-
AI Gateway billing fees. For more information, see Billing overview.
-
Pay-as-you-go or subscription fees for the instance
-
Data processing fees
-
-
Internet traffic fees for public network access to AI Gateway. For more information, see Internet traffic.
-
Internet NAT Gateway fees. These fees are optional and apply when backend services are accessed over the public network. For more information, see NAT Gateway billing.
Configure AI Gateway
Install the Request/Response Transformation Plugin
If you use AI Gateway with Alibaba Cloud Marketplace MCP dedicated instances, you must install the request/response transformation plugin beforehand to pass through backend authentication information. For more information about how to install this plugin on your AI Gateway instance, see Manage plugins.
On the AI Gateway > Plugins page, search for transformer. From the results, select the Request/Response Transformation plugin under the Transport Protocol category, provided by the Higress community, and install it.
Configure NAT Gateway for Public Network Access (Optional)
If the MCP service endpoint and AI Gateway communicate over the public network, you must configure a NAT Gateway to allow the AI Gateway instance to access the public network.
Configure NAT Gateway and Add SNAT Entries
Follow the instructions in Internet NAT Gateway to create a NAT Gateway in the VPC where your AI Gateway instance resides and associate it with an Elastic IP address (EIP). Then, follow the instructions in the same document to configure SNAT entries on the NAT Gateway to allow the AI Gateway instance to access the public network.