
Baserow Schema MCP
io.github.aficiomaquinas由 GitHub 帳號 aficiomaquinas 發布v2.0.2更新於 Oct 24, 2026
Generic Baserow API client MCP server with automatic 2FA (TOTP) auth and OpenAPI validation.
發布方自己的服務:Baserow
概覽
本機 MCP 伺服器,為助理提供完整的 Baserow REST API 通用用戶端,自動完成 TOTP 兩步驗證登入並依 OpenAPI 驗證路徑。
- 可以做什麼
- 以方法、路徑、選用 JSON 請求內容與查詢參數呼叫任意 Baserow API 端點,涵蓋資料表、欄位、檢視、篩選器、資料列與工作區管理端點,包含批次資料列操作與刪除。查詢目前驗證狀態、權杖到期時間與剩餘有效期,方便排查登入生命週期。請求會對照內建的 Baserow OpenAPI 規格檢查;未知路徑或方法不符時仍會執行,但會回傳警告並列出相似路徑或可用方法。
- 適用情境
- 當助理需要修改 Baserow 結構(資料表、欄位、檢視、篩選器)或存取精選資料列 CRUD 伺服器未開放的管理端點時使用,也適用於 Baserow 帳號強制要求 TOTP 兩步驗證的情況。
- 執行需求
- 以 Node.js 本機程序執行(需 Node.js 20 或更新版本),可從 npm 套件安裝或由原始碼建置。需要 Baserow 實例網址、帳號電子郵件、帳號密碼與帳號的 base32 TOTP 密鑰,透過環境變數 BASEROW_API_URL、BASEROW_USERNAME、BASEROW_PASSWORD 與 BASEROW_TOTP_SECRET 提供。Baserow 帳號須已啟用 2FA,且機器需能連線該實例。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Baserow Schema MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mcp-baserow-schema
MCP server for Baserow: a generic Baserow API client with 2FA authentication (TOTP) and OpenAPI validation.
One tool, the entire Baserow REST API. Schema changes (tables, fields, views, filters), row CRUD, workspace admin — anything documented in the OpenAPI spec is callable, with JWT auth handled automatically.
Why
Baserow's official MCP handles curated data CRUD but not the full API surface (schema changes, views, filters, admin endpoints). In 2026, plain password auth without 2FA is not acceptable. This MCP solves both:
- Full API access: any endpoint from the bundled Baserow OpenAPI spec via one generic tool
- 2FA support: automatic TOTP-based authentication — no manual token management
- OpenAPI guard: requests are validated against the spec; mistyped paths get a hint instead of a mystery 404
- Designed for agents: AI agents can modify table structure without human intervention
Tools (2)
baserow_api
Generic HTTP client for any Baserow API endpoint.
Examples:
Auth is handled automatically: just provide method, path, and optional body/query. If the OpenAPI spec doesn't recognize the path/method, the response is prefixed with a warning (⚠️ OpenAPI spec: ...) including similar paths — the request still executes (validation is non-blocking).
auth_status
Returns the current authentication state: authenticated, token expiry, and remaining lifetime of access/refresh tokens. Useful for debugging the auth lifecycle.
OpenAPI Validation
The server bundles the official Baserow OpenAPI spec (v2.2.2, 275 paths, openapi.json at the repo root). Before each request:
- Path + method found → request proceeds silently.
- Path exists, method wrong → warning lists the available methods for that path.
- Path unknown → warning plus up to 5 similar paths from the spec.
The spec is loaded lazily from dist/../openapi.json; if missing, validation is skipped gracefully and requests proceed unvalidated.
Authentication
Supports Baserow's two-step 2FA flow:
POST /api/user/token-auth/→ temporary 2FA token (~60 s)POST /api/two-factor-auth/verify/(with TOTP code) → JWT access_token + refresh_tokenPOST /api/user/token-refresh/→ new access_token, silently (no 2FA needed)
Token lifecycle:
- access_token: ~10 minutes (expiry read from the JWT
expclaim, refreshed 2 min before expiry) - refresh_token: ~7 days (full 2FA re-login 5 min before expiry)
- temp_token: ~60 seconds (only for the 2FA verify step)
Credentials are passed via environment variables — never hardcoded.
Setup
Prerequisites
- Node.js ≥ 20
- Baserow account with 2FA enabled
- Baserow TOTP secret (base32)
Install
Configure
Set environment variables (or use a .env file — see .env.example):
Hermes Agent
Add to ~/.hermes/profiles/<profile>/config.yaml:
Claude Desktop
Add to claude_desktop_config.json:
Field Types
Since baserow_api is a pass-through client, every Baserow field type is supported — the JSON body just needs to match the API contract for the endpoint. Reference list of field types:
text, long_text, url, email, number, rating, boolean, date, last_modified, last_modified_by, created_on, created_by, duration, link_row, file, single_select, multiple_select, phone_number, formula, count, rollup, lookup, multiple_collaborators, uuid, autonumber, password, ai
Endpoint details: consult the bundled openapi.json or the Baserow API docs.
Usage with Official Baserow MCP
Since v2, this MCP covers data operations too (rows, batches, search, sort), so the official Baserow MCP is optional:
- mcp-baserow-schema → everything: schema, data, views, filters, admin
- Official Baserow MCP → curated row-CRUD UX, if you prefer it for data work
Running both side by side is fine; they don't conflict.
Releasing
Maintainers: see docs/RELEASING.md. Releases are fully automated (release-it + GitHub Actions with OIDC trusted publishing) — never bump versions, tags, or server.json manually.
License
MIT
來源:README.md,提交 1ccfac9
工具
0版本歷史
1- v2.0.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
