Skip to main content
Glama

Twosplit MCP Server

2分割MCPサーバー

複数のClaudeインスタンスを活用して、より高度な応答を提供するMCPサーバー。同じプロンプトを2つのClaudeインスタンスに送信し、3つ目のインスタンスを使用して両方の応答から最適な要素を組み合わせ、または選択します。

特徴

  • 複数のClaudeモデルをサポートします:
    • クロード-3-opus-最新
    • クロード-3-5-ソネット-最新
    • クロード-3-5-俳句-最新
    • クロード-3-俳句-20240307
  • 各AIから単一の直接応答を取得します
  • オリジナルの回答と出典を表示します
  • 最適化された最終レスポンスを返す

インストール

  1. リポジトリをクローンする
  2. 依存関係をインストールします:
npm install
  1. サーバーを構築します。
npm run build

構成

サーバーが機能するにはAnthropic APIキーが必要です。環境変数として設定してください。

export ANTHROPIC_API_KEY=your-api-key-here

使用法

サーバーは、次のパラメータを持つtwosplitと呼ばれる単一のツールを提供します。

  • prompt (必須): クロードに送るプロンプト
  • 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. サーバーは、指定されたクロードモデルの2つの別々のインスタンスに同じプロンプトを送信し、単一の直接応答を要求します。
  2. 3 番目のインスタンスは両方の応答を分析し、次のいずれかを実行します。
    • 明らかに優れている場合、最適な回答を1つ選択します
    • 両方のレスポンスの最良の要素を組み合わせた新しいレスポンスを作成します
  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.

複数の Claude インスタンスを活用して、同じプロンプトを 2 つの別々のインスタンスに送信し、3 番目のインスタンスを使用して最適な要素を組み合わせたり選択したりすることで、強化された応答を提供する MCP サーバー。

  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