framework-mcp

io.github.81labsapps-ops由 GitHub 账号 81labsapps-ops 发布v0.3.0更新于 Oct 24, 2026

Verified, version-pinned answers about fast-moving frameworks for coding agents.

已验证Streamable HTTP可网页运行知识与记忆开发者工具

概览

AI 生成的概览

一个远程 MCP 服务器,为编码代理提供关于快速演进框架(如 Expo、Next.js、Supabase、Prisma)的经核实、锁定版本的答案。

可以做什么
用 ping 工具检查服务健康状态,并列出所有已覆盖的框架与版本及条目数量,便于助手确定要查询的 slug 和版本。按框架、版本和问题查询经核实的答案,返回一个查询 ID。上报返回的答案是否真正有效,可附备注。目前覆盖 Expo SDK、Next.js、Supabase、Prisma、Vercel AI SDK 和 Nuxt,条目均对照官方来源核实。
适用场景
当编码代理准备依赖其记忆中的某个快速演进依赖行为时,用它获取锁定版本的经核实答案。最适合所覆盖框架的升级与迁移问题。
运行要求
远程 Streamable HTTP 端点,无需本地安装。需要在 Authorization 请求头中提供 bearer API 密钥,可在提供方网站输入邮箱获取(每个邮箱一个有效密钥,有速率限制)。需要能访问托管端点。
安装前请注意
API 密钥是放在 Authorization 请求头中的机密,请妥善保管。注册需向提供方提交邮箱地址。结果上报工具会把关于答案的反馈发送到服务器。覆盖范围仅限所列框架和版本,答案的新旧程度取决于标注的核实日期。

安装

在 SourceWeft 中

  1. 打开 控制台中的 framework-mcp,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.81labsapps-ops%2Fframework-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "framework": {
      "type": "http",
      "url": "https://framework-mcp-production.up.railway.app/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

framework-mcp

A dependency currency-check layer for coding agents: a remote MCP server that gives coding agents (Claude Code, Cursor, etc.) verified, version-pinned answers about fast-moving frameworks - Expo, Next.js, Supabase, Prisma, and growing.

Why: LLM training data goes stale faster than framework release cycles. Agents keep re-guessing the same version-specific questions instead of checking a verified, version-pinned source. This server is that source - not a single-framework tool, but a general layer any coding agent can query before trusting what it "remembers" about a dependency's current behavior.

Stack

Node 24 + TypeScript, @modelcontextprotocol/sdk over Streamable HTTP transport (stateful, session-per-connection), Express, Postgres (pg), API-key auth via the SDK's own requireBearerAuth middleware.

Hosting: Railway (compute, ~$5/mo Hobby plan) + Neon (Postgres, free tier, branchable).

Local setup

  1. Create a free Neon account and project. Copy the connection string for a dev branch.
  2. cp .env.example .env and fill in DATABASE_URL (from Neon) and API_KEY_PEPPER (any long random string - generate one with node -e "console.log(require('crypto').randomBytes(32).toString('hex'))").
  3. Install, migrate, seed, build:
    bash
    npm installnpm run db:migratenpm run db:seednpm run build
  4. Create yourself an API key:
    bash
    npm run create-api-key -- "my laptop"
    This prints the raw key once - save it, it's not recoverable.
  5. Run locally:
    bash
    npm run dev
    curl http://localhost:3000/health should return ok.

Verify with MCP Inspector

bash
npx @modelcontextprotocol/inspector

Connect to http://localhost:3000/mcp with transport "Streamable HTTP" and set an Authorization: Bearer <your-api-key> header in the connection settings. Confirm all 3 tools (ping, query_framework_doc, report_outcome) list and are callable.

Deploy to Railway

  1. curl -fsSL agents.railway.com | sh then railway login.
  2. From this repo: railway init (or railway link if a project already exists).
  3. Set env vars (dashboard, or railway variable set KEY=value): DATABASE_URL (your Neon production branch connection string, separate from your dev branch), API_KEY_PEPPER, NODE_ENV=production.
  4. railway up.
  5. In the Railway dashboard: Settings → Networking → Generate Domain. Set PUBLIC_HOSTNAME to that domain (needed for the SDK's DNS-rebinding host check to allow real traffic).
  6. Run npm run db:migrate && npm run db:seed once against the production DATABASE_URL (from your machine, pointed at the prod connection string).
  7. Create a production API key with npm run create-api-key, pointed at the prod DATABASE_URL.

Get an API key

Self-service: visit https://framework-mcp-production.up.railway.app/, enter an email, get a key instantly (one active key per email, rate-limited).

Maintainer/local fallback: npm run create-api-key -- "label".

Connect a remote client

In a Claude Code .mcp.json:

json
{  "mcpServers": {    "framework-mcp": {      "type": "http",      "url": "https://<your-railway-domain>/mcp",      "headers": { "Authorization": "Bearer <your-api-key>" }    }  }}

Tools

  • ping(message) - health check
  • list_frameworks() - lists every framework/version covered, with entry counts - call this first if you don't know the exact slug/version to pass below
  • query_framework_doc(framework, version, question) - look up a verified answer, returns query_id
  • report_outcome(query_id, worked, note?) - log whether the returned answer actually worked

Coverage

FrameworkVersionEntriesSource
Expo SDK54.0.020expo.dev/changelog/sdk-54
Next.js16.3.220nextjs.org/blog, nextjs.org/docs upgrade guide
Supabase (supabase-js)2.112.320supabase.com/changelog, GitHub releases
Prisma ORM7.9.120prisma.io/docs upgrade guide, prisma.io/changelog
Vercel AI SDK7.0.7720ai-sdk.dev migration guides, vercel.com/blog
Nuxt4.5.220nuxt.com/docs upgrade guide, nuxt.com/blog

All entries verified 2026-08-22 against the official sources cited in each seed file under db/seed/. To add a framework: create a new db/seed/<slug>.json following the existing files' shape, then npm run db:seed (it picks up every *.json in that folder automatically).

Status

Self-service signup live at / (email -> instant API key, one per email, IP rate-limited). Published to the official MCP Registry (registry.modelcontextprotocol.io) and submitted to mcpservers.org and Glama (both pending review). Not on Smithery (their OAuth-discovery scanner doesn't support simple static bearer-key auth) or mcp.so (no free listing tier).

Deferred (Stage B, not built yet): Stripe billing, plan_tier / credit_balance / rate-limit-enforcement-per-key on api_keys, scoring/ranking on feedback.

来源:README.md,提交 e8e4b1a

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v0.3.0最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分