MCP Server for langfuse
Langfuse용 MCP 서버
Langfuse 작업 공간에 AI 어시스턴트를 통합하기 위한 MCP(Model Context Protocol) 서버 구현입니다.
개요
이 패키지는 AI 어시스턴트가 Langfuse 작업 공간과 상호 작용할 수 있도록 하는 MCP 서버를 제공합니다. 이를 통해 AI 모델은 다음과 같은 작업을 수행할 수 있습니다.
시간 범위별 LLM 메트릭 쿼리
Related MCP server: langfuse-mcp-extended
설치
지엑스피1
npm에서 shouting-mcp-langfuse 패키지를 찾을 수 있습니다.
필수 조건
서버를 사용하기 전에 Langfuse 프로젝트를 생성하고 프로젝트의 공개 키와 개인 키를 확보해야 합니다. 이 키는 Langfuse 대시보드에서 확인할 수 있습니다.
Langfuse 프로젝트 설정
공개 키와 개인 키를 가져오다
환경 변수를 설정하다
구성
서버에는 다음과 같은 환경 변수가 필요합니다.
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 메트릭 가져오기
특허
아이에스씨
작가
저장소
Available Tools
1 toolquery_llm_metricsC
Query LLM metrics
Inputs: fromTimestamp, toTimestamp, page, limit, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap with other tools. The tool's purpose is clear and unambiguous.
The single tool uses a clear snake_case naming convention. Although there are no other tools to compare, the naming is consistent within itself.
A server named 'MCP Server for langfuse' with only one tool is severely undersized. Langfuse is a comprehensive LLM observability platform expecting tools for traces, scores, sessions, etc., not just metrics queries.
The server lacks any tools for creating, updating, or deleting resources, and does not cover common operations like managing traces or observations. It is severely incomplete for its stated domain.
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
Query application logs, traces, and metrics from your AI coding assistant via Foam's MCP server.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to interact with Signoz observability platform, providing tools to query dashboards, metrics, traces, logs, and APM data with time range support.14MIT
- AlicenseAqualityCmaintenanceComprehensive MCP server for Langfuse, enabling AI assistants to access and manage traces, observations, scores, datasets, and sessions for observability.2410 npm2MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for comprehensive monitoring and observability of systems using Langfuse.1MIT
- AlicenseNot gradedqualityFmaintenanceMCP server for Langfuse providing 50 tools for prompt management, observability, instance/organization management, and metrics tracking via natural language.MIT