MCP Catalogs
Home

mcp-server-langfuse

by langfuse·167·Score 42

MCP server for accessing and managing Langfuse prompts through the Model Context Protocol.

ai-llmdeveloper-toolsproductivity
36
Forks
14
Open issues
15 mo ago
Last commit
2d ago
Indexed

Overview

The Langfuse Prompt Management MCP Server implements the MCP Prompts specification for prompt discovery and retrieval. It provides both MCP prompt capabilities and tools for listing and retrieving prompts, with optional pagination support. The server transforms Langfuse prompts into MCP prompt objects and can compile them with provided variables, making it compatible with various MCP clients.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Integrating Langfuse prompt management with AI assistants that support MCP
you:Accessing and deploying production prompts across different applications through MCP
you:Automating prompt management workflows using MCP tool calling
you:What prompts are available through this MCP server?
you:Can I use this server with MCP clients that don't support prompt capabilities?

When to choose this

Choose this server if you're already using Langfuse for prompt management and want to integrate those prompts into AI applications that support MCP.

When NOT to choose this

Don't choose this if you're not using Langfuse or need features not supported by this server, such as non-production prompts or detailed argument descriptions.

Tools this server exposes

2 tools extracted from the README
  • get-promptsget-prompts(cursor?: string)

    List available prompts with optional pagination

  • get-promptget-prompt(name: string, arguments?: object)

    Retrieve and compile a specific prompt with variables

Comparable tools

mcp-server-pineconemcp-server-postgresmcp-server-vector-db

Installation

Install steps:

  1. Build the server:
npm install
npm run build
  1. Add to Claude Desktop by editing claude_desktop_config.json:
{
  "mcpServers": {
    "langfuse": {
      "command": "node",
      "args": ["<absolute-path>/build/index.js"],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "your-public-key",
        "LANGFUSE_SECRET_KEY": "your-secret-key",
        "LANGFUSE_BASEURL": "https://cloud.langfuse.com"
      }
    }
  }
}

Replace environment variables with your actual Langfuse API keys.

FAQ

What prompts are available through this MCP server?
Only prompts with a 'production' label in Langfuse are returned by the server.
Can I use this server with MCP clients that don't support prompt capabilities?
Yes, the server also exports tools that replicate the functionality of the MCP Prompts for compatibility.

Compare mcp-server-langfuse with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.