Skip to main content
Glama

MCP Server for langfuse

by z9905080

Servidor MCP para langfuse

Una implementación de servidor de Protocolo de Contexto de Modelo (MCP) para integrar asistentes de IA con espacios de trabajo de Langfuse.

Descripción general

Este paquete proporciona un servidor MCP que permite a los asistentes de IA interactuar con los espacios de trabajo de Langfuse. Permite a los modelos de IA:

  • Consultar métricas LLM por rango de tiempo

Instalación

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

Puedes encontrar el paquete en npm: shouting-mcp-langfuse

Prerrequisitos

Antes de usar el servidor, debe crear un proyecto de Langfuse y obtener las claves pública y privada. Puede encontrar estas claves en el panel de control de Langfuse.

  1. configurar un proyecto Langfuse
  2. obtener las claves públicas y privadas
  3. establecer las variables de entorno

Configuración

El servidor requiere las siguientes variables de entorno:

  • LANGFUSE_DOMAIN : El dominio Langfuse (predeterminado: https://api.langfuse.com )
  • LANGFUSE_PUBLIC_KEY : La clave pública de su proyecto Langfuse
  • LANGFUSE_PRIVATE_KEY : Su clave privada del proyecto Langfuse

Uso

Ejecutarse como una herramienta 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

Usando en tu código

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 // ...

Herramientas disponibles

El servidor proporciona las siguientes herramientas de integración de langfuse:

  • getLLMMetricsByTimeRange : Obtener métricas LLM por rango de tiempo

Licencia

ISC

Autor

gritando.hsiao@gmail.com

Repositorio

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.

Una implementación de servidor MCP que integra asistentes de IA con espacios de trabajo de Langfuse, lo que permite que los modelos consulten métricas de LLM por rango de tiempo.

  1. Descripción general
    1. Instalación
      1. Prerrequisitos
        1. Configuración
          1. Uso
            1. Ejecutarse como una herramienta CLI
            2. Usando en tu código
          2. Herramientas disponibles
            1. Licencia
              1. Autor
                1. Repositorio

                  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 -
                    32
                    Python
                  • A
                    security
                    F
                    license
                    A
                    quality
                    An MCP server that enables LLMs to understand and analyze code structure through function call graphs, allowing AI assistants to explore relationships between functions and analyze dependencies in Python repositories.
                    Last updated -
                    6
                    11
                    Python
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server that enables AI assistants to interact with Linear project management systems, allowing users to retrieve, create, and update issues, projects, and teams through natural language.
                    Last updated -
                    32
                    765
                    94
                    TypeScript
                    MIT License
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    An MCP server that fetches real-time documentation for popular libraries like Langchain, Llama-Index, MCP, and OpenAI, allowing LLMs to access updated library information beyond their knowledge cut-off dates.
                    Last updated -
                    2
                    Python

                  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