Connect AI to live apps with CloudBase-MCP, used by developers with 1.0k+ GitHub stars, for startup founders and AI developers.
1,049 stars131 forksTypeScriptQuality 8/10Updated 7/13/2026100% free ยท open source
What it does
CloudBase-MCP connects AI models to live applications, enabling developers to integrate AI capabilities into their apps seamlessly
Install / run
npm install @cloudbase/mcp
When to use it
โขWhen building AI-powered features into an existing application
โขWhen integrating multiple AI services into a single application
โขWhen deploying AI models to a cloud-based platform for scalability and reliability
Quick start
1Create a new MCP instance by running `const mcp = new MCP({ url: 'YOUR_MCP_URL' })`
2Configure the MCP instance by setting the `secretId` and `secretKey` properties, as shown in the example: `const mcp = new MCP({ url: 'YOUR_MCP_URL', secretId: 'YOUR_SECRET_ID', secretKey: 'YOUR_SECRET_KEY' })`
3Use the `mcp.invoke` method to call a cloud function, passing in the function name and any required parameters: `mcp.invoke('YOUR_FUNCTION_NAME', { param1: 'value1', param2: 'value2' })`
4Handle the response from the cloud function using the `then` method: `mcp.invoke('YOUR_FUNCTION_NAME', { param1: 'value1', param2: 'value2' }).then((response) => { console.log(response) })`
5Use the `mcp.event` method to listen for events emitted by the cloud function: `mcp.event('YOUR_EVENT_NAME', (event) => { console.log(event) })`