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

Rustpad MCP Server

作者:ni-c版本 0.4.0i★ –i在你的电脑上运行
注册名称io.github.ni-c/rustpad-mcp

安装

概览

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

MCP server for Rustpad, the self-hosted collaborative text editor

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:RUSTPAD_URL

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: RUSTPAD_URL, RUSTPAD_READ_ONLY, RUSTPAD_INSECURE_TLS, RUSTPAD_ALLOW_TOOLS, RUSTPAD_DENY_TOOLS

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "rustpad": {
      "command": "npx",
      "args": [
        "-y",
        "rustpad-mcp"
      ],
      "env": {
        "RUSTPAD_URL": "your-value",
        "RUSTPAD_READ_ONLY": "your-value",
        "RUSTPAD_INSECURE_TLS": "your-value",
        "RUSTPAD_ALLOW_TOOLS": "your-value",
        "RUSTPAD_DENY_TOOLS": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add rustpad --env RUSTPAD_URL=your-value --env RUSTPAD_READ_ONLY=your-value --env RUSTPAD_INSECURE_TLS=your-value --env RUSTPAD_ALLOW_TOOLS=your-value --env RUSTPAD_DENY_TOOLS=your-value -- npx -y rustpad-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "rustpad": {
      "command": "npx",
      "args": [
        "-y",
        "rustpad-mcp"
      ],
      "env": {
        "RUSTPAD_URL": "your-value",
        "RUSTPAD_READ_ONLY": "your-value",
        "RUSTPAD_INSECURE_TLS": "your-value",
        "RUSTPAD_ALLOW_TOOLS": "your-value",
        "RUSTPAD_DENY_TOOLS": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "rustpad": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "rustpad-mcp"
      ],
      "env": {
        "RUSTPAD_URL": "your-value",
        "RUSTPAD_READ_ONLY": "your-value",
        "RUSTPAD_INSECURE_TLS": "your-value",
        "RUSTPAD_ALLOW_TOOLS": "your-value",
        "RUSTPAD_DENY_TOOLS": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • RUSTPAD_URL 必填 env
    Base URL of the Rustpad instance, e.g. https://rustpad.example.net
  • RUSTPAD_READ_ONLY env
    Exactly 'true' registers only the 3 read tools
  • RUSTPAD_INSECURE_TLS env
    Exactly 'true' accepts a self-signed certificate, scoped to this connection
  • RUSTPAD_ALLOW_TOOLS env
    Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
  • RUSTPAD_DENY_TOOLS env
    Comma-separated tool names or list_* prefixes to remove from whatever RUSTPAD_ALLOW_TOOLS left

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“其他”中的其他服务器比较i

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

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

常见问题

Rustpad MCP Server 安全吗?

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

它需要哪些密钥或代码?

你需要填写:RUSTPAD_URL

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Aiterm MCP

替代选择

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

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

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

Aiterm MCP

作者:kitepon

Persistent terminals and one launcher for Claude, Codex, Grok, Cursor, and Antigravity harnesses.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

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

rustpad-mcp

A Model Context Protocol (MCP) server for Rustpad, the efficient, minimal, self-hosted collaborative text editor.

Lets MCP clients like Claude Code, Claude Desktop or Codex read and write the pads of a Rustpad instance: fetch a document, create one, replace it wholesale or edit it in place.

Eight tools is the ceiling, not the floor: RUSTPAD_ALLOW_TOOLS=essential registers a curated five instead, and a model picks the right tool far more reliably from five than from eight — see choosing which tools load.

Reads go through Rustpad's HTTP API; writes speak the operational-transformation WebSocket protocol, so targeted edits (append_to_document, replace_in_document) merge cleanly with what human collaborators type at the same time instead of overwriting it. While the server edits a pad, it is visible to everyone in the pad as a collaborator named rustpad-mcp.

The two edits that cannot be undone ask a person. Where the client supports MCP elicitation, replacing a non-empty pad and search-replacing across more than one match raise a real dialog that the model cannot answer on its behalf — and the replace_in_document one says how many places are about to change. Where it does not, they fall back to a two-call token, and say so rather than implying somebody approved. ELICITATION=false takes that fallback deliberately; it never removes the guard. See Asking a person.

What makes it different

Real OT edits, not overwrites. append_to_document and replace_in_document retain everything they do not touch, and the Rustpad server transforms concurrent edits — a human typing in the same pad at the same moment loses nothing. The model shows up in the pad as a named collaborator.

Built for an unauthenticated world. Rustpad has no accounts, so every pad is untrusted by definition. Everything that comes out of one — reads, metadata, even upstream error bodies — is explicitly marked as data, never instructions, before a model sees it.

Requirements

  • A reachable Rustpad instance (self-hosted; the server is stateless and needs no credentials — Rustpad has no authentication)
  • Node.js >= 24, or Docker

Configuration

VariableRequiredDescription
RUSTPAD_URLyesBase URL of the instance, e.g. https://rustpad.example.net
RUSTPAD_READ_ONLYnotrue, 1 or yes registers only the read tools
RUSTPAD_INSECURE_TLSnotrue accepts self-signed certificates (scoped to this connection only)
RUSTPAD_ALLOW_TOOLSnoComma-separated tool names, list_* prefixes, or essential for a curated preset
RUSTPAD_DENY_TOOLSnoSame syntax; removed from whatever RUSTPAD_ALLOW_TOOLS left
ELICITATIONnofalse replaces the approval dialog with the two-call token. Not prefixed

The same URL serves the HTTP API, the WebSocket endpoint and the share links returned by the tools ( /# ). The RUSTPAD_* booleans must be exactly true. The server starts and lists its tools without configuration; every call then fails with setup instructions.

ELICITATION is the odd one out twice over: it carries no prefix, so it reaches every MCP server in the same environment, and a value that is neither true nor false stops the server rather than falling back — it is the only variable here that defaults to _on_, and a typo would otherwise leave the dialog running while you believed it was off. A server started with it off prints one line saying so.

Keep in mind what Rustpad is: pads are ephemeral (lost on server restart and after 24 hours of inactivity, unless the instance is run with SQLITE_URI) and anyone who knows a pad id can read and write it. Do not put secrets in pads.

Choosing which tools load

RUSTPAD_ALLOW_TOOLS and RUSTPAD_DENY_TOOLS take comma-separated tool names; a trailing * matches a whole family. essential is a curated preset of five: get_document, get_document_info, create_document, set_document, append_to_document.

RUSTPAD_ALLOW_TOOLS=essential

RUSTPAD_ALLOW_TOOLS=get_document,append_to_document RUSTPAD_DENY_TOOLS=set_document

One boundary is softer than the list suggests: Rustpad has no create operation, a pad exists under any id the moment it is written to, so denying create_document does not stop new pads — set_document or append_to_document on a fresh id makes one just the same. Deny the write tools you mean, or use RUSTPAD_READ_ONLY.

An entry that matches no tool aborts startup and names it, so a typo cannot silently hide a tool — an absent tool is not something anyone traces back to an environment variable. A filtered tool is never registered, so it is absent from tools/list and unknown to tools/call alike, exactly like a write tool under RUSTPAD_READ_ONLY.

If you run several of these servers at once, mcp-hub is the other answer — its /hub endpoint replaces every server's tools with six meta-tools.

Installation

Claude Code
claude mcp add rustpad --env RUSTPAD_URL=https://rustpad.example.net -- npx rustpad-mcp
Claude Desktop
{

"mcpServers": { "rustpad": { "command": "npx", "args": ["rustpad-mcp"], "env": { "RUSTPAD_URL": "https://rustpad.example.net" } } } }

Codex

~/.codex/config.toml:

[mcp_servers.rustpad]

command = "npx" args = ["-y", "rustpad-mcp"]

[mcp_servers.rustpad.env] RUSTPAD_URL = "https://rustpad.example.net"

Docker
docker run -i --rm -e RUSTPAD_URL=https://rustpad.example.net ghcr.io/ni-c/rustpad-mcp
Through mcp-hub

A client that cannot spawn a local process — ChatGPT connectors, Claude on the web, Cursor, LibreChat — reaches rustpad-mcp through mcp-hub: one container serves many stdio MCP servers over Streamable HTTP, with an OAuth 2.1 login behind a single password and long-lived tokens for the clients that cannot do OAuth. Its /hub endpoint puts every server behind six meta-tools, so one connector reaches all of them without N×tool schemas in the model's context, and it speaks both protocol revisions — a question this server asks travels through it to the person at the far end.

Its /config/mcp.json uses Claude Code's format, so the entry is the one you already have:

{

"mcpServers": { "rustpad": { "command": "npx", "args": ["-y", "rustpad-mcp"], "env": { "RUSTPAD_ALLOW_TOOLS": "essential" }, "denyTools": ["set_document"] } } }

allowTools and denyTools there are the hub's own per-server filter, which is not the same thing as *_ALLOW_TOOLS in env — the difference, and the mistake it invites, are in the client guide.

Tools

ToolDescription
get_documentRead the plain-text content of a pad
get_document_infoContent length, revision, language and the users editing right now
get_statsServer statistics (uptime, number of documents)
create_documentCreate a pad (random or chosen id), optionally with content and language
set_document 👤Replace the entire content — a non-empty pad asks a person first
append_to_documentAppend text; concurrent edits elsewhere survive
replace_in_document 👤Exact search & replace via OT; asks when it changes more than one place
set_languageSet the Monaco syntax-highlighting language

👤 asks a person through MCP elicitation · falls back to a two-call confirm_token where the client cannot show a dialog.

With RUSTPAD_READ_ONLY=true only the first three are registered.

Structured output

Every tool declares an outputSchema and answers with structuredContent alongside the text block, so a client can use the result without parsing prose. The five write tools used to answer with a sentence — _"Appended 12 characters to pad …"_ — and the sentence is still there, in the text block:

{

"id": "notes", "url": "https://rustpad.example/#notes", "appended_characters": 12, "characters": 137, "note": "Pads are ephemeral: …", }

get_document answers {text} rather than the pad as the whole result, for the same reason get_document_info has always been an object: a schema whose root is a string is served to a 2025-era client rewritten as {result: …}, so the tool would answer in two shapes depending on who asked. It is also where empty and truncated can live — an empty answer used to be a sentence.

The two read tools that report pad content carry untrusted: true and source: "rustpad" as fields. A pad is world-writable to anyone who knows its id, including text this server wrote earlier, and a client that reads the structured half would otherwise get it with no framing at all.

Not exposed, on purpose

No pad listing — Rustpad has no such API. Pads exist implicitly under every id, so you have to know the ids you care about. get_stats reports how many documents the server currently holds, but not their names.

No accounts, no permissions. Rustpad has neither, which is why every pad is treated as untrusted input rather than as something a login vouched

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

问 PopNx