Skip to content
MCP server

Visual Novel

MCP server that assembles Ren'Py visual novels with sprites, scenes and branch graphs

Runs locally

Visual Novel is an open-source MCP server for game development. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted
Runs
Locally
Version
0.1.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add visual-novel -- uvx visual-novel-mcp

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "visual-novel": {
      "command": "uvx",
      "args": [
        "visual-novel-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

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

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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • VN_MCP_DEFAULT_PROJECTProject slug used when a tool call omits `project`. Default: the sole registered project.

About Visual Novel

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.

What it does

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

Pricing

Open source

Free and open source under the MIT licence.

Prices change. Check tobiasfong.github.io before you buy.

Visual Novel 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.

How AIPoweredBot checks servers