
Kanka MCP Server
from Heartran
A MCP server to manage entries in Kanka platform.
๐ฅ๐ฅ๐ฅโ VerifiedAccount requiredNeeds API keys
Kanka MCP Tool
Local MCP tool for the Kanka worldbuilding API. Runs on your machine via stdio โ no remote server needed.
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
Copy & paste โ that's it
npm installBefore it works, you'll need: KANKA_API_TOKEN
Prerequisites
- Node.js 20+.
- A Kanka API token (get one at kanka.io/en/settings/api).
Install
npm installUsage
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 startInstall globally
npm install -g .
KANKA_API_TOKEN=your_token kanka-mcpNo common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.