buildin-mcp
Enables LLMs to interact with Buildin.ai workspaces, providing tools to manage pages, databases, blocks, search, users, and convert Markdown content.
README
buildin-mcp
An MCP (Model Context Protocol) server for Buildin.ai — gives LLMs (Claude Desktop, Claude Code, Cursor, etc.) full access to pages, databases, blocks, search, users, and Markdown helpers. 19 tools total.
Getting your API token
- Go to Buildin.ai Integrations
- Create a new Plugin
- In the permissions section, enable:
- Read data
- Write data
- Edit data
- Copy the generated token (starts with
sk-...)
Quick start
BUILDIN_API_TOKEN=sk-... npx buildin-mcp
The server starts on stdio and is ready to accept MCP requests.
Usage with MCP clients
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"buildin": {
"command": "npx",
"args": ["-y", "buildin-mcp"],
"env": {
"BUILDIN_API_TOKEN": "sk-..."
}
}
}
}
Claude Code
claude mcp add buildin -e BUILDIN_API_TOKEN=sk-... -- npx -y buildin-mcp
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"buildin": {
"command": "npx",
"args": ["-y", "buildin-mcp"],
"env": {
"BUILDIN_API_TOKEN": "sk-..."
}
}
}
}
Windsurf / any stdio MCP client
BUILDIN_API_TOKEN=sk-... npx -y buildin-mcp
OpenCode
Add to your project's opencode.jsonc or global ~/.config/opencode/opencode.jsonc (inside the "mcp" section):
"buildin": {
"type": "local",
"command": ["npx", "-y", "buildin-mcp"],
"environment": {
"BUILDIN_API_TOKEN": "sk-..."
},
"enabled": true
}
Note: OpenCode uses
"environment"(not"env") for passing environment variables to local MCP servers.
Install from source (optional)
git clone https://github.com/ekho/buildin-mcp.git
cd buildin-mcp
npm install
npm run build
node dist/index.js
Environment variables
| Variable | Required | Description |
|---|---|---|
BUILDIN_API_TOKEN |
yes | Plugin token from Buildin.ai |
BUILDIN_API_BASE_URL |
no | Override API base (default: https://api.buildin.ai/v1) |
BUILDIN_MCP_DEBUG |
no | Set to 1 for verbose debug logging to stderr |
Tools (19 total)
Pages (5)
buildin_create_page— POST /v1/pagesbuildin_get_page— GET /v1/pages/{id}buildin_update_page— PATCH /v1/pages/{id}buildin_archive_page— PATCH /v1/pages/{id} witharchived=truebuildin_get_page_children— GET /v1/blocks/{page_id}/children
Databases (4)
buildin_create_database— POST /v1/databasesbuildin_get_database— GET /v1/databases/{id}buildin_query_database— POST /v1/databases/{id}/querybuildin_update_database— PATCH /v1/databases/{id}
Blocks (5)
buildin_get_block— GET /v1/blocks/{id}buildin_get_block_children— GET /v1/blocks/{id}/childrenbuildin_append_block_children— PATCH /v1/blocks/{id}/childrenbuildin_update_block— PATCH /v1/blocks/{id}buildin_delete_block— DELETE /v1/blocks/{id}
Search & Users (2)
buildin_search— POST /v1/searchbuildin_get_me— GET /v1/users/me
Markdown helpers (3)
buildin_append_markdown— convert Markdown to Buildin blocks and appendbuildin_get_page_markdown— read a page's contents as Markdownbuildin_search_and_fetch— search + auto-fetch contents of the top N pages
Buildin.ai does not expose a Comments API or a hard-delete for pages — archive is the documented way to remove pages.
Development
- Runtime: Node 18+, TypeScript 5.6, ESM.
- Transport: stdio only.
- Logging: stderr only — stdout is reserved for MCP JSON-RPC. Never
console.log. - Retries: automatic on 429 and 5xx (except 501), exponential backoff, 3 attempts.
Verify
npm run typecheck # tsc --noEmit
npm run build # compiles to dist/
npm test # unit tests for markdown converters
npm run smoke # stdio JSON-RPC: initialize + tools/list must return 19 tools
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。