Skip to main content
Glama

Twosplit MCP Server

双分裂 MCP 服务器

一个利用多个 Claude 实例来提供增强响应的 MCP 服务器。它将相同的请求发送到两个独立的 Claude 实例,并使用第三个实例从两个响应中合并或选择最佳元素。

特征

  • 支持多种 Claude 模型:
    • 克劳德-3-作品-最新
    • 克劳德-3-5-十四行诗-最新
    • 克劳德-3-5-俳句最新
    • 克劳德-3-俳句-20240307
  • 从每个人工智能获得单一、直接的回应
  • 显示原始回复和来源归属
  • 返回优化的最终响应

安装

  1. 克隆存储库
  2. 安装依赖项:
npm install
  1. 构建服务器:
npm run build

配置

服务器需要 Anthropic API 密钥才能运行。请将其设置为环境变量:

export ANTHROPIC_API_KEY=your-api-key-here

用法

服务器提供了一个名为twosplit的工具,其参数如下:

  • prompt (必填):发送给 Claude 的提示
  • model (必需):要使用的 Claude 模型(必须是上面列出的受支持模型之一)

Claude 中的工具使用示例:

<use_mcp_tool> <server_name>twosplit</server_name> <tool_name>twosplit</tool_name> <arguments> { "prompt": "Write a short story about a robot learning to paint", "model": "claude-3-5-sonnet-latest" } </arguments> </use_mcp_tool>

答复将包括:

  1. 最终优化响应
  2. 两个 AI 的原始回复
  3. 来源归属显示哪些部分来自哪个AI

工作原理

  1. 服务器向指定 Claude 模型的两个独立实例发送相同的提示,请求单个直接响应
  2. 第三个实例分析了这两个响应,并且:
    • 如果其中一个答案明显更优,则选择最佳答案
    • 创建一个新的响应,结合两个响应中的最佳元素
  3. 最终回复、原始回复和来源归属均包含在输出中

发展

要在开发期间以监视模式运行服务器:

npm run watch

检查服务器的功能:

npm run inspector
Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

MCP 服务器利用多个 Claude 实例来提供增强的响应,方法是将相同的提示发送到两个单独的实例,并使用第三个实例来组合或选择最佳元素。

  1. 特征
    1. 安装
      1. 配置
        1. 用法
          1. 工作原理
            1. 发展

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                An MCP server that enables Claude to interact with Port.io's AI agent, allowing users to trigger the agent with prompts and receive structured responses including status, output, and action items.
                Last updated -
                6
                Python
                MIT License
                • Linux
                • Apple
              • -
                security
                F
                license
                -
                quality
                An MCP server that allows AI assistants like Claude to execute terminal commands on the user's computer and return the output, functioning like a terminal through AI.
                Last updated -
                7
                Python
                • Apple
              • -
                security
                -
                license
                -
                quality
                A server that enables communication with multiple unichat-based MCP servers simultaneously, allowing users to query different language models and combine their responses for more comprehensive results.
                Last updated -
                JavaScript
              • -
                security
                -
                license
                -
                quality
                An MCP server that enables Claude and other MCP clients to interact with Mattermost workspaces, providing channel management, messaging capabilities, and topic monitoring functionality.
                Last updated -
                TypeScript

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/LazerThings/twosplit'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server