LP

Langfuse Prompt Management

Created 6 months ago

MCP Server for Langfuse Prompt Management allowing access and management of prompts.

development documentation public

What is Langfuse Prompt Management?

Open-source tool for collaborative editing, versioning, evaluating, and releasing prompts.

Documentation

Langfuse Prompt Management MCP Server

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
  • prompts/get: Get a specific prompt

Tools

To increase compatibility with other MCP clients, the server exports tools that replicate the functionality of the MCP Prompts.

Development

npm install
npm run build
npx @modelcontextprotocol/inspector node ./build/index.js

Usage## Step 1: Build

npm install
npm run build
```\n\n#### Step 2: Add the server to your MCP servers:## Claude Desktop
Configure Claude for Desktop by editing `claude_desktop_config.json`

```json
{
  "mcpServers": {
    "langfuse": {
      "command": "node",
      "args": ["/build/index.js"],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "your-public-key",
        "LANGFUSE_SECRET_KEY": "your-secret-key",
        "LANGFUSE_BASEURL": "https://cloud.langfuse.com"
      }
    }
  }
}

Limitations

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

  • Only prompts with a production label in Langfuse are returned.

Server Config

{
  "mcpServers": {
    "langfuse-prompt-management-server": {
      "command": "npx",
      "args": [
        "langfuse-prompt-management"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: Yes

Project Info

Hosted Featured
Created At: May 23, 2025
Updated At: Aug 07, 2025
Author: Langfuse Team
Category: official
License: MIT
Tags:
development documentation public