Other MCP Server · MODEL CONTEXT PROTOCOL
z9905080 mcp langfuse
z9905080 mcp langfuse is a community-listed Model Context Protocol server. Review the source repository before installation.
连接能力
z9905080 mcp langfuse 为 AI Agent 提供什么
来源目录未提供结构化功能列表,请在使用前阅读源仓库文档。
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
A Model Context Protocol (MCP) server implementation for integrating AI assistants with Langfuse workspaces.
This package provides an MCP server that enables AI assistants to interact with Langfuse workspaces. It allows AI models to:
- Query LLM Metrics by Time Range
# Install from npm
npm install shouting-mcp-langfuse
# Or install globally
npm install -g shouting-mcp-langfuseYou can find the package on npm: shouting-mcp-langfuse
Before using the server, you need to create a Langfuse project and obtain your project's public and private keys. You can find these keys in the Langfuse dashboard.
- set up a Langfuse project
- get the public and private keys
- set the environment variables
The server requires the following environment variables:
LANGFUSE_DOMAIN: The Langfuse domain (default:https://api.langfuse.com)LANGFUSE_PUBLIC_KEY: Your Langfuse Project Public KeyLANGFUSE_PRIVATE_KEY: Your Langfuse Project Private Key
# 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-langfuseimport { 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
// ...The server provides the following langfuse integration tools:
getLLMMetricsByTimeRange: Get LLM Metrics by Time Range
ISC
社区