flAPI — 基於 DuckDB 的 SQL 即時 REST API 與 MCP 工具
flAPI 將 SQL 查詢轉換為生產就緒的 REST API 和 MCP 工具,基於 DuckDB 1.5.2 運行。它以單個二進制文件形式發布,內置認證、驗證和 DuckLake 緩存。
關於這個工具
flAPI 是一款開發工具,可將 SQL 查詢轉化為生產就緒的 REST API 和 MCP 工具,底層使用 DuckDB 1.5.2。它提供單個二進制文件,內置認證、驗證和 DuckLake 緩存。
主要功能
- SQL 轉 REST API:將 SQL 查詢直接暴露為 REST 端點。
- MCP 工具生成:為 AI 代理創建可發現、可認證、類型正確的 MCP 工具。
- AI 代理整合:透過結構化介面讓代理查詢企業資料,並在驗證下安全修改記錄。
- 認證與授權:支援 JWT/OIDC 主體,可限制工具僅允許特定角色存取。
- 錯誤分離:協議錯誤與工具執行錯誤分離,使模型能夠看到執行錯誤並自我修正。
- 靜態資源描述:代理可透過靜態資源預先了解結果結構,無需試錯即可規劃查詢。
適用場景
- 將 SQL 查詢暴露為 REST API
- 透過 AI 代理查詢企業資料
- 從 SQL 建立 CRUD API
- 雙向同步資料
- 為 AI 代理建構 MCP 工具 flAPI 面向企業團隊、AI/ML 團隊和開發者,支援 Linux、macOS 和 Windows 平台。採用免費增值模式。
功能與使用情境
" The spec deliberately separates protocol errors from tool-execution errors so the model sees the latter and self-corrects\d{1,2})?$' template-source: products-create✓Implementation SupportHands-on help deploying flAPI for complex enterprise use cases✓Partnership BenefitsPriority feature requests, dedicated support, and go-to-market collaboration✓Priority SupportDirect access to engineering team with guaranteed response SLAs🤖 AI Integration🤖 AI-Native1. Customer Support Agent2 posts tagged with "duckdb" View All Tags Your agent asked a question2. Create Minimal Configuration3 posts tagged with "mcp" View All Tags Your agent asked a question3. Create Your First Endpoint