# Flarelink (npm · @flarelink/mcp)

Build on the Flarelink stack — Cloudflare auth, D1, and R2 — from your AI coding tools.

- Trust score: 71/100 (medium)
- Change this week: +18
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@flarelink/mcp`: 71/100 (this document), [markdown](https://verifymcp.io/servers/dev-flarelink-mcp/flarelink-mcp.md), [page](https://verifymcp.io/servers/dev-flarelink-mcp/flarelink-mcp)

## Channel facts

- Registry: `npm`
- Package: `@flarelink/mcp`
- Version: `0.1.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 46 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 85/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 628 tokens (~52/item across 12 items; 11 tools + 1 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add dev-flarelink-mcp -- npx -y @flarelink/mcp
```

### Codex

```bash
codex mcp add dev-flarelink-mcp -- npx -y @flarelink/mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "dev-flarelink-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@flarelink/mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add dev-flarelink-mcp --command npx --arg -y --arg @flarelink/mcp
```

### Hermes

```yaml
mcp_servers:
  dev-flarelink-mcp:
    command: "npx"
    args: ["-y", "@flarelink/mcp"]
```

### Other

```json
{
  "mcpServers": {
    "dev-flarelink-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@flarelink/mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 71, +11)

- [security regression] Install scripts: pass → unverified
- [security regression] Provenance: fail → unverified
- [security improvement] Known CVEs: unverified → partial
- [functional regression] License: pass → unverified
- [functional regression] Maintenance: pass → unverified
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Stability: unverified → 0.23
- [functional] Licence: MIT

### 2026-08-01 (score 60, +5)

- [security regression] Known CVEs: partial → unverified
- [security improvement] Malware scan: unverified → pass
- [functional regression] Dependency health: partial → unverified

### 2026-07-31 (score 55, +20)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 35, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 53)

First indexed and scored.

## MCP tools (11)

### `flarelink_stack_overview` (~58 tokens)

Flarelink stack overview

Read this first. The Flarelink stack (Cloudflare auth via better-auth + KV sessions, D1, R2), its cardinal rules, and the two deployment shapes. Call before building auth/database/file features on Cloudflare.

### `flarelink_scaffold` (~47 tokens)

Scaffold a Flarelink-stack app

How to bootstrap a complete, working Flarelink-stack app (auth + D1 + R2): clone command, one-click deploy, file map, and where to add features.

### `flarelink_list_patterns` (~33 tokens)

List Flarelink code patterns

List the available canonical code patterns (keys + what each is for). Use flarelink_get_pattern to fetch one.

### `flarelink_get_pattern` (~90 tokens)

Get a Flarelink code pattern

Return the canonical, copy-pasteable code for one Flarelink-stack recipe (auth setup, route guards, identifier-safe D1 queries, R2 uploads/presigning, wrangler bindings, SDK usage). Prefer these over inventing your own — they encode the security + cost rules.

Input parameters:

- `pattern` (string, required): Which pattern to fetch. Use flarelink_list_patterns to see the options.

### `flarelink_sdk_reference` (~63 tokens)

@flarelink/client SDK reference

Signatures and return shapes for the @flarelink/client SDK (auth / storage / db). Use when the app talks to a hosted Flarelink auth Worker rather than embedding better-auth.

Input parameters:

- `surface` (string): Which surface to return. Defaults to all.

### `flarelink_cost_patterns` (~68 tokens)

Cloudflare cost-optimization patterns

Design guidance (not a live usage meter) for keeping a Cloudflare bill near zero. Optionally describe the feature you are building to get targeted hints first.

Input parameters:

- `feature` (string): Optional: describe the feature/data shape (e.g. "user avatar uploads") for targeted hints.

### `flarelink_whoami` (~44 tokens)

Flarelink — who am I

Verify the FLARELINK_API_KEY and show the signed-in user plus the active Cloudflare connection and project. Call this first to confirm management tools are wired up.

### `flarelink_list_projects` (~23 tokens)

Flarelink — list projects

List the Flarelink projects on the active Cloudflare connection.

### `flarelink_list_databases` (~36 tokens)

Flarelink — list D1 databases

List the D1 databases attached to the active Flarelink project (id, name, whether it hosts the auth module).

### `flarelink_query_database` (~121 tokens)

Flarelink — query a D1 database

Run a SQL statement against one of the project's D1 databases via Flarelink. Use bound parameters (? placeholders + params) — never concatenate user input. Returns rows + query meta (duration, rows_read/written). This runs with full database access; prefer SELECT unless you intend to write.

Input parameters:

- `databaseId` (string, required): D1 database id (uuid) — from flarelink_list_databases.
- `params` (array): Values bound to the ? placeholders, in order.
- `sql` (string, required): SQL with ? placeholders for any values.

### `flarelink_list_buckets` (~25 tokens)

Flarelink — list R2 buckets

List the R2 buckets attached to the active Flarelink project.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/dev-flarelink-mcp/flarelink-mcp#diagnostics

## Score history

- 2026-08-03: 71
- 2026-08-02: 71
- 2026-08-01: 60
- 2026-07-31: 55
- 2026-07-30: 35
- 2026-07-28: 53
- 2026-07-27: 53

## Links

- npm package: https://www.npmjs.com/package/@flarelink/mcp
- Socket report: https://socket.dev/npm/package/@flarelink/mcp
- Repository: https://github.com/flarelink-dev/mcp
- Website: https://flarelink.dev/
- Changelog RSS feed: https://verifymcp.io/servers/dev-flarelink-mcp/flarelink-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/dev-flarelink-mcp/flarelink-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/dev-flarelink-mcp/flarelink-mcp
