
Flarelink
dev.flarelink由 flarelink.dev 发布v0.1.2更新于 Oct 24, 2026
Build on the Flarelink stack — Cloudflare auth, D1, and R2 — from your AI coding tools.
概览
本地 MCP 服务器,为 AI 编程工具提供 Flarelink 技术栈(Cloudflare 认证、D1、R2)的规范与代码模式,并可选地查看和查询你的 Flarelink 项目。
- 可以做什么
- 阅读技术栈总览、核心规则与部署形态
- 获取完整应用的脚手架步骤与文件结构
- 浏览并获取规范代码模式,涵盖认证、路由守卫、标识符安全的 D1、R2 上传与预签名、wrangler 绑定
- 查询 SDK 签名与返回结构,以及成本优化建议
- 配置 API 密钥后:验证密钥、列出项目、D1 数据库与 R2 存储桶,并对项目数据库执行参数化 SQL
- 将技术栈指南作为资源附加为上下文
- 适用场景
- 适合在 Cursor、Claude Code、Windsurf 等支持 MCP 的编辑器中开发 Flarelink 技术栈应用时使用,让助手遵循该技术栈的安全与成本规则而不是自行猜测。若还希望助手查看并查询真实项目,再配置 API 密钥。
- 运行要求
- 通过 npx 从 npm 包 @flarelink/mcp 以 stdio 在本地运行,需要 Node.js,无需安装步骤。知识与脚手架工具无需凭据;管理类工具需要 FLARELINK_API_KEY,需在 Flarelink 控制台获取并写入 MCP 配置的环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Flarelink,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@flarelink/mcp
An MCP server that teaches your AI coding tool to build correctly on the Flarelink stack — Cloudflare auth (better-auth + KV sessions), D1, and R2 — from inside Cursor, Claude Code, Windsurf, and anything else that speaks MCP.
It hands the agent the security and cost rules up front (user-scoping, identifier-safe SQL, KV sessions, presigned R2) so the generated code is right the first time, instead of the agent guessing and you debugging.
Install
No install needed — run it with npx. Add it to your tool's MCP config:
Claude Code
Cursor / Windsurf / Claude Desktop (mcp.json / config):
The FLARELINK_API_KEY is optional. Without it you still get all the
knowledge + scaffolding tools. With it, the management tools (below) can
drive your actual Flarelink projects. Mint a key at
dash.flarelink.dev → API keys.
Tools
It also exposes the stack guide as a resource (flarelink://stack-guide) you can attach as context.
Management tools (need FLARELINK_API_KEY)
Drive your actual Flarelink projects from the editor. These route through the Flarelink dashboard API and act exactly as you would in the UI.
Without a key they return a clear "set FLARELINK_API_KEY" message. The key has the same access as your Flarelink login — treat it like a password.
License
MIT. Part of Flarelink — the dashboard for the Cloudflare developer stack.
来源:README.md,提交 6835582
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分