worldanvil-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@worldanvil-mcp-serversearch my world for mentions of the Dragon"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
|
Articles |
|
Assets |
|
Search |
|
Export |
|
Write |
|
Related MCP server: wow-casc-mcp-server
Setup
npm install
npm run buildCredentials
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.jsClaude 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)Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that interfaces with the World Anvil API to facilitate AI-assisted worldbuilding and D\&D campaign management. It allows users to manage articles, maps, and RPG-specific resources like session notes and timelines through natural language.Last updated11BSD 3-Clause
- Flicense-qualityBmaintenanceMCP server for reading World of Warcraft client files via CASC storage, enabling file discovery and content retrieval.Last updated
- Flicense-qualityBmaintenanceMCP server for managing a personal markdown wiki. Provides search, navigation, read, write, delete, and move tools with automatic index.md management.Last updated
- Flicense-qualityDmaintenanceMCP server for managing a writer's bible, a structured and searchable knowledge base of a narrative universe with tools for characters, places, events, and semantic search.Last updated
Related MCP Connectors
Official remote MCP server for Archivist AI TTRPG campaign memory: characters, sessions, and more.
MCP server for accessing curated awesome list documentation
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/daireb/worldanvil-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server