# Visual Novel

> Visual Novel is an open-source MCP server for game development. MCP server that assembles Ren'Py visual novels with sprites, scenes and branch graphs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Website:** https://tobiasfong.github.io/projects/visual-novel.html
- **Repository:** https://github.com/tobiasfong/webcomic-toolkit/tree/HEAD/servers/visual-novel-mcp
- **MCP Registry name:** io.github.tobiasfong/visual-novel
- **Categories:** [game development](https://ai-powered.com/categories/game-development)
- **Listing updated:** 2026-11-29

## About

Visual Novel MCP is a production helper for building branching visual novels in Ren'Py. It keeps a scene database that persists across sessions, validates the branch graph of the whole story, and maintains a sprite manifest that records one full body per character expression.

The scene scripts in the Ren'Py project are the single source of truth for the branch graph. The server scans labels, jumps, menus, flag reads and writes, and displayables, then rebuilds the graph on each check, so the map cannot drift from the script. Its state file stores only what scripts cannot express, such as scene synopses, approval status, flag meanings and continuity notes.

It suits authors who already produce backgrounds, characters and music with other MCP tools in the same toolkit and want help tracking choices, routes and consistency. Installation is through uvx or pip, and the engine is fetched separately by a setup script.

## Features

- **Branch graph validation:** Rebuilds the story graph from the Ren'Py scripts on every check, so routes stay consistent with the code.
- **Persistent scene database:** Stores scene synopses, status and continuity notes across sessions, and flags silent edits to approved scenes.
- **Sprite manifest:** Records one whole matted body per character expression, with scale and mirroring data.
- **Flag documentation:** Lets authors define the meaning of story flags and reports undocumented ones.
- **Web preview build:** Supports building the game for a browser preview through a setup script that installs the pinned engine.

## Good for

- Tracking affection values and choices across a multi-route visual novel
- Validating that every menu choice and jump in a Ren'Py story leads somewhere valid
- Registering character sprites and backgrounds for consistent use across scenes
- Keeping continuity notes while writing scenes over many sessions

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add visual-novel -- uvx visual-novel-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "visual-novel": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add visual-novel -- uvx visual-novel-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.visual-novel]
command = "uvx"
args = ["visual-novel-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user visual-novel uvx -- visual-novel-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
```

## FAQ

### How do I install Visual Novel?

With uv installed, run claude mcp add -s user visual-novel -- uvx visual-novel-mcp, or install it with pip and register the visual-novel-mcp command.

### Does the server need a GPU or model?

No. The server parses scripts and keeps a manifest, and it does not run any model or weights.

### Does Visual Novel run the Ren'Py engine?

The server does not run Ren'Py itself. A separate setup script installs the pinned Ren'Py SDK when you need to play or build the game.

### Can Visual Novel approve scenes automatically?

No. Approval is reserved for the author, and saving cannot demote an approved scene.

### Is Visual Novel free?

Yes. Visual Novel is open source, so you can use and self-host it for free.

### How do I add Visual Novel to Claude Code?

Run this command in your terminal: claude mcp add visual-novel -- uvx visual-novel-mcp

### What are the best alternatives to Visual Novel?

The closest alternatives to Visual Novel are Godot MCP, Rpgmaker Xp MCP, Godot MCP, Godot MCP and UnrealMCP — AI Bridge for Unreal Engine 5.

## Where this comes from

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

## Alternatives

- [Godot MCP](https://ai-powered.com/mcp/godot-mcp-5): Godot MCP is an open-source MCP server for game development.
- [Rpgmaker Xp MCP](https://ai-powered.com/mcp/rpgmaker-xp-mcp): Rpgmaker Xp MCP is an open-source MCP server for game development.
- [Godot MCP](https://ai-powered.com/mcp/godot-mcp): Godot MCP is an open-source MCP server for game development.
- [Godot MCP](https://ai-powered.com/mcp/godot-mcp-6): Godot MCP is an open-source MCP server for game development.
- [UnrealMCP — AI Bridge for Unreal Engine 5](https://ai-powered.com/mcp/unrealmcp-ai-bridge-for-unreal-engine-5): UnrealMCP — AI Bridge for Unreal Engine 5 is an open-source MCP server for game development.
- [Rpgmaker Mz MCP](https://ai-powered.com/mcp/rpgmaker-mz-mcp): Rpgmaker Mz MCP is an open-source MCP server for game development.
- [Godot MCP Enhanced](https://ai-powered.com/mcp/godot-mcp-enhanced): Godot MCP Enhanced is an open-source MCP server for game development.
- [Ainpc Cli](https://ai-powered.com/mcp/ainpc-cli): Ainpc Cli is a paid MCP server for game development.

---
Source: https://ai-powered.com/mcp/visual-novel
