# Dunjn

> Dunjn is an MCP server for knowledge and memory. Tabletop RPG campaign wiki for game masters: NPCs, places, sessions and roll tables. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Platforms:** Web, API, CLI
- **Website:** https://dunjn.io/en/docs/connect-an-ai/
- **MCP Registry name:** io.dunjn/dunjn
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory), [games and play](https://ai-powered.com/categories/games-and-play)
- **Listing updated:** 2026-11-18

## About

Dunjn exposes each campaign to your chosen AI so it can read your wiki, sessions and notes, create or edit entities and prepare encounters. The AI does the writing on its own subscription with its provider; Dunjn bills nothing for the AI.

Access is by OAuth 2.1 with PKCE or a personal API key. Permissions are read, write and an optional semantic search scope that is off by default, and tools are prefixed dunjn_. Connected applications appear in your profile and can be revoked there. Tools include listing campaigns and setting an active one, and the server runs over stdio through an npm package or as a hosted endpoint.

## Features

- **Campaign wiki access:** Reads NPCs, places, sessions and notes.
- **Entity editing:** Creates and edits entries.
- **Encounter prep:** Helps prepare encounters.
- **Scoped permissions:** Read, write and optional semantic search.
- **OAuth or key:** Revocable connection.

## Good for

- Prep next session notes
- Create an NPC with details
- Build an encounter

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http dunjn https://app.dunjn.io/api/mcp/v1
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://app.dunjn.io/api/mcp/v1
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "dunjn": {
      "url": "https://app.dunjn.io/api/mcp/v1"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "dunjn": {
      "type": "http",
      "url": "https://app.dunjn.io/api/mcp/v1"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "dunjn": {
      "serverUrl": "https://app.dunjn.io/api/mcp/v1"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "dunjn": {
      "type": "http",
      "url": "https://app.dunjn.io/api/mcp/v1"
    }
  }
}
```

## Tools

- `dunjn_list_campaigns`: List your campaigns
- `dunjn_set_active_campaign`: Set the active campaign

## FAQ

### Does Dunjn charge for the AI?

No, the AI runs on your own provider subscription.

### How do I connect?

OAuth, or a personal API key.

### Is semantic search on?

It is optional and off by default.

### How do I add Dunjn to Claude Code?

Run this command in your terminal: claude mcp add --transport http dunjn https://app.dunjn.io/api/mcp/v1

### What are the best alternatives to Dunjn?

The closest alternatives to Dunjn are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and NeuroStack.

## Where this comes from

- Description: written from the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [NeuroStack](https://ai-powered.com/mcp/neurostack): NeuroStack is a freemium MCP server for knowledge and memory.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [Digimon](https://ai-powered.com/mcp/digimon): Digimon is a freemium MCP server for games and play.
- [Digitalnz](https://ai-powered.com/mcp/digitalnz): Digitalnz is a freemium MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/dunjn
