Brightsy MCP サーバー
これは、Brightsy AI エージェントに接続するモデル コンテキスト プロトコル (MCP) サーバーです。
インストール
使用法
サーバーを起動するには:
または位置引数を使用する場合:
エージェントに送信する初期メッセージを指定することもできます。
ツール名のカスタマイズ
デフォルトでは、MCPサーバーは「brightsy」という名前のツールを登録します。この名前は--tool-name
パラメータを使用してカスタマイズできます。
ツール名を 3 番目の位置引数として設定することもできます。
または、 BRIGHTSY_TOOL_NAME
環境変数を使用します。
環境変数
サーバーを構成するために、次の環境変数を使用できます。
BRIGHTSY_AGENT_ID
: 使用するエージェントID(コマンドライン引数の代替)BRIGHTSY_API_KEY
: 使用する API キー (コマンドライン引数の代替)BRIGHTSY_TOOL_NAME
: 登録するツール名(デフォルト: "brightsy")
agent_proxyツールのテスト
agent_proxyツールを使用すると、Brightsy AIエージェントへのリクエストをプロキシできます。このツールをテストするには、提供されているテストスクリプトを使用してください。
前提条件
テストを実行する前に、次の環境変数を設定します。
あるいは、次の値をコマンドライン引数として渡すこともできます。
テストの実行
すべてのテストを実行するには:
特定のテストを実行するには:
テストスクリプト
- コマンドライン テスト(
test-agent-proxy.ts
): テスト メッセージを使用して MCP サーバーを実行し、agent_proxy ツールをテストします。 - 直接 MCP プロトコル テスト(
test-direct.ts
): 適切にフォーマットされた MCP 要求をサーバーに直接送信して、agent_proxy ツールをテストします。
ツールの仕組み
MCPサーバーは、OpenAI互換のAIエージェントにリクエストを転送し、レスポンスを返すツール(デフォルトでは「brightsy」という名前)を登録します。このツールは、 role
とcontent
プロパティを持つメッセージオブジェクトの配列であるmessages
パラメータを受け取ります。
MCP クライアントでの使用例:
応答にはcontent
フィールドにエージェントの返信が含まれます。
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.
Tools
モデル コンテキスト プロトコルを実装して LLM を Brightsy AI エージェントに接続し、ユーザーがこれらのエージェントにメッセージを渡したり、エージェントからの応答を受け取ったりできるようにするサーバー。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that gives LLMs the ability to interact with Ethereum networks, manage wallets, query blockchain data, and execute smart contract operations through a standardized interface.Last updated -313232TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol Server that enables LLMs to interact with and execute REST API calls through natural language prompts, supporting GET/PUT/POST/PATCH operations on configured APIs.Last updated -5PythonApache 2.0
- -securityFlicense-qualityA Model Context Protocol server that enables conversational LLMs to delegate complex research tasks to specialized AI agents powered by various OpenRouter models, coordinated by a Claude orchestrator.Last updated -10JavaScript
- -security-license-qualityAn MCP server that enables LLMs to interact with Agent-to-Agent (A2A) protocol compatible agents, allowing for sending messages, tracking tasks, and receiving streaming responses.Last updated -3TypeScript