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