MCP Server for langfuse
langfuse 的 MCP 服务器
用于将 AI 助手与 Langfuse 工作区集成的模型上下文协议 (MCP) 服务器实现。
概述
此软件包提供了一个 MCP 服务器,使 AI 助手能够与 Langfuse 工作区交互。它允许 AI 模型执行以下操作:
按时间范围查询 LLM 指标
Related MCP server: langfuse-mcp-extended
安装
# Install from npm
npm install shouting-mcp-langfuse
# Or install globally
npm install -g shouting-mcp-langfuse您可以在 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 指标
执照
国际学习中心
作者
存储库
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Alicense-qualityDmaintenanceAn 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.24221MIT
- Alicense-qualityDmaintenanceA Model Context Protocol (MCP) server for comprehensive monitoring and observability of systems using Langfuse.1MIT
- Alicense-qualityAmaintenanceMCP server for Langfuse providing 50 tools for prompt management, observability, instance/organization management, and metrics tracking via natural language.31MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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