Skip to main content
Glama

Atla MCP サーバー

最先端の LLMJ 評価のために LLM が Atla API と対話するための標準化されたインターフェースを提供する MCP サーバー実装。

Atlaの詳細については、こちらをご覧ください。Model Context Protocolの詳細については、こちらをご覧ください。

利用可能なツール

  • evaluate_llm_response : 指定された評価基準を用いて、LLMのプロンプトへの応答を評価します。この関数は、内部的にAtla評価モデルを使用して、モデルの応答のスコアを含む辞書と、モデルの応答に対するフィードバックを含むテキスト形式の批評を返します。

  • evaluate_llm_response_on_multiple_criteria : プロンプトに対するLLMの応答を複数の評価基準に基づいて評価します。この関数は、内部的にAtla評価モデルを使用して、指定された基準に対する評価スコアと批評を含む辞書のリストを返します。

Related MCP server: Ollama MCP Server

使用法

MCPサーバーを使用するには、Atla APIキーが必要です。既存のAPIキーはこちらで確認するか、こちらから新しいAPIキーを作成してください。

インストール

Python環境の管理にはuv使用をお勧めします。インストール手順についてはこちらをご覧ください。

サーバーを手動で実行する

uvをインストールして Atla API キーを取得したら、 uvx ( uvによって提供される) を使用して MCP サーバーを手動で実行できます。

ATLA_API_KEY=<your-api-key> uvx atla-mcp-server

サーバーに接続しています

別のクライアントへの接続で問題が発生したり、サポートが必要な場合は、お気軽に問題を報告したり、お問い合わせください。

OpenAIエージェントSDK

OpenAI Agents SDK を MCP サーバーで使用する方法の詳細については、公式ドキュメントを参照してください。

  1. OpenAI Agents SDK をインストールします。

pip install openai-agents
  1. OpenAI Agents SDK を使用してサーバーに接続します。

import os

from agents import Agent
from agents.mcp import MCPServerStdio

async with MCPServerStdio(
        params={
            "command": "uvx",
            "args": ["atla-mcp-server"],
            "env": {"ATLA_API_KEY": os.environ.get("ATLA_API_KEY")}
        }
    ) as atla_mcp_server:
    ...

クロードデスクトップ

Claude Desktop で MCP サーバーを構成する方法の詳細については、公式の MCP クイックスタート ガイドを参照してください。

  1. claude_desktop_config.jsonファイルに次の内容を追加します。

{
  "mcpServers": {
    "atla-mcp-server": {
      "command": "uvx",
      "args": ["atla-mcp-server"],
      "env": {
        "ATLA_API_KEY": "<your-atla-api-key>"
      }
    }
  }
}
  1. 変更を適用するには、 Claude Desktop を再起動します。

利用可能な MCP ツールのリストに、 atla-mcp-serverのオプションが表示されるようになります。

カーソル

Cursor で MCP サーバーを構成する方法の詳細については、公式ドキュメントを参照してください。

  1. .cursor/mcp.jsonファイルに次のコードを追加します。

{
  "mcpServers": {
    "atla-mcp-server": {
      "command": "uvx",
      "args": ["atla-mcp-server"],
      "env": {
        "ATLA_API_KEY": "<your-atla-api-key>"
      }
    }
  }
}

利用可能な MCP サーバーのリストにatla-mcp-server表示されるはずです。

貢献

貢献を歓迎します!詳細については、 CONTRIBUTING.mdファイルをご覧ください。

ライセンス

このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。

Available Tools

2 tools
evaluate_llm_responseA

Evaluate an LLM's response to a prompt using a given evaluation criteria.

This function uses an Atla evaluation model under the hood to return a dictionary
containing a score for the model's response and a textual critique containing
feedback on the model's response.

Returns:
    dict[str, str]: A dictionary containing the evaluation score and critique, in
        the format `{"score": <score>, "critique": <critique>}`.

Inputs: evaluation_criteria (required), llm_prompt (required), llm_response (required), expected_llm_output, +2 more. Returns: object

evaluate_llm_response_on_multiple_criteriaA

Evaluate an LLM's response to a prompt across multiple evaluation criteria.

This function uses an Atla evaluation model under the hood to return a list of
dictionaries, each containing an evaluation score and critique for a given
criteria.

Returns:
    list[dict[str, str]]: A list of dictionaries containing the evaluation score
        and critique, in the format `{"score": <score>, "critique": <critique>}`.
        The order of the dictionaries in the list will match the order of the
        criteria in the `evaluation_criteria_list` argument.

Inputs: evaluation_criteria_list (required), llm_prompt (required), llm_response (required), expected_llm_output, +2 more. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one evaluates a single criterion, the other evaluates multiple criteria. Their names and descriptions make the difference unambiguous.

    Naming Consistency5/5

    Both tool names follow a consistent verb_noun_qualifier pattern, starting with 'evaluate_llm_response' and differentiating with '_on_multiple_criteria'. No mixing of conventions.

    Tool Count3/5

    With only 2 tools, the server feels thin. While the tools cover the core evaluation functionality, a typical well-scoped server has 3-15 tools, making this borderline insufficient.

    Completeness3/5

    The tools provide basic evaluation for single and multiple criteria, but lack supporting tools such as managing criteria, listing models, or retrieving history. The surface is minimal and may leave agents with limited options.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers