worldanvil-mcp-server
MCP server for World Anvil that enables browsing, searching, and managing world content, plus exporting complete copies for migrations or backups.
README
worldanvil-mcp-server
MCP server for World Anvil: browse, search, and manage a world's content, and export a complete copy for migrations or backups. 18 focused tools.
Unofficial community project, not affiliated with World Anvil. Requires Node 18+.
Tools
| Group | Tools |
|---|---|
| Navigate | list_worlds, get_world, get_identity, list_categories |
| Articles | list_articles (all pages, category/type filters), search_articles (title/slug/tags), get_article (full BBCode content + template fields) |
| Assets | list_assets (secrets, maps, timelines, histories, notebooks, subscribergroups), get_asset (maps/notebooks include their full hierarchy) |
| Search | search_content (full-text across articles, secrets, notes), find_references (backlinks to an article) |
| Export | export_world (raw JSON tree + image binaries + id→slug index, to disk) |
| Write | create_article (defaults private+draft), update_article, delete_article, create_category, update_category, delete_category |
Setup
npm install
npm run build
Credentials
Both from worldanvil.com → profile picture → User API Tokens:
WA_AUTH_TOKEN— your personal API tokenWA_APPLICATION_KEY— via the Application Key Form on the same page (manually approved by World Anvil).
Alternatively, WA_API_BASE_URL can point at a proxy that injects an application key
(instead of WA_APPLICATION_KEY). Only use a proxy you run or trust — your auth token,
which grants full API access to your account, transits it on every request.
Claude Code
claude mcp add --scope user worldanvil \
-e WA_AUTH_TOKEN=your-token \
-e WA_APPLICATION_KEY=your-app-key \
-- node /absolute/path/to/worldanvil-mcp/dist/index.js
Claude Desktop
Add to the config file (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json,
Windows: %APPDATA%\Claude\claude_desktop_config.json):
"worldanvil": {
"command": "node",
"args": ["/absolute/path/to/worldanvil-mcp/dist/index.js"],
"env": {
"WA_AUTH_TOKEN": "your-token",
"WA_APPLICATION_KEY": "your-app-key"
}
}
Behavior worth knowing
- Content search uses a local cache. The first
search_content/find_referencescall on a world fetches every article body (about a minute for a few hundred articles); after that, every call re-syncs only what changed. The cache lives in~/.cache/worldanvil-mcp/(%LOCALAPPDATA%\worldanvil-mcp\cacheon Windows), is only a search index, and is safe to delete — it rebuilds itself. - Article content is World Anvil BBCode. Links between entities appear as
@[Title](type:uuid)mentions;find_referencessearches for the uuid, so backlinks are exact. - Exports are raw and honest.
export_worldwrites untouched API payloads, one file per entity, plusentities.json(id →{kind, title, slug, file}) for rewriting mention links during a migration. Anything it could not fetch or resolve is listed inmanifest.json— never silently dropped. It refuses to write into a directory that isn't empty or a previous export. - Upstream API limitations (World Anvil's side, all surfaced in tool output):
image endpoints currently return errors, so embedded
[img:id]references may be unresolvable; marker listings on private maps return 403 even for the map's owner (set a map public temporarily to read its markers); article comments are not exposed by the API at all.
Development
npm run dev # run from source
node scripts/smoke.mjs # MCP handshake + tool list
node scripts/smoke.mjs <tool> '<json>' # call one tool (WA_* env vars required)
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。