Logo UNO:统一叙事操作器

UNO:统一叙事操作器

Cộng đồng
MushroomFleet

Unified Narrative Operator MCP server — AI-powered prose expansion, repetition analysis & narrative enhancement

Nhà phát hànhMushroomFleet
Kho mãUNO-MCP
Ngôn ngữTypeScript
Bản fork
6
Sao
14
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépISC
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    UNO:统一叙事操作器 cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    14 sao và 6 bản fork từ kho mã được liên kết.

🪄 UNO: Unified Narrative Operator

smithery badge

✨ Overview

UNO (Unified Narrative Operator) is a magical 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.

Think of UNO as your personal narrative assistant, capable of:

  • 📊 Analyzing your text to understand its strengths and weaknesses
  • 🌱 Growing underdeveloped story elements
  • 🎨 Enriching environmental descriptions
  • ⚡ Intensifying action sequences
  • 🌊 Smoothing prose flow and rhythm
  • 🔄 Eliminating repetitive language

🛠️ Features

UNO provides three powerful MCP tools:

1. 🔍 analyze_text

Performs deep analysis of your story pages and generates a comprehensive report including:

  • 📝 Narrative position assessment (beginning, middle, climax, resolution)
  • 👤 Character focus identification
  • 🎭 Scene type classification
  • 🌡️ Mood and tone evaluation
  • 📈 Enhancement recommendations for each technique
  • 🔄 Repetition pattern detection

2. ✨ enhance_text

Transforms your text by applying all five enhancement techniques:

  • Automatically expands text to meet target length (default: 200%)
  • Intelligently applies techniques based on what your text needs most
  • Balances expansions across the entire text

3. ⚙️ custom_enhance_text

Gives you complete control over the enhancement process:

  • Choose which enhancement techniques to apply
  • Set custom expansion targets (100%-500%)
  • Focus on specific aspects of your narrative

🌟 Enhancement Techniques

1. 👻 Golden Shadow Enhancement

Identifies underdeveloped elements in your story and expands them:

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

2. 🏞️ Environmental Expansion

Enriches your settings with immersive details:

  • Adds vivid sensory experiences (visual, auditory, tactile, olfactory)
  • Creates memorable focus on insignificant objects
  • Deepens the atmosphere and mood

3. ⚡ Action Scene Enhancement

Transforms action sequences into dynamic, high-intensity experiences:

  • Manipulates perceived time (slowing crucial moments)
  • Intensifies sensory details during action
  • Creates rhythmic alternation between explosive action and momentary stillness
  • Makes environments active participants in the action

4. 🌊 Prose Smoothing

Improves the flow and rhythm of your writing:

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

5. 🔄 Repetition Elimination

Reduces unintentional repetition while preserving style:

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

📋 Installation

Installing via Smithery

To install Unified Narrative Operator for Claude Desktop automatically via Smithery:

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

Prerequisites

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

Step-by-Step Installation

  1. Clone or download the repository

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

    bash
    npm install
  3. Build the TypeScript files

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

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

    bash
    node test-run.js

    This will run the server on a sample story and generate three files:

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

🔌 MCP Integration

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

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

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

  3. Restart Claude After saving the configuration, 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.

🚀 Usage Examples

Analyzing a Story

<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 will return a detailed analysis report with insights about the narrative position, character focus, enhancement opportunities, and more.

Enhancing a Story (200% Expansion)

<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 will return a version of your text that's approximately double the original length, with all five enhancement techniques applied.

Custom Enhancement

<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>

This example applies only Golden Shadow Enhancement, Environmental Expansion, and Prose Smoothing, targeting a 150% expansion.

⚡ Integration Use Cases

📝 Creative Writing Assistant

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>

📚 Writing Coach

Let me analyze this paragraph to give you feedback:

<use_mcp_tool>
<server_name>uno</server_name>
<tool_name>analyze_text</tool_name>
<arguments>
{
  "text": "[student's writing sample]"
}
</arguments>
</use_mcp_tool>

Based on the analysis, I recommend focusing on developing your character motivations more clearly.

🎮 Game Narrative Development

Here's a more intense version of your action scene:

<use_mcp_tool>
<server_name>uno</server_name>
<tool_name>custom_enhance_text</tool_name>
<arguments>
{
  "text": "[original action scene]",
  "enableActionScene": true,
  "enableEnvironmental": true,
  "enableGoldenShadow": false,
  "enableProseSmoother": true,
  "enableRepetitionElimination": true
}
</arguments>
</use_mcp_tool>

📔 Novel Expansion

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 & Tricks

  • 🔍 Always 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

📄 License

ISC

🙏 Acknowledgements

UNO is based on advanced literary enhancement techniques and narrative theory. Special thanks to the storytellers, writers, and narrative theorists whose work inspired this project.


⭐ Made with love by the UNO team ⭐

See Also

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "mushroomfleet-uno-mcp": {
      "command": "",
      "args": []
    }
  }
}

Dùng MCP UNO:统一叙事操作器 với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối UNO:统一叙事操作器, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm UNO:统一叙事操作器 làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của UNO:统一叙事操作器.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "mushroomfleet-uno-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "uno-mcp-fixed"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của UNO:统一叙事操作器, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của UNO:统一叙事操作器.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng UNO:统一叙事操作器 giúp tôi làm việc này không?
UNO:统一叙事操作器
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng UNO:统一叙事操作器.

Câu hỏi thường gặp

Máy chủ MCP UNO:统一叙事操作器 dùng để làm gì?

UNO:统一叙事操作器 là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP UNO:统一叙事操作器 với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng UNO:统一叙事操作器 với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP UNO:统一叙事操作器 với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối UNO:统一叙事操作器, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP UNO:统一叙事操作器 với TypingMind?

UNO:统一叙事操作器 hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP UNO:统一叙事操作器 cung cấp những công cụ nào trong TypingMind?

UNO:统一叙事操作器 cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP UNO:统一叙事操作器 không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu UNO:统一叙事操作器 yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇