Kanka Server
FreeNot checkedEnables local interaction with the Kanka worldbuilding API via MCP, supporting CRUD operations on characters, locations, and other worldbuilding entities, as we
About
Enables local interaction with the Kanka worldbuilding API via MCP, supporting CRUD operations on characters, locations, and other worldbuilding entities, as well as campaign listing and search.
README
Local MCP tool for the Kanka worldbuilding API. Runs on your machine via stdio — no remote server needed.
Prerequisites
- Node.js 20+.
- A Kanka API token (get one at kanka.io/en/settings/api).
Install
npm install
Usage
MCP client configuration (Claude Desktop, Cursor, etc.)
Add this to your MCP client config:
{
"mcpServers": {
"kanka": {
"command": "node",
"args": ["<ABSOLUTE_PATH_TO_REPO>/index.js"],
"env": {
"KANKA_API_TOKEN": "<YOUR_KANKA_TOKEN>"
}
}
}
}
Notes:
- Replace
<ABSOLUTE_PATH_TO_REPO>with the full path to this repository. - On Windows, prefer forward slashes (
C:/Users/...) or escaped backslashes (C:\\Users\\...). - Restart the MCP client after editing the config.
Run directly
KANKA_API_TOKEN=your_token npm start
Install globally
npm install -g .
KANKA_API_TOKEN=your_token kanka-mcp
Available tools
The tool exposes 82 MCP tools for interacting with Kanka:
- list_campaigns — List all campaigns
- search — Search entities within a campaign
- For each entity type (Character, Location, Family, Organization, Item, Note, Event, Calendar, Timeline, Creature, Race, Quest, Map, Journal, Ability, Entity):
list_<entities>— List allget_<entity>— Get detailscreate_<entity>— Create newupdate_<entity>— Update existingdelete_<entity>— Delete existing
Contributing
Community contributions are welcome.
- Read CONTRIBUTING.md for workflow, coding standards, and PR checklist.
- Review CODE_OF_CONDUCT.md before participating.
Local quality checks
npm run lint
npm run format:check
npm test
Install Kanka Server in Claude Desktop, Claude Code & Cursor
unyly install kanka-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add kanka-mcp-server -- npx -y github:Heartran/Kanka-MCP-ServerFAQ
Is Kanka Server MCP free?
Yes, Kanka Server MCP is free — one-click install via Unyly at no cost.
Does Kanka Server need an API key?
No, Kanka Server runs without API keys or environment variables.
Is Kanka Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Kanka Server in Claude Desktop, Claude Code or Cursor?
Open Kanka Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Kanka Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
