
MCP 服务器用来与你的气泡项目交互
概览
一款模型上下文协议(MCP)服务器,使AI助手及其他兼容MCP客户端能够与 Bubble.io 应用交互。该服务器为任何Bubble应用中的读取和操作数据提供了标准化接口。 - :适用于任何 Bubble.io 应用 - :自动发现应用的数据类型和结构 - :为所有数据类型创建、读取、更新和删除操作 - :执行 Bubble 应用中定义的 API 工作流 - :尊重 Bubble 的隐私规则和约束 - :可配置访问级别以保障安全 - :为所有操作提供详细的类型信息 该服务器实现了模型上下文协议(MCP),这是一种开放协议,能够实现人工智能助手与外部系统之间安全、标准化的通信。虽然MCP由Anthropic开发,但其设计上是供应商中立的。
概述(AI 翻译)
一款模型上下文协议(MCP)服务器,使AI助手及其他兼容MCP客户端能够与 Bubble.io 应用交互。该服务器为任何Bubble应用中的读取和操作数据提供了标准化接口。
🚀 特色
- 通用气泡支持:适用于任何 Bubble.io 应用
- 自动发现:自动发现应用的数据类型和结构
- CRUD 操作:所有数据类型的创建、读取、更新和删除操作
- 工作流执行:执行在你的Bubble应用中定义的API工作流
- 隐私设置意识:尊重Bubble的隐私规则和约束
- 只读/读写模式:可配置访问级别以保障安全
- 类型安全:为所有操作提供详细的类型信息
🔌 MCP 兼容性
该服务器实现了模型上下文协议(MCP),这是一种开放协议,能够实现人工智能助手与外部系统之间安全、标准化的通信。虽然MCP由Anthropic开发,但其设计上是供应商中立的。
当前兼容客户端:
- Claude 桌面版 - 全面支持
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Bubble MCP
A Model Context Protocol (MCP) server that enables AI assistants and other MCP-compatible clients to interact with Bubble.io applications. This server provides a standardized interface for reading and manipulating data in any Bubble application.
🚀 Features
- Universal Bubble Support: Works with any Bubble.io application
- Auto-discovery: Automatically discovers your app’s data types and structure
- CRUD Operations: Create, Read, Update, and Delete operations for all data types
- Workflow Execution: Execute API workflows defined in your Bubble app
- Privacy Settings Aware: Respects Bubble’s privacy rules and constraints
- Read-only/Read-write Modes: Configurable access levels for safety
- Type-safe: Provides detailed type information for all operations
🔌 MCP Compatibility
This server implements the Model Context Protocol (MCP), an open protocol that enables secure, standardized communication between AI assistants and external systems. While MCP was developed by Anthropic, it’s designed to be vendor-agnostic.
Currently Compatible Clients:
- Claude Desktop - Full support
- Other MCP clients - Should work with any client that implements the MCP specification
Future Compatibility:
As MCP is an open protocol, we expect more AI assistants and tools to add support over time. This server will work with any client that properly implements the MCP standard.
📋 Prerequisites
- Node.js (v16 or higher)
- npm or yarn
- A Bubble.io application with API access enabled
- An MCP-compatible client (e.g., Claude Desktop)
🛠️ Installation
Local Development Setup
For Mac/Linux:
-
Clone the repository:
git clone https://github.com/nocoderoi/bubble_mcp.git cd bubble_mcp -
Install dependencies:
npm install -
Copy the example environment file:
cp .env.example .env -
Edit
.envwith your Bubble app details:nano .env # or use your preferred text editor -
Build the project:
npm run build
For Windows:
-
Clone the repository:
git clone https://github.com/nocoderoi/bubble_mcp.git cd bubble_mcp -
Install dependencies:
npm install -
Copy the example environment file:
copy .env.example .env -
Edit
.envwith your Bubble app details:notepad .envOr use any text editor to add:
BUBBLE_BASE_URL=https://your-app.bubbleapps.io BUBBLE_API_TOKEN=your-bubble-api-token-here MCP_MODE=read-write # Options: read-only, read-write -
Build the project:
npm run build
🔧 Configuration
Getting Your Bubble API Token
- Go to your Bubble app editor
- Navigate to Settings → API
- Enable “This app exposes a Data API”
- Generate an API token
- Copy the token to your
.envfile
Setting Up Your MCP Client
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"bubble": {
"command": "node",
"args": [
"/Users/yourname/projects/bubble_mcp/dist/mcp-server.js"
],
"env": {
"BUBBLE_BASE_URL": "https://your-app.bubbleapps.io",
"BUBBLE_API_TOKEN": "your-bubble-api-token-here",
"MCP_MODE": "read-write"
}
}
}
}