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

Stateark

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

安装

概览

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

Local-first version control for AI work. Savepoint and resume your project state across chats.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

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

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "stateark": {
      "command": "npx",
      "args": [
        "-y",
        "stateark"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add stateark -- npx -y stateark

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "stateark": {
      "command": "npx",
      "args": [
        "-y",
        "stateark"
      ]
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "stateark": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "stateark"
      ]
    }
  }
}

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

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

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

Stateark 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

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

替代选择

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

如何看卡片:★ 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昨天更新
安装

AvaHR

作者:avahr.com

Read hiring data and create inactive assessment and questionnaire drafts for human review.

在云端运行今天更新
安装

作者的 README

打开 README

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

StateArk

Never explain your project to an AI twice.

Your chat is a workspace, not an archive. StateArk turns a working session into a versioned, portable project state that any new chat can pick up. Open terminal and write:

npx stateark

Then quit Claude Desktop completely (Cmd+Q) and reopen it. That is the whole install.

*(Prefer to install from source? npm install && npm run build && npm run setup — see INSTALL.md. Undo any time with npx stateark remove.)*

Here what we had in mind developing stateark - we address a problem millions of users have...

You:  ...three hours of work...

You: Savepoint -> my-project v0.3 written to ~/StateArk

(next day, new chat, empty context)

You: Resume my-project -> decisions, constraints, rejected approaches, open questions, and the actual files - all current, none of the detours

Local by default. Savepoints are ordinary folders of Markdown, JSON and your real files. Nothing is uploaded. If StateArk disappears tomorrow, you still have everything.

~/StateArk/projects/my-project/v0.3/

state.md <- the canonical state, readable in any editor state.json manifest.json <- every artifact with its SHA-256 artifacts/ app.py schema.sql

Commands

In the chatWhat happens
Savepointconsolidate the session into a new version
Resume load the latest state into a fresh chat
History list the versions
Diff what actually changed between two savepoints
In the terminal
npx statearkregister with Claude Desktop
npx stateark reportanonymised local usage summary, printed for you only
npx stateark removeunregister; savepoints are kept

What makes it more than a summary

  • Carry-forward. Files you do not re-submit are copied into the new version with their original hash, so a forgetful model cannot silently lose your schema.
  • Integrity checks. StateArk cannot see your chat - so it checks what it *can*: truncation markers (// ... rest unchanged), files that collapsed in size, files the state describes but never handed over, savepoints identical to their predecessor. It warns, it never blocks: the savepoint is always written.
  • Journal. Between savepoints the model quietly records turning points, so a Savepoint at the end of a long session does not depend on a degraded context. Only for projects you already saved once - scratch conversations are never touched.

Requirements

Node 20+. Claude Desktop, or Claude Code (claude mcp add --transport http ...). It also runs under other local MCP hosts — users have it working with Codex and Hermes against the same store.

Hosted clients that dial your server from the vendor's cloud (Claude web, ChatGPT web) cannot reach localhost. See INSTALL.md.

Several agents at once

Supported, and worth saying plainly because it is the setup that broke first. Writes to a project are serialised across processes, so two agents cannot claim the same version number. If a savepoint reports that another process is busy, repeat it in a moment — nothing is lost. A process that dies mid-write releases its lock automatically.

If your store lives in Dropbox, OneDrive or iCloud Drive: several agents on one machine are fine. Two machines writing the same store simultaneously is a sync conflict, which the sync client resolves and StateArk cannot.

VariableDefault
STATEARK_LOCK_WAIT_MS60000how long to wait for another process before giving up
STATEARK_LOCK_STALE_MS120000when a lock is assumed to belong to a dead process
STATEARK_FS_RETRIES6retries when a sync client holds a file open

Licence

Elastic License 2.0. Use it for anything including commercially, read and modify the source, share the package. You may not offer it to third parties as a hosted or managed service. Your savepoints are yours and are not covered by this licence.


Architecture

ChatGPT / Claude / Gemini-capable MCP client

| v StateArk Local Agent <- 127.0.0.1 only, by default | v ~/StateArk/projects <- SOURCE OF TRUTH | | optional v Supabase <- mirror / backup / transport

A Savepoint is an ordinary directory, not a proprietary database:

StateArk/projects/my-project/

journal.ndjson # entries recorded since the last savepoint project.json # index (self-healing: rebuilt from disk if corrupt) v0.3/ state.md # human- and LLM-readable canonical state + integrity warnings state.json # the same state, structured meta.json # version, lineage, platform, sync status, warnings manifest.json # artifacts with SHA-256, stored/pending, carried_forward_from journal.ndjson # the entries this savepoint consolidated artifacts/ app.py schema.sql prototype.zip

If StateArk disappears, those files remain usable.

Install

Requires Node 20+.

npm install

npm run typecheck npm test # 97 checks against a throwaway store — run this first npm start

No .env is needed for local-only mode. Copy .env.example to .env only if you want to change the port, the store location, or enable the Supabase mirror.

On first run StateArk generates a random access key and stores it in ~/StateArk/.access-key (mode 0600). The startup banner prints your endpoints:

MCP:         http://localhost:8787/mcp/<key>

Upload page: http://localhost:8787/upload/ Health: http://localhost:8787/health

Security model

The HTTP entrypoint is a local server on your own machine, so StateArk assumes any web page you visit is hostile:

ControlDefault
Bind address127.0.0.1 (STATEARK_BIND to change)
Access keyrandom per install, in /.access-key, constant-time compared
Origin headerloopback only, plus STATEARK_ALLOWED_ORIGINS
Host headerloopback only, plus STATEARK_ALLOWED_HOSTS (DNS-rebinding guard)
CORSechoes the validated origin, never *
Upload formsingle-use CSRF token, capped body size
Non-loopback bindrefuses to start unless the access key is ≥ 24 chars

Before exposing the agent over HTTPS: set a long STATEARK_ACCESS_KEY, set STATEARK_ALLOWED_HOSTS to your tunnel hostname, and put a real reverse proxy in front.

Platform reality

Local-first and hosted LLMs are different networking environments. Claude Desktop/Code and other local MCP clients can talk to the local agent directly. A hosted ChatGPT/Gemini client generally cannot reach localhost on your computer. For those you would need a secure HTTPS route to your running local agent — remote access is on the roadmap and does not exist yet.

If you are setting this up, in this order:

  1. run StateArk locally;
  2. test Savepoint and Resume from a local MCP client;
  3. enable Supabase sync only if you actually want a mirror;
  4. expose the agent over HTTPS only after the three steps above work.

Local-only mode — the default

Leave SUPABASE_URL, SUPABASE_SECRET_KEY and STATEARK_OWNER_ID unset. Cloud sync stays off and files never leave the machine. Default store: ~/StateArk (override with STATEARK_LOCAL_ROOT).

This is what you get out of the box. The Supabase section below is opt-in.

Local + Supabase sync

Run the migrations in the Supabase SQL editor, in order:

  1. supabase/migrations/001_stateark.sql
  2. supabase/migrations/002_artifacts.sql
  3. supabase/migrations/003_hardening.sql

Then set SUPABASE_URL, SUPABASE_SECRET_KEY (server-side Secret key, never a publishable key), STATEARK_OWNER_ID, and STATEARK_STORAGE_BUCKET.

Cloud is a mirror, not the master:

  • the local savepoint is committed first and a cloud failure cannot invalidate it;
  • cloud deletion does not delete local data;
  • sync status lives in meta.json (disabled / pending / synced / failed);
  • retry a failed push with the sync_savepoint tool.

Text/code artifacts up to 2 MB are mirrored inline in Postgres; everything else goes to the private Storage bucket. The mirror is not end-to-end encrypted — the Supabase project can read what it stores. Sync is off by default for exactly that reason; turn it on only for a project you would be comfortable putting in any hosted database.

Savepoint behaviour

When you say Savepoint, the host LLM should:

  • reconstruct the latest valid state rather than summarise chronology;
  • retain governing decisions, requirements and constraints;
  • keep rejected approaches only when the reason matters;
  • send exact text/code as transfer=text;
  • send binary bytes as transfer=base64 only when truly available;
  • otherwise mark the artifact transfer=pending instead of fabricating it;
  • omit files that have not changed — they are carried forward automatically;
  • never abbreviate a file with ... rest unchanged.

Local creation is atomic: StateArk writes a temporary bundle and renames it only when complete. Artifact names are sanitised; if a name had to be changed, manifest.json records the original under original_name.

Integrity checks

Every savepoint is compared against its predecessor. Findings are returned in the tool result and rendered at the top of state.md. The savepoint is always written — a check never costs you work, it only tells the model to come clean.

CodeMeaning
artifact_carried_forwardfile was not re-submitted and not declared deleted, so it was copied from the previous version
artifact_became_pendingcontent that was stored is now only pending
artifact_shrankfile collapsed to under 50% of its previous size
truncation_markerstored text contains ... rest unchanged, [...], … gekürzt and similar
no_changethis savepoint is identical to the previous one
journal_not_reflecteddecisions were journalled but the submitted state lists none
artifacts_mentioned_but_missingthe state text names a file (schema.sql, app.py, …) that was never handed over as an artifact

The last one is the check that matters most in practice. StateArk cannot read your chat, so a filename appearing in the prose is the only available clue that the model *described* a file instead of preserving it. The warning is phrased as a question, because a named file may legitimately be planned or live outside the conversation.

Journal

note_event records one short line per turning point, silently, and only for projects that already exist in StateArk. Untracked projects return tracked: false and nothing is written — that is the filter that keeps scratch conversations out.

At the next Savepoint the journal is consolidated into the new version and cleared. It is never cleared before the savepoint is durably on disk.

Inspect pending entries with the journal tool. Nudging is based on entry count (STATEARK_JOURNAL_NUDGE_AT, default 20), never on a timer.

Diff

diff_savepoints with no version arguments compares the latest savepoint against its predecessor: LCS line diff on the text fields, set diff on the lists, SHA-256 comparison on the artifacts, plus an attention block for anything that looks like silent loss.

Artifacts

Every stored artifact has a SHA-256. Pending files are explicit in manifest.json and in the resume_project output, so the LLM cannot quietly pretend a file exists.

If a binary cannot travel through MCP, open the local upload page printed at startup and attach it to the existing project/version. This resolves the pending manifest entry.

Resume

`Resume My Projec

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

问 PopNx