Skip to main content
Glama

MCP Server for langfuse

by z9905080

langfuse 用 MCP サーバー

AI アシスタントを Langfuse ワークスペースに統合するためのモデル コンテキスト プロトコル (MCP) サーバー実装。

概要

このパッケージは、AIアシスタントがLangfuseワークスペースと連携できるようにするMCPサーバーを提供します。これにより、AIモデルは以下のことが可能になります。

  • 時間範囲による LLM メトリクスのクエリ

インストール

# Install from npm npm install shouting-mcp-langfuse # Or install globally npm install -g shouting-mcp-langfuse

パッケージはnpmで見つかります: shouting-mcp-langfuse

前提条件

サーバーを使用する前に、Langfuseプロジェクトを作成し、プロジェクトの公開鍵と秘密鍵を取得する必要があります。これらの鍵はLangfuseダッシュボードで確認できます。

  1. Langfuseプロジェクトを立ち上げる
  2. 公開鍵と秘密鍵を取得する
  3. 環境変数を設定する

構成

サーバーには次の環境変数が必要です。

  • LANGFUSE_DOMAIN : Langfuse ドメイン (デフォルト: https://api.langfuse.com )
  • LANGFUSE_PUBLIC_KEY : Langfuseプロジェクトの公開鍵
  • LANGFUSE_PRIVATE_KEY : Langfuseプロジェクトの秘密鍵

使用法

CLIツールとして実行

# Set environment variables export LANGFUSE_DOMAIN="https://api.langfuse.com" export LANGFUSE_PUBLIC_KEY="your-public-key" export LANGFUSE_PRIVATE_KEY="your-private # Run the server mcp-server-langfuse

コード内での使用

import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { langfuseClient } from "shouting-mcp-langfuse"; // Initialize the server and client const server = new Server({...}); const langfuseClient = new LangfuseClient(process.env.LANGFUSE_DOMAIN, process.env.LANGFUSE_PUBLIC_KEY, process.env.LANGFUSE_PRIVATE_KEY); // Register your custom handlers // ...

利用可能なツール

サーバーは、次の langfuse 統合ツールを提供します。

  • getLLMMetricsByTimeRange : 時間範囲で LLM メトリックを取得する

ライセンス

ISC

著者

shouting.hsiao@gmail.com

リポジトリ

https://github.com/z9905080/mcp-langfuse

-
security - not tested
A
license - permissive license
-
quality - not tested

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.

AI アシスタントを Langfuse ワークスペースと統合し、モデルが時間範囲で LLM メトリックを照会できるようにする MCP サーバー実装。

  1. 概要
    1. インストール
      1. 前提条件
        1. 構成
          1. 使用法
            1. CLIツールとして実行
            2. コード内での使用
          2. 利用可能なツール
            1. ライセンス
              1. 著者
                1. リポジトリ

                  Related MCP Servers

                  • -
                    security
                    F
                    license
                    -
                    quality
                    A production-ready MCP server built with FastAPI, providing an enhanced tool registry for creating, managing, and documenting AI tools for Large Language Models (LLMs).
                    Last updated -
                    13
                    Python
                  • -
                    security
                    A
                    license
                    -
                    quality
                    An MCP server that allows AI assistants to interact with Foundry datasets, ontology objects, and functions through natural language queries and commands.
                    Last updated -
                    2
                    Python
                    MIT License
                  • A
                    security
                    F
                    license
                    A
                    quality
                    An MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.
                    Last updated -
                    11
                    40
                    TypeScript
                    • Linux
                    • Apple
                  • A
                    security
                    A
                    license
                    A
                    quality
                    An MCP server that enables AI assistants to interact with the Notion API, allowing them to search, read, comment on, and create content in Notion workspaces through natural language commands.
                    Last updated -
                    19
                    6,837
                    1,995
                    TypeScript
                    MIT License
                    • Apple

                  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/z9905080/mcp-langfuse'

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