Langfuse Prompt Management MCP Server

Langfuse Prompt Management MCP Server

mcp-server-langfuse•bylangfuse

An MCP server that provides access to and management of Langfuse prompts through the Model Context Protocol, supporting prompt discovery, retrieval, and compilation.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Implements the MCP Prompts specification for prompt discovery and retrieval.
  • •Supports prompts/list, returning prompt names and their required arguments with optional cursor-based pagination.
  • •Supports prompts/get to retrieve a specific prompt and compile it with provided variables, transforming Langfuse text and chat prompts into MCP prompt objects.
  • •Also exports tools (get-prompts and get-prompt) that replicate the MCP Prompts functionality for clients lacking prompt support.

BEST FOR

  • •Discovering and browsing available Langfuse prompts from an MCP client.
  • •Retrieving a specific Langfuse prompt and compiling it with variable values inside an MCP client.
  • •Using prompt capabilities in MCP clients that do not natively support the Prompts capability, via exported tools.

ABOUT MCP-SERVER-LANGFUSE

Langfuse Prompt Management MCP Server is cataloged as an MCP server attributed to langfuse. An MCP server that provides access to and management of Langfuse prompts through the Model Context Protocol, supporting prompt discovery, retrieval, and compilation. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Langfuse Prompt Management MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which Langfuse prompts does the server return?

Only prompts that have a production label in Langfuse are returned.

Do prompt arguments include descriptions?

No, all arguments are assumed to be optional and have no descriptions because variables do not have a specification in Langfuse.

How does the server handle listing prompts efficiently?

List operations require fetching each prompt individually in the background to extract arguments, which works but is not efficient.

Upstream README

View this exact version on GitHub

README.md · a534b5a995d5 · Fetched 2026-11-13 09:33:05 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Langfuse Prompt Management MCP Server

Model Context Protocol (MCP) Server for Langfuse Prompt Management. This server allows you to access and manage your Langfuse prompts through the Model Context Protocol.

Demo

Quick demo of Langfuse Prompts MCP in Claude Desktop (unmute for voice-over explanations):

https://github.com/user-attachments/assets/61da79af-07c2-4f69-b28c-ca7c6e606405

Features

MCP Prompt

This server implements the MCP Prompts specification for prompt discovery and retrieval.

  • prompts/list: List all available prompts

    • Optional cursor-based pagination
    • Returns prompt names and their required arguments, limitation: all arguments are assumed to be optional and do not include descriptions as variables do not have specification in Langfuse
    • Includes next cursor for pagination if there's more than 1 page of prompts
  • prompts/get: Get a specific prompt

    • Transforms Langfuse prompts (text and chat) into MCP prompt objects
    • Compiles prompt with provided variables

Tools

To increase compatibility with other MCP clients that do not support the prompt capability, the server also exports tools that replicate the functionality of the MCP Prompts.

  • get-prompts: List available prompts

    • Optional cursor parameter for pagination
    • Returns a list of prompts with their arguments
  • get-prompt: Retrieve and compile a specific prompt

    • Required name parameter: Name of the prompt to retrieve
    • Optional arguments parameter: JSON object with prompt variables

Development

npm install

# build current file
npm run build

# test in mcp inspector
npx @modelcontextprotocol/inspector node ./build/index.js

Usage

Step 1: Build

npm install
npm run build

Step 2: Add the server to your MCP servers:

Claude Desktop

Configure Claude for 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"
      }
    }
  }
}

Make sure to replace the environment variables with your actual Langfuse API keys. The server will now be available to use in Claude Desktop.

Cursor

Add new server to Cursor:

  • Name: Langfuse Prompts
  • Type: command
  • Command:
    LANGFUSE_PUBLIC_KEY="your-public-key" LANGFUSE_SECRET_KEY="your-secret-key" LANGFUSE_BASEURL="https://cloud.langfuse.com" node absolute-path/build/index.js
    

Limitations

The MCP Server is a work in progress and has some limitations:

  • Only prompts with a production label in Langfuse are returned
  • All arguments are assumed to be optional and do not include descriptions as variables do not have specification in Langfuse
  • List operations require fetching each prompt individually in the background to extract the arguments, this works but is not efficient

Contributions are welcome! Please open an issue or a PR (repo) if you have any suggestions or feedback.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Langfuse Prompt Management MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-server-langfuse)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools