Find answers to common questions about the MCP protocol and MCP services.
MCP protocol
- How is the MCP protocol implemented? MCP is an open standard protocol from Anthropic. For implementation details, see the official MCP website.
Deploying MCP services in the cloud
- Why does my Firecrawl/EverArt MCP Server report an error such as "Request usage limit reached" or "Insufficient balance"? Enter the service provider's API key. Ensure that you have enough free quota or a sufficient account balance.
- Why did my Notion/GitHub MCP Server fail to run and report an insufficient permissions error? Grant sufficient permissions to your API key. For more information, see the documentation for the specific MCP service.
Custom MCP services
- Can all MCP services be deployed and used without issues? No. MCP service providers might change or shut down their services. Alibaba Cloud Model Studio only provides a way to access these services and does not guarantee their continued availability.
-
My custom MCP service deployment failed. How can I troubleshoot it?
Confirm the following:
- The MCP service runs correctly on your local machine.
- The MCP service can be hosted in the cloud and does not require communication with a browser or local application.
- The installation method and configuration code are correct during deployment.
- Function Compute (FC) is activated, you have the required permissions, and your Alibaba Cloud account has no overdue payments.
-
Can I deploy an MCP service that I developed myself?
- Node.js: Publish the package to a public npm repository and deploy it using npx <package-name>.
- Python: Publish the package to the PyPI repository and deploy it using uvx <package-name>.
- Deployed on a remote server: Connect using Server-Sent Events (SSE).
-
Can Alibaba Cloud Model Studio MCP services be used in other MCP clients, such as Cline or Cherry Studio?
Yes. On the MCP service details page, copy the MCP service address from the Install section, add it manually in a client that supports Streamable HTTP or SSE, and configure the
Authorization: Bearer ${DASHSCOPE_API_KEY}request header. The console supports quick installation for Qoder, Codex, Claude Code, and Cursor. For more information, see External calls. - Can Alibaba Cloud Model Studio MCP services access a local database? No. At this time, MCP services cannot access your local resources.
- Why can't my MCP service access remote resources, such as an ApsaraDB RDS instance? MCP services are hosted on Function Compute (FC), which does not have a fixed public IP address. To allow your MCP service to access remote resources, such as an ApsaraDB RDS instance, you must configure an IP address whitelist for FC or establish a VPC connection.
- My MCP Server is in a private npm repository. Can I deploy it to Alibaba Cloud Model Studio? No, this is not supported at this time. You must publish the server to a public npm repository or use an SSE connection instead.
- If I deploy a custom MCP Server, can other people use it? No. Access is restricted to your Alibaba Cloud account and authorized RAM users.
- Why can't some local MCP Servers be deployed as custom services on Alibaba Cloud Model Studio? This is because they need to access local resources, such as files or hardware, that the cloud environment cannot access. You must deploy these types of services locally.
- My MCP Server has a new version. Will the custom MCP service deployed on Alibaba Cloud Model Studio be updated automatically? No. Services deployed using npx or uvx must be manually redeployed after a version update.
Error codes and troubleshooting for custom MCP services
Error code | Problem and possible causes | Troubleshooting |
|---|---|---|
11200044 - MCP_CONNECTION_REFUSED | The client cannot establish a connection to the target service, and the connection is refused. Possible causes:
|
|
11200045 - MCP_CONNECTION_TIMEOUT | The connection establishment timed out. Possible causes:
| We recommend that you retry 2 to 3 times first:
|
11200046 - MCP_REQUEST_TIMEOUT | The connection is established, but the wait for the response times out. Possible causes:
| We recommend that you retry 2 to 3 times first. If the issue persists:
|
11200047 - MCP_NETWORK_ERROR | Exceptions related to network reachability, domain name resolution, or connection interruption. Possible causes:
| We recommend that you retry 2 to 3 times first. If the issue persists:
|
11200048 - MCP_SSL_ERROR | TLS/SSL handshake or certificate verification failed. Possible causes:
|
|
11200049 - MCP_SERVER_HTTP_UNAUTHORIZED | HTTP 401: the request does not carry valid authentication, or the authentication has expired. Possible causes:
|
|
11200050 - MCP_SERVER_HTTP_FORBIDDEN | HTTP 403: the request is authenticated but does not have access permission. Possible causes:
|
|
11200051 - MCP_HTTP_RATE_LIMIT | HTTP 429: the request frequency exceeds the rate limit threshold. Possible causes:
|
|
11200052 - MCP_HTTP_CLIENT_ERROR | HTTP 4xx errors other than 400/401/403/404/405/429. Possible causes:
|
|
11200053 - MCP_HTTP_SERVER_ERROR | HTTP 5xx: an internal error of the server or gateway. Possible causes:
| We recommend that you retry 2 to 3 times first. If the issue persists:
|
11200054 - MCP_PROTOCOL_ERROR | The response cannot be parsed according to the MCP protocol. Possible causes:
|
|
11200055 - MCP_SESSION_NOT_FOUND | The session does not exist or has expired. Possible causes:
|
|
11200056 - MCP_UNKNOWN_ERROR | An exception that cannot be classified into the preceding categories. The returned message contains the original error content. Possible causes:
|
|
11200057 - MCP_INIT_TIMEOUT | No server-ready signal is received during the initialization phase. Possible causes:
| We recommend that you retry 2 to 3 times first. If the issue persists:
|
11200058 - MCP_SERVER_HTTP_METHOD_NOT_ALLOWED | HTTP 405: the endpoint does not accept the HTTP method used. Possible causes:
|
|
11200059 - MCP_SERVER_HTTP_NOT_FOUND | HTTP 404: the requested path does not exist. Possible causes:
|
|
11200060 - MCP_SERVER_HTTP_BAD_REQUEST | HTTP 400: the request format or parameters are invalid. Possible causes:
|
|
Integration with agent or workflow applications
-
Why can't my agent application call an MCP service, or why does it report a parameter error?
The agent decides which service to call and which parameters to use based on the prompt. Try the following:
- Optimize the prompt to clarify the intent.
- If that does not work, switch to a more powerful reasoning model, such as a Qwen 3 series model.
-
Does calling an MCP service increase model input or output tokens?
Yes. Calling an MCP service can increase both model input and output tokens.
- Input tokens increase: content obtained from the MCP service is passed to the model as context, which directly increases the number of input tokens.
- Output tokens increase: although calling the MCP service does not directly generate output tokens, the model gains richer contextual information and might generate more detailed and complete responses, which indirectly increases the number of output tokens.
- Can MCP services be integrated when calling the Qwen API? No. Alibaba Cloud Model Studio MCP services must be integrated into an agent or workflow application. They cannot be directly integrated when you call the Qwen API.