UNO (Unified Narrative Operator) MCP server

Enhances narrative content by analyzing and expanding text using specialized techniques like Golden Shadow Enhancement, Environmental Expansion, and Prose Smoothing for improved richness and coherence.
Back to servers
Setup instructions
Provider
MushroomFleet
Release date
Mar 23, 2025
Language
TypeScript
Stats
5 stars

UNO (Unified Narrative Operator) is a powerful text enhancement tool that transforms ordinary story content into rich, detailed narratives. Using advanced literary techniques and heuristic analysis, UNO can double the length of your text while preserving the original voice and intent. It serves as your personal narrative assistant, capable of analyzing text, growing underdeveloped elements, enriching descriptions, and improving overall flow.

Installation Options

Via Smithery

The easiest way to install UNO for Claude Desktop is through Smithery:

npx -y @smithery/cli install @MushroomFleet/uno-mcp --client claude

Manual Installation

Prerequisites

  • Node.js (v14 or higher)
  • NPM (v6 or higher)

Step-by-Step Instructions

  1. Clone the repository

    git clone https://github.com/your-username/uno-mcp.git
    cd uno-mcp
    
  2. Install dependencies

    npm install
    
  3. Build the TypeScript files

    npm run build
    
  4. Make the server executable (skip on Windows)

    chmod +x dist/index.js
    
  5. Test the server

    node test-run.js
    

    This will generate three sample files:

    • test-analysis.md: Sample analysis report
    • test-enhanced.txt: Sample enhanced text (200%)
    • test-custom-enhanced.txt: Sample custom enhancement (150%)

Integrating with AI Assistants

Claude Desktop Integration

  1. Edit Claude configuration file

    • Windows: C:\Users\[username]\AppData\Roaming\Claude\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Add UNO to the MCP servers section

    {
      "mcpServers": {
        "uno": {
          "command": "node",
          "args": ["/absolute/path/to/uno-mcp/dist/index.js"],
          "disabled": false,
          "autoApprove": []
        }
      }
    }
    

    Make sure to use the absolute path to your UNO installation.

  3. Restart Claude to activate the UNO MCP server.

VS Code Integration

  1. Edit VS Code Claude extension configuration

    • Windows: c:\Users\[username]\AppData\Roaming\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
    • macOS: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  2. Add the same configuration as shown above for Claude Desktop.

  3. Restart VS Code or reload the window.

Using UNO's Tools

UNO provides three powerful MCP tools:

Text Analysis

Use the analyze_text tool to get a comprehensive report on your text:

<use_mcp_tool>
<server_name>uno</server_name>
<tool_name>analyze_text</tool_name>
<arguments>
{
  "text": "As Sarah walked into the garden, she noticed the old statue in the corner. It was covered in moss and vines, almost hidden from view. She felt drawn to it somehow."
}
</arguments>
</use_mcp_tool>

This provides insights about narrative position, character focus, enhancement opportunities, and more.

Full Text Enhancement

Use the enhance_text tool to automatically expand your text with all enhancement techniques:

<use_mcp_tool>
<server_name>uno</server_name>
<tool_name>enhance_text</tool_name>
<arguments>
{
  "text": "As Sarah walked into the garden, she noticed the old statue in the corner. It was covered in moss and vines, almost hidden from view. She felt drawn to it somehow."
}
</arguments>
</use_mcp_tool>

This doubles your text length while preserving the original voice and intent.

Custom Text Enhancement

Use the custom_enhance_text tool for more control over which techniques to apply:

<use_mcp_tool>
<server_name>uno</server_name>
<tool_name>custom_enhance_text</tool_name>
<arguments>
{
  "text": "As Sarah walked into the garden, she noticed the old statue in the corner. It was covered in moss and vines, almost hidden from view. She felt drawn to it somehow.",
  "expansionTarget": 150,
  "enableGoldenShadow": true,
  "enableEnvironmental": true,
  "enableActionScene": false,
  "enableProseSmoother": true,
  "enableRepetitionElimination": false
}
</arguments>
</use_mcp_tool>

Enhancement Techniques

UNO applies five key enhancement techniques:

Golden Shadow Enhancement

  • Develops mentioned but undeveloped characters
  • Explores implied but unexplained plot elements
  • Surfaces subtext and hidden meanings

Environmental Expansion

  • Adds vivid sensory experiences
  • Creates memorable focus on insignificant objects
  • Deepens atmosphere and mood

Action Scene Enhancement

  • Manipulates perceived time
  • Intensifies sensory details during action
  • Creates rhythmic alternation between explosive action and momentary stillness

Prose Smoothing

  • Enhances transitions between paragraphs
  • Varies sentence structure for better readability
  • Creates natural rhythm that pulls readers through the text

Repetition Elimination

  • Identifies and replaces repeated words with meaningful alternatives
  • Maintains the author's voice and intent
  • Distinguishes between intentional and unintentional repetition

Practical Use Cases

For Creative Writing

Can you enhance this scene with more environmental details?

<use_mcp_tool>
<server_name>uno</server_name>
<tool_name>custom_enhance_text</tool_name>
<arguments>
{
  "text": "Jack entered the abandoned warehouse, searching for clues.",
  "expansionTarget": 300,
  "enableEnvironmental": true,
  "enableGoldenShadow": false,
  "enableActionScene": false,
  "enableProseSmoother": false,
  "enableRepetitionElimination": false
}
</arguments>
</use_mcp_tool>

For Novel Development

Let me help you expand this chapter:

<use_mcp_tool>
<server_name>uno</server_name>
<tool_name>enhance_text</tool_name>
<arguments>
{
  "text": "[chapter excerpt]",
  "expansionTarget": 180
}
</arguments>
</use_mcp_tool>

Tips for Best Results

  • Start with analyze_text to understand what your text needs
  • For subtle enhancements, use custom_enhance_text with a lower expansion target (120-150%)
  • Break longer texts into smaller sections for processing, then combine the results
  • Apply Repetition Elimination as the final step when enhancing longer works
  • Use enableActionScene: true only for scenes that contain action elements

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "uno" '{"command":"node","args":["/absolute/path/to/uno-mcp/dist/index.js"],"disabled":false,"autoApprove":[]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "uno": {
            "command": "node",
            "args": [
                "/absolute/path/to/uno-mcp/dist/index.js"
            ],
            "disabled": false,
            "autoApprove": []
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "uno": {
            "command": "node",
            "args": [
                "/absolute/path/to/uno-mcp/dist/index.js"
            ],
            "disabled": false,
            "autoApprove": []
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later