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

LegendKeeper

作者:chase-roohms版本 0.1.2i★ –i在你的电脑上运行
注册名称io.github.chase-roohms/legendkeeper-mcp

安装

概览

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

Read and build LegendKeeper worlds from AI assistants: wiki pages, maps, timelines, facts and tags.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 旅行、地图与天气
  • 你需要填写:LEGENDKEEPER_API_KEY

安装

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

安装之前

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

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "legendkeeper": {
      "command": "uvx",
      "args": [
        "legendkeeper-mcp"
      ],
      "env": {
        "LEGENDKEEPER_API_KEY": "your-value",
        "LEGENDKEEPER_READ_ONLY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add legendkeeper --env LEGENDKEEPER_API_KEY=your-value --env LEGENDKEEPER_READ_ONLY=your-value -- uvx legendkeeper-mcp

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "legendkeeper": {
      "command": "uvx",
      "args": [
        "legendkeeper-mcp"
      ],
      "env": {
        "LEGENDKEEPER_API_KEY": "your-value",
        "LEGENDKEEPER_READ_ONLY": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "legendkeeper": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "legendkeeper-mcp"
      ],
      "env": {
        "LEGENDKEEPER_API_KEY": "your-value",
        "LEGENDKEEPER_READ_ONLY": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • LEGENDKEEPER_API_KEY 机密 必填 env
    LegendKeeper project API key (Project Settings → Developers → API Keys). The project owner needs a paid plan.
  • LEGENDKEEPER_READ_ONLY env
    Set to true to expose only reading tools.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“旅行、地图与天气”中的其他服务器比较i

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

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

常见问题

LegendKeeper 安全吗?

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

它需要哪些密钥或代码?

你需要填写:LEGENDKEEPER_API_KEY

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

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

它还在维护吗?

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

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv), Docker。

有什么可以替代它?

同一分类中有:MapNetwork, Wikivoyage MCP, String Db MCP

替代选择

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

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

MapNetwork

Generate styled PNG/SVG map images of places in Japan with 11 customizable color themes.

作者:toruproject起步阶段↓ 49/周今天更新

电脑或云端

Wikivoyage MCP

Wikivoyage travel guides: search destinations MCP: real tools for real work.

作者:mrfentmen非常新↓ 110/周今天更新

在你的电脑上运行

String Db MCP

STRING protein networks: map identifiers and list interaction partners with confidence scores

作者:mrfentmen非常新↓ 151/周今天更新

在你的电脑上运行

作者的 README

打开 README

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

legendkeeper-mcp

An MCP server that lets AI assistants (Claude, Copilot, Cursor, …) read and build your LegendKeeper worlds: wiki pages, infobox facts, map pins, timelines, tags, templates and images, through LegendKeeper's official v3 REST API.

Unofficial. This project is not made, endorsed or supported by LegendKeeper. It runs locally on your machine

with your own API key.

You: Create a tavern called The Drunken Dragon in Waterdeep, give it an infobox with its owner and

a pin on the city map, and mention it on Volo's page. Claude: (search → create_resource → set_facts → create_map_feature → write_page) Done! ...

Contents

  • Features
  • Requirements
  • Quick start
  • Client setup
  • Configuration
  • Tools
  • How pages are edited (Markdown)
  • Safety
  • Troubleshooting
  • Development
  • Releasing

Features

  • 31 curated tools designed for LLMs. Resources accept names as well as ids, and errors explain how to fix them. An api_request escape hatch reaches every other v3 endpoint.
  • Pages as Markdown, both ways. [[Wiki Links]] become real LegendKeeper mentions. Callouts, GM-only secrets, collapsible sections, task lists, tables and images are supported. Blocks Markdown can't express (infoboxes, embeds, collections…) are preserved verbatim on rewrite. See How pages are edited.
  • Section-level editing: append, prepend, replace or extend one heading's section without touching the rest of the page. Every write is version-checked (If-Match), so concurrent edits in the app are never silently overwritten.
  • Structured worldbuilding: infobox and sidebar facts, map pins/regions/paths (lat/lng or image pixels), timeline events and lanes (human dates such as "3 March 1204"), templates, batch creation of up to 100 linked resources, and image uploads from disk or URL.
  • Multiple worlds from one server (one API key per world), plus a read-only mode.
  • Two transports: stdio for desktop clients, or a long-running Docker container serving streamable HTTP behind a bearer token.
  • Robust client: retries with backoff, honors Retry-After, idempotency keys on every POST so retries never double-create, and rate-limit tracking.
  • Contract-tested: the test suite runs against a fake API that validates every request and response against LegendKeeper's published OpenAPI spec. A weekly CI job re-checks against the latest spec.

Requirements

  1. A LegendKeeper project whose owner is on a paid plan. LegendKeeper only accepts API keys for those (a trial does not count), and answers 402 PAID_PLAN_REQUIRED otherwise.
  2. An API key: in LegendKeeper open your project, go to Project Settings → Developers → API Keys, name the key, pick a role and create it. Copy the lk_… secret; it is shown only once.
  • Member keys can read and write content.
  • Admin keys can also see and create hidden resources and GM secrets, read tags (list_tags falls back to counting tags itself for Member keys), see member emails and save templates.
  • A key never has more rights than its creator, and only works in its own project.
  1. One of: uv (recommended), Docker, or Python ≥ 3.11 with pip.

Quick start

Pick one. All of them read the key from LEGENDKEEPER_API_KEY.

uvx (no install):

LEGENDKEEPER_API_KEY=lk_... uvx legendkeeper-mcp check   # verify the key

Docker:

docker run -i --rm -e LEGENDKEEPER_API_KEY=lk_... ghcr.io/chase-roohms/legendkeeper-mcp:latest check

pip:

pip install legendkeeper-mcp

legendkeeper-mcp check

check prints the world each configured key opens, then exits. Without check, the command starts the MCP server on stdio, which is what desktop clients launch for you (see below).

Before the first PyPI release, use `uvx --from git+https://github.com/chase-roohms/legendkeeper-mcp

legendkeeper-mcp, or build the image yourself with docker build -t legendkeeper-mcp .`.

Long-running HTTP server (Docker Compose):

cp .env.example .env              # set LEGENDKEEPER_API_KEY and MCP_AUTH_TOKEN (openssl rand -hex 32)

docker compose up -d # serves http://localhost:8000/mcp, bound to 127.0.0.1 only curl http://localhost:8000/healthz

Point HTTP-capable clients at http://localhost:8000/mcp with the header Authorization: Bearer . Images placed in ./uploads can be uploaded with upload_image (source: /uploads/ ).

Client setup

Ready-to-use files are in examples/.

Claude Desktop: add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude:

{

"mcpServers": { "legendkeeper": { "command": "uvx", "args": ["legendkeeper-mcp"], "env": { "LEGENDKEEPER_API_KEY": "lk_your_key_here" } } } }

VS Code (.vscode/mcp.json, the key is prompted for and stored securely):

{

"inputs": [{ "type": "promptString", "id": "lk-key", "description": "LegendKeeper API key", "password": true }], "servers": { "legendkeeper": { "type": "stdio", "command": "docker", "args": ["run", "-i", "--rm", "-e", "LEGENDKEEPER_API_KEY", "ghcr.io/chase-roohms/legendkeeper-mcp:latest"], "env": { "LEGENDKEEPER_API_KEY": "${input:lk-key}" } } } }

Claude Code:

claude mcp add legendkeeper --env LEGENDKEEPER_API_KEY=lk_... -- uvx legendkeeper-mcp

Cursor, Windsurf, others: same command/args/env as Claude Desktop, in the client's MCP config file.

Configuration

Everything is configured with environment variables. CLI flags (--transport, --host, --port, --read-only) override them.

VariableDefaultDescription
LEGENDKEEPER_API_KEY—API key for the project named default.
LEGENDKEEPER_API_KEY_ —Additional worlds. LEGENDKEEPER_API_KEY_HOMEBREW becomes project homebrew.
LEGENDKEEPER_API_KEY_FILE, LEGENDKEEPER_API_KEY_ _FILE—Read the key from a file (Docker secrets).
LEGENDKEEPER_DEFAULT_PROJECTdefault, else the first nameWhich world tools use when project is omitted.
LEGENDKEEPER_PROJECT_ID, LEGENDKEEPER_PROJECT_ID_ discoveredSkip the lookup of the project id behind a key.
LEGENDKEEPER_READ_ONLYfalseOnly register reading tools; api_request allows GET only.
LEGENDKEEPER_BASE_URLhttps://www.legendkeeper.comAPI origin (for proxies and mocks).
LEGENDKEEPER_TIMEOUT30Request timeout in seconds.
LEGENDKEEPER_MAX_RETRIES3Retries for 429/5xx/network errors.
LEGENDKEEPER_UPLOAD_ROOTunrestricted (/uploads in Docker)upload_image may only read files under this directory.
LEGENDKEEPER_MAX_UPLOAD_MB25Maximum image size.
LEGENDKEEPER_ALLOW_URL_UPLOADStrueAllow upload_image to download from http(s) URLs.
LEGENDKEEPER_LOG_LEVELINFOLog level (logs go to stderr; keys are never logged).
MCP_TRANSPORTstdiostdio or http (streamable HTTP).
MCP_HOST127.0.0.1 (0.0.0.0 in Docker)HTTP bind address.
MCP_PORT8000HTTP port.
MCP_PATH/mcpHTTP endpoint path.
MCP_AUTH_TOKEN, MCP_AUTH_TOKEN_FILE—Bearer token required on every HTTP request (except /healthz).
MCP_ALLOW_UNAUTHENTICATEDfalsePermit HTTP on a non-loopback address without a token (not recommended).
MCP_ALLOWED_HOSTS—Comma-separated host:port values; enables DNS-rebinding protection (e.g. localhost:8000).
Multiple worlds
LEGENDKEEPER_API_KEY_HOMEBREW=lk_aaa

LEGENDKEEPER_API_KEY_STRAHD=lk_bbb LEGENDKEEPER_DEFAULT_PROJECT=homebrew

Every tool takes an optional project argument ("strahd"), and list_projects shows what is configured.

Tools

AreaTools
Discoverlist_projects, browse_tree, search, get_resource, list_tags, list_templates, list_calendars, list_members, list_assets
Readread_document: pages as Markdown, maps as features with coordinates, timelines as lanes/events, boards as text. format: "json" returns raw API data.
Pageswrite_page (modes append, prepend, replace, replace_section, append_to_section)
Resourcescreate_resource, create_resources (batch ≤ 100, nested via key/parent_key), update_resource (name, tags add/remove, aliases, icon, banner, hidden, locked), move_resource, delete_resource, restore_resource, create_from_template
Documentscreate_document (page/map/time/board), update_document, delete_document
Factsset_facts: key-value facts in the page infobox (created if missing) or the sidebar; null removes a fact
Mapscreate_map_feature (pin/label/region/path/folder, lat/lng or pixel coordinates, link to a page), update_map_feature, delete_map_feature
Timelinescreate_timeline_event (human dates parsed in the timeline's calendar, lane by name, created on demand), update_timeline_event, delete_timeline_event, create_timeline_lane
Assetsupload_image (local file or URL → asset URL usable in pages, banners and map images)
Anything elseapi_request: any v3 endpoint of the project (boards, calendars, block-level edits, invites, restores…)

The server also exposes two MCP resources the assistant can read: legendkeeper://guides/markdown (the Markdown dialect) and legendkeeper://guides/style (conventions for tags, icons, infoboxes, pins and events, adapted from LegendKeeper's style guide). Write tools are annotated so clients can ask for confirmation; destructive tools also require confirm: true.

How pages are edited (Markdown)

LegendKeeper stores pages as a tree of typed blocks, not Markdown. This server converts in both directions:

MarkdownLegendKeeper
# … ######, paragraphs, - lists, 1. lists, > quotes, ``` code, ---, GFM tablesthe matching blocks
- [ ] task / - [x] donetask list
> [!info], [!note], [!success]/[!tip], [!warning], [!error]/[!caution]callout
> [!secret]secret block (GM-only, hidden from players and public pages)
> [!expand] Titlecollapsible section
**b**, *i*, ~~s~~, `c` , , , , text marks and colors

| [[Name]], [[Name\|label]], [label](lk://resources/ ) | mention (link to anothe

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

问 PopNx