原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

tieline

作者:nugehs版本 0.1.4i★ –i在你的电脑上运行
注册名称io.github.nugehs/tieline

安装

概览

作者提供的说明(英文原文)

Static FE-BE contract-drift checker: finds frontend calls the backend does not expose. CLI + MCP.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "tieline": {
      "command": "npx",
      "args": [
        "-y",
        "@nugehs/tieline",
        "mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add tieline -- npx -y @nugehs/tieline mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "tieline": {
      "command": "npx",
      "args": [
        "-y",
        "@nugehs/tieline",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "tieline": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nugehs/tieline",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 nugehs 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4929 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4929 个服务器的 19% 更新
  • 基础检查结果等于或优于此分类中其他 4929 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

tieline 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.4)于5个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github广泛使用★ 3.4万5天前更新

电脑或云端

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er广泛使用↓ 71万/周★ 1万17天前更新

在你的电脑上运行

Cloudflare MCP

Cloudflare MCP servers

作者:cloudflare正在增长★ 444614个月前更新

在云端运行✓ mcp.cloudflare.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

tieline

Static frontend↔backend contract-drift checker. Pact without writing a single contract test.

tieline reads the code you already wrote on both sides of an API boundary — the HTTP calls your frontend makes and the routes your backend exposes — and tells you where they disagree. No contract tests to author, no broker to run, no backend to boot. It finishes in well under a second and is built to run in CI as a gate.

Delete the LLM and a developer still installs it. tieline is a deterministic

tool first; an agent reading its output is a bonus.


How it works

  frontend code                                  backend code

(axios, rtk-query, …) (express, nestjs, openapi, …) │ │ client adapter server adapter │ normalize ${id} :id {id} → {} │ └───────────────► join on (METHOD, path) ◄──────┘ │ ✅ matched ❌ drift ⚠️ unverifiable 🟡 dead

Both sides are reduced to a canonical (METHOD, path) and joined. The matcher is adapter-agnostic — any client adapter pairs with any server adapter, so the same engine checks a React app against Express, an Angular app against Spring, or anything against an OpenAPI spec.

ResultMeaning
✅ matchedFE call resolves to a real BE route
❌ driftFE call resolves but the BE has no such route/method — the bug bucket
⚠️ unverifiableFE url is built at runtime — reported, never guessed
🟡 deadBE route no resolvable FE call reaches (informational)

tieline vs alternatives

These tools solve neighbouring problems — pick by what you have and what you want guaranteed.

ToolHow it worksWhat it catchesWhat it needsReach for it when
tielineStatic analysis of FE call sites + BE route declarations, joined on (METHOD, path)A frontend calling a route the backend doesn't expose (path/method drift), undocumented/phantom spec routesSource code of both sides; nothing running, nothing authoredYou want a sub-second CI gate with zero contract tests to write or maintain
[Pact](https://pact.io)Consumer-driven contract tests executed at runtime, shared via a brokerRequest/response payload mismatches between specific consumer–provider pairsContract tests written on both sides, a Pact broker, provider verification buildsIndependent teams need payload-level guarantees and a can-I-deploy workflow
[openapi-diff](https://github.com/OpenAPITools/openapi-diff)Diffs two OpenAPI documentsBreaking changes between two spec versionsAccurate specs for both versions; doesn't read source codeYour API surface is spec-first and you want to gate spec changes
[Optic](https://www.useoptic.com)Tracks your OpenAPI spec over time and diffs every change in CIBreaking changes and style/standards violations in the spec's historyAn OpenAPI spec kept in the repoYou govern an evolving spec and want each PR's API changes reviewed
[Schemathesis](https://schemathesis.io)Property-based fuzzing of a running API against its OpenAPI/GraphQL schemaServer crashes, schema violations, undocumented responses at runtimeA bootable backend + a schemaYou want runtime conformance and robustness testing of the implementation

They compose: tieline catches FE↔BE drift statically in every PR, tieline doctor keeps code↔spec honest, and a runtime tool like Pact or Schemathesis can guard the payload/behaviour layer underneath.


Quick start

Install (or run with npx):

npm install -g @nugehs/tieline

or, from a clone: git clone … && cd tieline && npm link

Generate a tieline.config.json — init sniffs the surrounding directories (cwd, its children, and its siblings) for known stacks and writes a ready-to-run config:

tieline init
  tieline · init

scanning ~/code for repos… ✔ client: rtk-query → web (roots: src/redux/apis) ✔ server: nestjs → api (roots: src)

📝 wrote tieline.config.json

It detects adapters from package.json deps (@reduxjs/toolkit, axios, @angular/core, @nestjs/core, express, fastify, next), requirements.txt / pyproject.toml (fastapi, flask), pom.xml / build.gradle (spring), and any OpenAPI doc as a fallback. Anything it can't detect is written as a placeholder for you to edit. The file is always overwritten, so re-run it whenever your layout changes.

Or write it by hand — at the root of (or above) your repos:

{

"client": { "adapter": "rtk-query", "repo": "../web", "roots": ["src/redux/apis"], "basePath": "/api/v1" }, "server": { "adapter": "nestjs", "repo": "../api", "roots": ["src"], "globalPrefix": "api/v1" }, "failOn": ["drift"] }

Run it:

tieline check
  tieline · contract check

❌ 2 drift (FE calls a route the backend does not expose) GET /users/{} getUser · web/src/redux/apis/user-api.ts:42 → did you mean "user/{}"? # plural vs singular — a guaranteed 404 PUT /orders/{} updateOrder · web/src/redux/apis/order-api.ts:88 → path exists but as GET, not PUT # method mismatch

✅ 274 matched ❌ 2 drift ⚠️ 6 unverifiable 🟡 31 unused backend routes

check exits non-zero when any failOn bucket is non-empty — drop it into CI and the build fails the moment the two sides disagree.


Commands

tieline init       # auto-detect nearby repos and write tieline.config.json

tieline check # FE↔BE drift; exits non-zero on drift (the CI gate) tieline list # the full resolved contract map (every endpoint + status) tieline orphans # backend routes no frontend call reaches tieline doctor # code↔spec drift (see below)

FlagEffect
--config Path to tieline.config.json (default: searched upward from cwd)
--jsonMachine-readable output
--html Self-contained visual report (see Visual report)
--no-failAlways exit 0 (report only)

Supported stacks

Any client adapter pairs with any server adapter — the matcher never changes.

Client (calls)Server (routes)
rtk-query — Redux Toolkit Querynestjs — decorators
axios-fetch — axios / fetch, React Query & SWR queryFnsexpress — app.use() mount graph, cross-file
angular-http — Angular HttpClientfastify — verb shorthand + route({})
next — file-based (app router + pages API)
fastapi — APIRouter prefix + include_router
flask — blueprints + methods=[]
spring — @RequestMapping + @*Mapping
openapi — universal: any OpenAPI 2/3 doc (file or URL)

That covers MERN (rtk/axios ↔ express), MEAN (angular ↔ express), MEVN (axios ↔ express), Next full-stack, Python (fastapi/flask), and enterprise (angular ↔ spring) — plus openapi for any backend that emits a spec (Express+swagger-jsdoc, FastAPI, Spring springdoc, .NET Swashbuckle, …).

Notes:

  • `express` walks the app.use() mount graph across require/import boundaries and nested routers; routers it can't reach are flagged, never dropped.
  • `next` is file-system routing — app-router files export GET/POST/…; pages-router handlers serve any verb (matched as ALL).
  • Runtime-built urls (e.g. `users/${id}?x=${q}` ) are surfaced as unverifiable rather than guessed.

Configuration

tieline.config.json — repo paths resolve relative to the config file.

{

"client": { "adapter": "rtk-query", // rtk-query | axios-fetch | angular-http "repo": "../web", "roots": ["src/redux/apis"], // dirs to scan for call sites "basePath": "/api/v1" // stripped from call sites before matching }, "server": { "adapter": "nestjs", // nestjs | express | fastify | next | fastapi | flask | spring | openapi "repo": "../api", "roots": ["src"], "globalPrefix": "api/v1", // stripped from routes before matching "spec": "openapi.json" // openapi adapter & doctor only — file path or URL }, "ignore": ["internal/.*"], // regexes on the normalized path "failOn": ["drift"] // buckets that make check exit non-zero }


Visual report

tieline check --html report.html writes one self-contained file (inline CSS/JS, no external assets) you can open in any browser or attach to a PR:

  • a contract-flow diagram — frontend resources on the left, backend on the right, curved links coloured green (matched) / red (drift), with a ∅ no route node catching calls that land nowhere; hover a resource to highlight its links
  • a health ring, summary cards, and live-filterable drift / unverifiable / unused tables

tieline doctor — does your code match your published docs?

doctor diffs routes parsed from source (a native adapter like nestjs) against the routes declared in your OpenAPI spec (server.spec):

  tieline · doctor   code (nestjs)  ↔  spec (http://localhost:9999/doc-json)

❌ 4 undocumented (in code, missing from the published spec) GET /billing/invoices src/billing/billing.controller.ts:54 POST /webhooks/stripe src/webhooks/webhooks.controller.ts:21 ... 👻 1 phantom (in the spec, no matching route in code)

✅ 312 agree ❌ 4 undocumented 👻 1 phantom (316 code routes, 313 spec routes)

  • undocumented — working routes invisible to anyone generating an SDK or partner integration from the spec.
  • phantom — the spec promises a route the code no longer serves (stale docs).

Run it alongside check and your spec can never silently drift from your code.


Use as an MCP server

tieline ships an MCP server so an agent can ask "do these two repos still agree?" and get the same structured result the CLI produces — no LLM does the analysis, the deterministic engine does. It's still zero-dependency: the server is hand-rolled stdio JSON-RPC, no SDK.

Register it with any MCP client (Claude Code, Claude Desktop, …):

{

"mcpServers": { "tieline": { "command": "npx", "args": ["-y", "-p", "@nugehs/tieline", "tieline-mcp"] } } }

Or, from a global install (npm i -g @nugehs/tieline), just "command": "tieline-mcp".

It exposes five tools, each returning JSON:

ToolArgsReturns
tieline_checkconfig?totals + drift + unverifiable (the drift gate)
tieline_listconfig?the full resolved contract map
tieline_orphansconfig?backend routes no frontend call reaches
tieline_doctorconfig?undocumented + phantom (code ↔ spec)
tieline_initcwd?auto-detect nearby repos, write a config

config defaults to searching upward from the server's working directory, exactly like the CLI — so an agent dropped into a repo with a tieline.config.json can just

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx