Using in MCP Host
Applications that support MCP are called MCP Host. The following are some currently available MCP Host:
- Cursor
- Claude Desktop
- Cherry Studio
- ...
These MCP Hosts all provide an entry point for configuring the MCP Server. Taking Cursor as an example, we can configure the mcp.json
file through the following steps to connect to the Cloud Development MCP Server:
- Ensure the system has a Node.js environment (recommended version >= 18)
- Go to Cloud Development Platform to obtain API KEY
- Obtain the cloud hosting service name of the MCP Server
- Based on your MCP Server transport type, edit the
mcp.json
configuration:
- Streamable HTTP
- SSE
- POST
{
"mcpServers": {
"your-server-name": {
"command": "npx",
"args": [
"-y",
"@cloudbase/mcp-transformer",
"streamableToStdio",
"--url",
"https://your-env-id.api.tcloudbasegateway.com/v1/cloudrun/your-service-name/messages",
"--token",
"your-token"
]
}
}
}
{
"mcpServers": {
"your-server-name": {
"command": "npx",
"args": [
"-y",
"@cloudbase/mcp-transformer",
"sseToStdio",
"--url",
"https://your-env-id.api.tcloudbasegateway.com/v1/cloudrun/your-service-name/messages",
"--token",
"your-token"
]
}
}
}
{
"mcpServers": {
"your-server-name": {
"command": "npx",
"args": [
"-y",
"@cloudbase/mcp-transformer",
"postToStdio",
"--url",
"https://your-env-id.api.tcloudbasegateway.com/v1/cloudrun/your-service-name/messages",
"--token",
"your-token"
]
}
}
}
In the above configuration, replace the following content:
your-server-name
: MCP Server nameyour-token
: API KEY obtained from the Cloud Development Platformyour-env-id
: CloudBase environment IDyour-service-name
: Cloud hosting service name
You can refer to the guidance under the Use MCP
Tab on the Cloud Development Platform MCP details page to proceed with the integration.