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

nudg

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

安装

概览

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

Write, check and compare UI interactions (springs, gestures, states) for web, iOS and Android.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

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

你需要

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

你用的是哪个应用?

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

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

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

在终端中运行这条命令

claude mcp add nudg -- npx -y @nudg/core mcp

在 Cursor 中打开

或者自己复制设置

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

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

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

在 VS Code 中打开

或者自己复制设置

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

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

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

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

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

nudg 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

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

替代选择

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

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

GitHub

作者:github

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

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

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

在你的电脑上运行★ 10,225MIT16天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

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

nudg

The interaction format your AI can nudge.

[Try all 49 examples in the live demo →](https://seukwoo.github.io/nudg/demo/)

nudg describes a UI interaction in a small JSON file next to your component: its states, the events that move between them, and the motion in between. Your AI coding tool edits the file, nudg checks the edit, and a tiny runtime plays it in your app.

Think of it as sheet music

The `.nudg.json` file is the scorewhich parts move, in which states, and how they get there
The runtimes are the rules of performanceTypeScript, Swift and Kotlin play the same score the same way, and a shared conformance suite proves it
Your AI is the arranger"bouncier" changes one marking, not the whole piece
You are the directoryou watch before and after, side by side, and pick the better take

Say "bouncier", see before and after, judge

   "animate": {
  • "knob.x": { "spring": { "duration": 0.35, "bounce": 0.25 } },
  • "knob.x": { "spring": { "duration": 0.35, "bounce": 0.6 } },

Everyday words map to single fields: *bouncier* is bounce, *slower* is duration. The component code doesn't change.

And it shows you, without being asked. nudg_compare plays both versions under the same tap and says first whether you'd even notice (*"A clear change: knob.x moves up to 2.1 units differently, settles 0.23 s later"*, or *"Nothing a person will notice; look at an exaggerated version first"*), then lays real frames of before and after side by side: in the browser for web apps, and in SwiftUI and Compose on the app's own views. You judge by looking.

A whole interaction in one file

This is the toggle above, complete:

{

"nudg": "1.1", "targets": ["knob", "track"], "values": { "knob.x": 0, "track.color": "#D1D5DB" }, "animate": { "knob.x": { "spring": { "duration": 0.35, "bounce": 0.25 } }, "track.color": { "tween": { "duration": 0.2, "ease": "out" } } }, "initial": "off", "states": { "off": { "when": { "track.tap": "on" } }, "on": { "set": { "knob.x": 20, "track.color": "#4ADE80" }, "when": { "track.tap": "off" } } } }

  • States say where. In on, the knob sits at 20 and the track is green.
  • `animate` says how. The knob springs there; the color tweens.
  • `when` says what moves between states. A tap on the track.

Interrupt it mid-flight and the spring carries its velocity into the new direction, with nothing extra to write.

Your component binds its parts by name, and nudg plays the file on them:

import { useNudg } from "@nudg/core/react";

import toggle from "./toggle.nudg.json";

function Toggle() { const { bind } = useNudg(toggle); return (

); }

The look is yours (size, shape, the knob's resting place); the file moves it. Values go straight to the elements' styles, so the component doesn't re-render while things move. With Vite, add nudg() from @nudg/core/vite to the plugins: files are compiled at build time, a file with errors fails the build, and nudg adds about 14 kB gzipped instead of 28. Not using React? The DOM adapter binds data-nudg="knob" attributes instead; see Using nudg.

Native feel, one import

nudg ships the platforms' own motion as libraries in the same format: SwiftUI's springs, and Material 3's motion tokens, copied from their published values. They share common names like standard, quick and playful, so switching an interaction from iOS feel to Android feel is a one-line diff:

-  "import": ["./motion/apple.nudg.json"],
  • "import": ["./motion/material-expressive.nudg.json"], "animate": { "knob.x": "standard", "track.color": "fade" }

See platform motion for every name and value.

UI words become standard interactions

People don't usually ask for duration: 0.35 and bounce: 0.2. They say "make this a FAB", "use tabs", "show it as a bottom sheet", "let the row swipe to delete", or "make the toast feel more iOS". nudg is built to make those words map to reusable interaction patterns instead of one-off code guesses.

The direction is mobile-first: patterns such as fab, tab-bar, bottom-sheet, toast / snackbar, swipe-row, carousel, switch, slider, dialog, list, grid, voice-chat, video-call, camera, music-player and video-player should come with expected parts, states, gestures and platform motion. The host still owns the markup, layout and device APIs; nudg supplies the interaction behavior that an AI can edit and a person can judge.

human UI words

-> semantic pattern -> states, events, targets and motion -> compare / observe

Get started

npm install @nudg/core

npx nudg recipe toggle --source > toggle.nudg.json # a validated starter; npx nudg recipe lists them all

Give your AI agent the nudg tools over MCP. This is for Claude Code; any MCP client can run the same command:

claude mcp add nudg -- npx -y @nudg/core mcp

Or use the CLI yourself on the file:

npx nudg validate toggle.nudg.json

npx nudg simulate toggle.nudg.json --send track.tap@0.1

Node 22.4 or later. See Using nudg for every command and option.

Natural-language UI starts from a recipe

nudg maps familiar UI terms to versioned interaction contracts instead of asking an AI to reinvent them. A recipe names the expected parts, states, events, continuous inputs, host responsibilities, motion, known format gaps, and a validated starter:

npx nudg recipe "video chat"

npx nudg recipe sheet --json npx nudg recipe toggle --source > toggle.nudg.json

The catalog covers every shipped example, from switches, tabs and sheets to voice chat, camera and media players. Patterns the format can't express yet, such as menus, spinners and screen transitions, are listed too, without a starter, so the AI says which part the host does instead of improvising. Recipes remain ordinary nudg documents at runtime; they guide generation without making the core component-specific.

The simple case is one line

A press, a hover, a toggle or a toast needs no file. Presets are ready-made nudg documents:

import { useNudg, presets } from "@nudg/core/react";

const { bind } = useNudg(presets.press({ scale: 0.96 })); Save

import { playDoc } from "@nudg/core/dom";

import { presets } from "@nudg/core";

playDoc(presets.toast({ duration: 3 }), document.querySelector(".toast"));

When the options aren't enough, nudg preset press > press.nudg.json writes the same document as a file, and from there it's yours to edit, or your AI's.

Your AI checks its own work

An agent can't watch an animation, so nudg tells it what happened, in text and in pictures:

ToolWhat the agent gets
recipeA standard interaction contract and validated starter for a human UI term such as toggle, sheet or video chat.
validateEach problem with a stable code, a JSON pointer, and a hint that says how to fix it.
simulateStates and values over time for a list of events: "the knob overshoots to 20.57 and is at rest from 0.84 s".
plotA motion graph of every property, like the one below.
renderReal frames of your component, captured in a headless browser.
compareBefore and after under the same tap: whether a person would notice, then both side by side, and a page that plays them in slow motion. Point it at the running app and it opens in your browser.
critiqueWhether the motion is good, not only valid: too slow, late press feedback, invisible, bouncy fades, slow exits, short timeouts, no Escape. Each with a fix and its source.
observeHost truth: the real page, tapped and measured every frame, judged against the file. "The element left the page at 0.18 s; the release is never shown."

The examples site's playground has the same judge view live: Compare with original plays the original beside your edit, a tap on either reaches both, slow motion is a select, and the verdict updates as you type.

nudg plot output for the toggle, tapped again while still moving. The spring turns around smoothly instead of restarting.

How it works

The nudg core never draws anything. Events go in, property values come out, and a thin adapter applies them to your views:

 your app (web, React Native, SwiftUI, Compose, ...)

│ events: tap, drag, hover, focus, app events ▼ ┌──────────────── nudg core ────────────────┐ │ states + clock + motion math (headless) │ └────────────────────────────────────────────┘ │ values: knob.x = 18.3, track.color = #4ADE80 ▼ adapter sets them on your views

  • Deterministic. The same events at the same times always give the same values, so motion can be tested like any other code.
  • Portable. Any platform that can set a property and send an event can run nudg. The spec and a language-neutral conformance suite define the behavior, not one implementation.
  • Just JSON. No new syntax, no studio, readable diffs. The current JSON Schema gives editors completion, and the package exports its latest version as @nudg/core/schema.json.

Why

Interactive animation usually lives in binary files made in a dedicated studio. An AI can't edit them, a reviewer can't read the diff, and every small change goes back through that one tool. nudg keeps interactions as text in your repo, where your AI coding tool already works. More on the design.

Status

Stable. Version 1.5 (format 1.1) is on npm with a starter for every semantic recipe, taps, hovers, drags, throws and glides, pinches, long press and double tap, keyboard events, scroll direction and input thresholds, pausable timers, continuous app and scroll inputs, measured layout, entry keyframes, loops, staggered delays, screen transitions, a declared host interface, reduced motion, type-safe host names (nudg generate), one "motion is over" callback (onSettle) on every platform, screen-reader activation and adjusting on native, server rendering without a flash, and adapters for the DOM, React (with bridges to MUI, Radix and shadcn/ui), React Native, SwiftUI and Jetpack Compose. Within 1.x, files and APIs only gain; anything that breaks waits for 2.0. See the changelog.

The roadmap tracks development priorities and stage st

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

问 PopNx