U

UNO-MCP五合叙事算子

@MushroomFleet/UNO-MCP
0 Stars 30 次浏览 MushroomFleet 更新于 2026-08-23

统一叙事算子,无缝丰富和扩展文本,五合一代理设计。

该服务暂未提供标准配置,请参考 README 手动接入

服务介绍

🪄 UNO: 统一叙事操作器

smithery badge

✨ 概览

UNO(统一叙事操作器)是一款神奇的文本增强工具,可以将普通的故事情节转化为丰富而详细的叙述。通过使用先进的文学技巧和启发式分析,UNO 可以在保留原始声音和意图的同时,使你的文本长度翻倍。

可以把 UNO 视为你的个人叙事助手,它能够:

  • 📊 分析你的文本,了解其优点和缺点
  • 🌱 发展不充分的故事元素
  • 🎨 丰富环境描述
  • ⚡ 加强动作场景
  • 🌊 平滑散文的流动和节奏
  • 🔄 消除重复的语言

🛠️ 功能

UNO 提供了三个强大的 MCP 工具:

1. 🔍 analyze_text

对你的故事页面进行深入分析,并生成一份全面报告,包括:

  • 📝 叙事位置评估(开头、中间、高潮、结局)
  • 👤 人物焦点识别
  • 🎭 场景类型分类
  • 🌡️ 情绪和语气评估
  • 📈 每种技巧的增强建议
  • 🔄 重复模式检测

2. ✨ enhance_text

通过应用所有五种增强技巧来转换你的文本:

  • 自动扩展文本以达到目标长度(默认:200%)
  • 根据文本最需要的部分智能应用技巧
  • 在整个文本中平衡扩展

3. ⚙️ custom_enhance_text

让你完全控制增强过程:

  • 选择要应用哪些增强技巧
  • 设置自定义扩展目标(100%-500%)
  • 专注于叙述的特定方面

🌟 增强技巧

1. 👻 金色阴影增强

识别并扩展你故事中未充分发展的元素:

  • 发展提到但未充分开发的角色
  • 探索暗示但未解释的情节元素
  • 揭示潜台词和隐藏意义

2. 🏞️ 环境扩展

用沉浸式的细节丰富你的设置:

  • 添加生动的感官体验(视觉、听觉、触觉、嗅觉)
  • 使不重要的物体变得令人难忘
  • 深化氛围和情绪

3. ⚡ 动作场景增强

将动作序列转变为动态、高强度的体验:

  • 操纵感知时间(放慢关键时刻)
  • 在动作过程中加强感官细节
  • 创建爆炸性动作与瞬间静止之间的节奏交替
  • 使环境成为动作中的积极参与者

4. 🌊 散文平滑

改进你的写作的流动和节奏:

  • 增强段落间的过渡
  • 改变句子结构以提高可读性
  • 创造一种自然的节奏,吸引读者阅读全文

5. 🔄 重复消除

在保留风格的同时减少无意的重复:

  • 识别并替换重复的词语为有意义的替代词
  • 保持作者的声音和意图
  • 区分有意和无意的重复

📋 安装

通过 Smithery 安装

通过 Smithery 自动安装适用于 Claude Desktop 的 Unified Narrative Operator:

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

先决条件

  • Node.js (v14 或更高版本)
  • NPM (v6 或更高版本)

分步安装指南

  1. 克隆或下载仓库

    git clone https://github.com/your-username/uno-mcp.git
    cd uno-mcp
    
  2. 安装依赖项

    npm install
    
  3. 构建 TypeScript 文件

    npm run build
    
  4. 使服务器可执行(在 Windows 上跳过此步骤)

    chmod +x dist/index.js
    
  5. 测试服务器

    node test-run.js
    

    这将使用示例故事运行服务器,并生成三个文件:

    • test-analysis.md:示例分析报告
    • test-enhanced.txt:示例增强文本(200%)
    • test-custom-enhanced.txt:示例自定义增强(150%)

🔌 MCP 集成

Claude Desktop 集成

  1. 编辑 Claude 配置文件

    • Windows: C:\Users\[username]\AppData\Roaming\Claude\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. 在 MCP 服务器部分添加 UNO

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

    确保使用到 UNO 安装的绝对路径。

  3. 重启 Claude
    保存配置后,重启 Claude 以激活 UNO MCP 服务器。

VS Code 集成

  1. 编辑 VS Code Claude 扩展配置

    • 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. 添加与上述 Claude Desktop 相同的配置

  3. 重启 VS Code 或重新加载窗口。

🚀 使用示例

分析一个故事

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

这将返回一份详细的分析报告,包含关于叙事位置、角色焦点、增强机会等的见解。

增强一个故事(200% 扩展)

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

这将返回一个大约是原文两倍长度的版本,应用了所有五种增强技术。

自定义增强

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

这个例子仅应用了 Golden Shadow Enhancement、Environmental Expansion 和 Prose Smoothing,目标是 150% 的扩展。

⚡ 集成使用案例

📝 创意写作助手

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>

📚 写作教练

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.

🎮 游戏叙事开发

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>

📔 小说扩展

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>

💡 技巧与提示

  • 🔍 总是先使用 analyze_text 来了解你的文本需要什么
  • 🎯 对于细微的增强,使用带有较低扩展目标(120-150%)的 custom_enhance_text
  • 🧩 将较长的文本拆分成较小的部分进行处理,然后合并结果
  • 🔄 在增强较长作品时,将重复消除作为最后一步应用
  • ⚡ 仅在包含动作元素的场景中使用 enableActionScene: true

📄 许可证

ISC

🙏 致谢

UNO 基于先进的文学增强技术和叙事理论。特别感谢那些启发了此项目的讲故事者、作家和叙事理论家们。


由 UNO 团队用心打造