MCP server for building on the Flarelink stack (Cloudflare auth + D1 + R2) from Cursor, Claude Code, and other AI tools — code patterns + project management.
claude mcp add mcp -- npx -y @flarelink/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": ["-y", "@flarelink/mcp"]
}
}
}MCP Servers overview
# @flarelink/mcp
An [MCP](https://modelcontextprotocol.io) 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**
```bash
claude mcp add flarelink -- npx -y @flarelink/mcp
```
**Cursor / Windsurf / Claude Desktop** (`mcp.json` / config):
```json
{
"mcpServers": {
"flarelink": {
"command": "npx",
"args": ["-y", "@flarelink/mcp"],
"env": { "FLARELINK_API_KEY": "flk_…" }
}
}
}
```
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](https://dash.flarelink.dev).
## Tools
| Tool | What it gives the agent |
| --- | --- |
| `flarelink_stack_overview` | The stack, cardinal rules, and deployment shapes. Read first. |
| `flarelink_scaffold` | How to bootstrap a complete working app (clone / one-click deploy) + file map. |
| `flarelink_list_patterns` | The catalog of canonical code patterns. |
| `flarelink_get_pattern` | Copy-pasteable code for one recipe (auth setup, route guards, identifier-safe D1, R2 upload/presign, wrangler bindings, SDK usage). |
| `flarelink_sdk_reference` | `@flarelink/client` signatures + return shapes (auth / storage / db). |
| `flarelink_cost_patterns` | Cloudflare cost-optimization guidance, with targeted hints for the feature you describe. |
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.
| Tool | What it does |
| --- | --- |
| `flarelink_whoami` | Verify the key; show the user + active connection/project. |
| `flarelink_list_projects` | List projects on the active Cloudflare connection. |
| `flarelink_list_databases` | List the project's D1 databases. |
| `flarelink_query_database` | Run a (parameterized) SQL statement against a project D1. |
| `flarelink_list_buckets` | List the project's R2 buckets. |
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](https://flarelink.dev) — the dashboard for the Cloudflare developer stack.
What people ask about mcp
What is flarelink-dev/mcp?
+
flarelink-dev/mcp is mcp servers for the Claude AI ecosystem. MCP server for building on the Flarelink stack (Cloudflare auth + D1 + R2) from Cursor, Claude Code, and other AI tools — code patterns + project management. It has 1 GitHub stars and was last updated today.
How do I install mcp?
+
You can install mcp by cloning the repository (https://github.com/flarelink-dev/mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is flarelink-dev/mcp safe to use?
+
flarelink-dev/mcp has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains flarelink-dev/mcp?
+
flarelink-dev/mcp is maintained by flarelink-dev. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/flarelink-dev-mcp)<a href="https://claudewave.com/repo/flarelink-dev-mcp"><img src="https://claudewave.com/api/badge/flarelink-dev-mcp" alt="Featured on ClaudeWave: flarelink-dev/mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。