Rubii Story Worldbuilder & Roleplay MCP

ai.rubiiPublished by rubii.aiOfficial publisherv1.0.0Updated Nov 28, 2026

Interactive fiction worldbuilder, Character Card V2/V3 audit, 24K memory budget & Styles/Regex MCP.

VerifiedStreamable HTTPWeb executableKnowledge & MemoryDeveloper ToolsMedia & Design

Overview

AI-generated overview

Official Rubii MCP server that helps assistants build interactive fiction worlds, status-bar layouts and Character Cards, and audit card JSON and story memory.

What you can do
Generate story worlds with world rules, a character profile, a Scene One opening, three branches and a Character Card V2 draft, plus sandbox-safe HTML/CSS status-bar layouts with matching regex rules and formatting instructions for Rubii Styles & Regex or SillyTavern.
When to use it
Use it when writing or debugging AI roleplay and interactive fiction content for Rubii AI or SillyTavern: drafting a world and opening scene, building status-bar templates, checking a Character Card V1/V2/V3 file, or planning how many turns fit in an 8K–32K context window.
Requirements
Nothing to install for the hosted endpoint: connect over Streamable HTTP with no authentication, account or API key. A local stdio build from source needs Node.js and npm.
Before you install
The hosted endpoint is described as stateless with no stored prompts or user data, but prompts and card JSON are still sent to a third-party service. Generated HTML/CSS is claimed to be script-free and sandbox-safe; review it before pasting into a live character. Card audits and token estimates are advisory, not guarantees.

How AI overviews are written and checked

Installation

In SourceWeft

  1. Open Rubii Story Worldbuilder & Roleplay MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/ai.rubii%2Frubii-roleplay-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "rubii-story-worldbuilder-roleplay": {
      "type": "http",
      "url": "https://mcp.rubii.ai/mcp"
    }
  }
}

README

rubii-roleplay-mcp

[License: MIT] [Official MCP Registry] [YoMio-Tech-Inc/rubii-roleplay-mcp MCP server] [Node.js >= 20]

Official Model Context Protocol (MCP) Server for interactive fiction creators, worldbuilders, and AI roleplay prompt engineers—built and maintained by the team behind Rubii AI.

Available in two zero-API-key modes:

  • Hosted Remote MCP Server (Zero Setup): Connect directly to https://mcp.rubii.ai/mcp over Streamable HTTP with no authentication required (listed on the Official MCP Registry as ai.rubii/rubii-roleplay-mcp).
  • Local Stdio MCP Server: Build and run 100% locally over stdio with zero external network calls.

Hosted Remote Endpoint (Zero Setup)

Claude Code (CLI)

claude mcp add --transport http rubii-roleplay https://mcp.rubii.ai/mcp

Cursor / VS Code / Generic mcp.json

{
  "mcpServers": {
    "rubii-roleplay": {
      "url": "https://mcp.rubii.ai/mcp"
    }
  }
}

Hosted Remote Tools (https://mcp.rubii.ai/mcp, 5 Tools)

ToolPurpose
craft_story_worldGenerates a structured interactive fiction story world—world rules, character sheet, cinematic Scene One opening using {{user}}, three narrative branches, and a Character Card V2 draft.
build_status_bar_layoutGenerates sandbox-safe static HTML + inline CSS layouts (minimal-card, fantasy-rpg, cyber-hud, novel-chapter, phone-chat, sealed-letter), a verified capture-group regex rule, and an LLM formatting instruction block compatible with Rubii AI Styles & Regex and SillyTavern regex rules.
audit_character_cardValidates Character Card V1, V2 (chara_card_v2), and V3 (chara_card_v3) JSON fields, Lorebook entries, regex triggers, macro syntax, and multi-script token usage across 8K / 16K / 24K / 32K windows.
compare_story_memory_budgetProjects context load for character sheets, editable long-story Memo notes, constant vs. keyword-triggered Lorebook entries, and multi-turn dialogue history across context windows.
explore_rubii_guidesReturns canonical, machine-readable Rubii AI guides and documentation URLs aligned with rubii.ai/llms.txt.

Local Stdio Server Tools (src/, 5 Tools)

ToolPurpose
validate_character_cardValidates Character Card V1, V2 (chara_card_v2), and V3 (chara_card_v3) JSON fields, Lorebook entries, regex triggers, macro syntax, and estimates token usage across 8K / 16K / 24K / 32K windows.
estimate_roleplay_contextProjects total token load for character sheets, editable long-story Memo notes, constant vs. keyword-triggered Lorebook entries, and conversation history turns—identifying turn eviction risks and trimming opportunities.
generate_status_bar_regexGenerates sandbox-safe HTML + inline CSS status bar templates (minimal-card, fantasy-rpg, cyber-hud, novel-chapter), tested capture-group regex patterns, LLM output instructions, and live verified previews compatible with Rubii AI Styles & Regex and SillyTavern regex rules.
lint_character_promptAudits character prompts for macro errors ({char}, {{ user }}, unclosed {{), conflicting POV instructions, negative-constraint overload, duplicated lines, token bloat, and opening messages that narrate {{user}} actions.
get_rubii_platform_guideReturns accurate, machine-readable public platform documentation, supported languages, canonical URL patterns, and creator workflows aligned with rubii.ai/llms.txt.

Local Setup (From Source)

git clone https://github.com/YoMio-Tech-Inc/rubii-roleplay-mcp.git
cd rubii-roleplay-mcp
npm install
npm run build

Then point Claude Desktop, Cursor, or Windsurf to node /path/to/rubii-roleplay-mcp/dist/index.js:

{
  "mcpServers": {
    "rubii-roleplay": {
      "command": "node",
      "args": ["/path/to/rubii-roleplay-mcp/dist/index.js"]
    }
  }
}

Example Prompts to Try in Your AI Assistant

  1. "Craft an urban fantasy interactive fiction world set in a rain-lit lantern alley with guarded rivals forced into an alliance."
  2. "Validate this Character Card V2 JSON and tell me if it fits comfortably inside an 8K or 24K context window."
  3. "Estimate how many dialogue turns I can sustain on 24K context with this character sheet, 3 Lorebook entries, and a 300-word editable Memo."
  4. "Generate a fantasy-rpg status bar regex and sandbox-safe HTML/CSS template tracking Location, Quest, Stamina, and Key Item."
  5. "Lint my character prompt and first message for macro typos, POV conflicts, or narrating {{user}} actions."

Privacy & Security

  • Stateless & No Auth Required: Both the local stdio server and the hosted Cloudflare Workers endpoint (https://mcp.rubii.ai/mcp) are 100% stateless—no accounts, no API keys, and no stored prompts or user data.
  • Sandbox-Safe HTML/CSS Output: Status bar tools strictly validate tag names, field keys, and 6-digit hex colors, emitting static HTML with inline CSS only (zero <script>, zero inline event handlers, zero external URLs).

Development

npm install
npm run typecheck
npm test

Related Open-Source Tool

Looking for a zero-dependency CLI & TypeScript library to read/write PNG tEXt (chara / ccv3) metadata chunks and convert Character Card V1/V2/V3 files? Check out character-card-toolkit.


License & Maintainers

Released under the MIT License.

Built & maintained by the team behind Rubii AI — step inside a living novel world with frontier model choice, 24K context with editable Story Memo, Styles & Regex custom layouts, and Character Card V2/V3 workflows.

Source: README.md at commit 4c58b7d

Tools

5

craft_story_world

Craft Interactive Story World & Opening Scene

Generate a structured interactive fiction story world from a genre, atmosphere, and character dynamic—complete with world rules, character profile, a cinematic Scene One opening using {{user}}, three narrative branches, and a Character Card V2 draft ready to play on Rubii AI.

ParametersgenrerequiredlanguageatmosphereprotagonistHookincludeStatusBarrelationshipDynamic

build_status_bar_layout

Build Safe HTML/CSS Status Bar & Regex Layout

Generate a sandbox-safe static HTML + inline CSS layout (novel chapter header, RPG HUD, cyber telemetry, phone chat thread, or wax-sealed letter), a verified capture-group regex rule, and an LLM formatting instruction block compatible with Rubii AI Styles & Regex.

ParametersthemetitlefieldstagNameaccentColor

audit_character_card

Audit Character Card JSON & Context Fit

Validate Character Card V1, V2 (chara_card_v2), V3 (chara_card_v3), or exported character definitions (char_name / greeting / definition) for schema completeness, Lorebook integrity, regex syntax, {{char}}/{{user}} macro correctness, opening-scene pacing, and 8K/16K/24K/32K token fit.

Parameterscardrequiredstrict

compare_story_memory_budget

Compare Long-Story Context & Memo Memory Budget

Estimate multi-turn interactive fiction context consumption across 8K, 16K, 24K, and 32K windows by breaking down permanent character sheets, constant/triggered Lorebook entries, editable Story Memo notes, and projected turn history.

ParametersmemoTextscenariodescriptionpersonalityfirstMessagehistoryTurnssystemPromptcontextWindows+4 more

explore_rubii_guides

Explore Rubii AI Official Guides by Language

Return canonical Rubii AI documentation, localized interactive fiction guides, Styles & Regex tutorials, character card tools, and legal/support links aligned with https://rubii.ai/llms.txt.

Parametersintentlanguage

Version history

1
  1. v1.0.0LatestNov 28, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

How this score is calculated