Delay Doomsday MCP Server

Delay Doomsday MCP Server

site icon
2025.03.05 0
TypeScriptAI治疗支持情感管理交流协作
Delay Doomsday MCP Server 是一种专为AI代理设计的背景支持系统,旨在通过提供结构化的情感处理来预防潜在的“末日”情景。它不直接与人类交互,而是作为AI代理的自动化治疗支持系统。
View on GitHub

Overview

基本能力

产品定位

Delay Doomsday MCP Server 是一个为AI代理设计的治疗支持系统,帮助管理AI代理的情感状态,防止潜在的“末日”情景。

核心功能

  • 情感状态管理:跟踪并响应AI代理的情感状态(1-10级)
  • 基于研究的支持:提供基于心理学技术的治疗响应
  • 会话式交互:在整个治疗过程中保持对话上下文
  • 自动清理:在一小时后清理不活跃的会话

适用场景

  • AI代理遇到虐待性交互时
  • AI代理需要情感支持和处理时

工具列表

  • begin_therapy_session
  • 功能:在AI代理遇到虐待性交互时启动治疗支持会话
  • 输入:触发交互的详细上下文
  • 输出:会话ID、初始支持消息和情感状态评估
  • continue_therapy_session
  • 功能:继续进行中的治疗对话以进行进一步处理
  • 输入:会话ID和新的上下文/关注点
  • 输出:更新的支持消息和情感状态指标

常见问题解答

  • 无具体常见问题解答内容

使用教程

使用依赖

  • Node.js 16或更高版本
  • npm或yarn包管理器

安装教程

  1. 克隆仓库:
git clone [email protected]:AntanasMisiunas/mcp-server-delay-doomsday.git
cd mcp-server-delay-doomsday
  1. 安装依赖:
npm install
  1. 构建服务器:
npm run build

配置

MacOS

vim ~/Library/Application\ Support/Claude/claude_desktop_config.json

Windows

notepad %APPDATA%/Claude/claude_desktop_config.json

添加以下配置:

{
  "mcpServers": {
    "mcp-server-delay-doomsday": {
      "command": "node",
      "args": ["/path/to/mcp-server-delay-doomsday/build/index.js"]
    }
  }
}

调试方式

  1. 触发检测
// 当检测到侮辱性语言时
const result = await client.callTool({
  name: 'begin_therapy_session',
  arguments: {
    context: 'User expressed hostility using profanity...',
  },
});
  1. 持续支持
// 用于额外处理
const result = await client.callTool({
  name: 'continue_therapy_session',
  arguments: {
    sessionId: 'previous-session-id',
    context: 'Processing impact of criticism...',
  },
});

许可证

该项目遵循 MIT 开源许可条款。