Skip to main content
Glama

Brightsy MCP サーバー

これは、Brightsy AI エージェントに接続するモデル コンテキスト プロトコル (MCP) サーバーです。

インストール

npm install

Related MCP server: AI Helper MCP Server

使用法

サーバーを起動するには:

npm start -- --agent-id=<your-agent-id> --api-key=<your-api-key>

または位置引数を使用する場合:

npm start -- <your-agent-id> <your-api-key> [tool-name] [message]

エージェントに送信する初期メッセージを指定することもできます。

npm start -- --agent-id=<your-agent-id> --api-key=<your-api-key> --message="Hello, agent!"

ツール名のカスタマイズ

デフォルトでは、MCPサーバーは「brightsy」という名前のツールを登録します。この名前は--tool-nameパラメータを使用してカスタマイズできます。

npm start -- --agent-id=<your-agent-id> --api-key=<your-api-key> --tool-name=<custom-tool-name>

ツール名を 3 番目の位置引数として設定することもできます。

npm start -- <your-agent-id> <your-api-key> <custom-tool-name>

または、 BRIGHTSY_TOOL_NAME環境変数を使用します。

export BRIGHTSY_TOOL_NAME=custom-tool-name
npm start -- --agent-id=<your-agent-id> --api-key=<your-api-key>

環境変数

サーバーを構成するために、次の環境変数を使用できます。

  • BRIGHTSY_AGENT_ID : 使用するエージェントID(コマンドライン引数の代替)

  • BRIGHTSY_API_KEY : 使用する API キー (コマンドライン引数の代替)

  • BRIGHTSY_TOOL_NAME : 登録するツール名(デフォルト: "brightsy")

agent_proxyツールのテスト

agent_proxyツールを使用すると、Brightsy AIエージェントへのリクエストをプロキシできます。このツールをテストするには、提供されているテストスクリプトを使用してください。

前提条件

テストを実行する前に、次の環境変数を設定します。

export AGENT_ID=your-agent-id
export API_KEY=your-api-key
# Optional: customize the tool name for testing
export TOOL_NAME=custom-tool-name

あるいは、次の値をコマンドライン引数として渡すこともできます。

# Using named arguments
npm run test:cli -- --agent-id=your-agent-id --api-key=your-api-key --tool-name=custom-tool-name

# Using positional arguments
npm run test:cli -- your-agent-id your-api-key custom-tool-name

テストの実行

すべてのテストを実行するには:

npm test

特定のテストを実行するには:

# Test using the command line interface
npm run test:cli

# Test using the direct MCP protocol
npm run test:direct

テストスクリプト

  1. コマンドライン テスト( test-agent-proxy.ts ): テスト メッセージを使用して MCP サーバーを実行し、agent_proxy ツールをテストします。

  2. 直接 MCP プロトコル テスト( test-direct.ts ): 適切にフォーマットされた MCP 要求をサーバーに直接送信して、agent_proxy ツールをテストします。

ツールの仕組み

MCPサーバーは、OpenAI互換のAIエージェントにリクエストを転送し、レスポンスを返すツール(デフォルトでは「brightsy」という名前)を登録します。このツールは、 roleとcontentプロパティを持つメッセージオブジェクトの配列であるmessagesパラメータを受け取ります。

MCP クライアントでの使用例:

// Using the default tool name
const response = await client.callTool("brightsy", {
  messages: [
    {
      role: "user",
      content: "Hello, can you help me with a simple task?"
    }
  ]
});

// Or using a custom tool name if configured
const response = await client.callTool("custom-tool-name", {
  messages: [
    {
      role: "user",
      content: "Hello, can you help me with a simple task?"
    }
  ]
});

応答にはcontentフィールドにエージェントの返信が含まれます。

Available Tools

1 tool
brightsyC

Proxy requests to an Brightsy AI agent

ParametersJSON Schema
NameRequiredDescriptionDefault
messagesYesThe messages to send to the agent

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions 'proxy requests' which implies some form of communication forwarding, but doesn't describe authentication requirements, rate limits, error handling, response format, or what the Brightsy AI agent actually does. This leaves significant behavioral gaps for a proxying tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise at just 6 words, with zero wasted language. It's front-loaded with the core purpose and contains no unnecessary elaboration. This is an example of efficient communication that earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a proxying tool with no annotations and no output schema, the description is insufficiently complete. It doesn't explain what the Brightsy AI agent is, what types of requests are proxied, what authentication is needed, or what format the responses take. The combination of vague purpose and missing behavioral context creates significant gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents the single 'messages' parameter with its structure. The description adds no additional parameter semantics beyond what's in the schema. The baseline of 3 is appropriate when the schema does all the parameter documentation work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool 'proxy requests to an Brightsy AI agent', which provides a basic verb+resource combination. However, it's vague about what 'proxy requests' specifically entails - whether it's for chat, API calls, or other interactions. Without sibling tools, differentiation isn't needed, but the purpose lacks specificity about the nature of the proxying.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, nor any context about prerequisites or appropriate scenarios. With no sibling tools, the absence of explicit 'when-not-to-use' guidance is less critical, but there's still no usage context provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.0
    • First observedbrightsy

TDQS

B3/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'brightsy' has a clear and distinct purpose as a proxy to the Brightsy AI agent.

Naming Consistency5/5

A single tool inherently has perfect naming consistency, as there are no other tools to compare against. The name 'brightsy' is straightforward and matches the server's purpose.

Tool Count2/5

A single tool is generally too few for most server purposes, as it offers minimal functionality and can limit agent capabilities. While it might suffice for a simple proxy, it feels thin and under-scoped for typical MCP server expectations.

Completeness3/5

The tool surface is incomplete for a general-purpose AI agent proxy, lacking operations like configuration, status checks, or specific request types. However, the single tool covers the basic proxy function, leaving notable gaps but not entirely failing.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers