Langfuse Prompt Management MCP Server

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

Local serverstdio

What is the Langfuse Prompt Management MCP server?

If you want an AI assistant working directly with Langfuse Prompt Management, the langfuse prompt management mcp server is the bridge. Open-source tool for collaborative editing, versioning, evaluating, and releasing prompts.

What Langfuse Prompt Management does

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.

Tools it exposes

Once connected, the assistant can call these 4 tools directly:

  • get-prompts — List available prompts
  • get-prompt — Retrieve and compile a specific prompt
  • 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
  • Cursor — The Cursor tool exposed by this server

Installing the langfuse prompt management mcp server

The server is distributed via npm as @modelcontextprotocol/inspector, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 3 environment variables: LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, LANGFUSE_BASEURL. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

AI-service servers chain other models into your assistant, turning a single chat into a small production pipeline. Langfuse Prompt Management sits in that group, and the shape of its toolset — get-prompts, get-prompt, Tools among others — tells you what it is really for. Worth comparing against the other ai services servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the langfuse prompt management mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
get-promptsList available prompts
get-promptRetrieve and compile a specific prompt
ToolsTo 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.
CursorThe Cursor tool exposed by this server.

How to install the Langfuse Prompt Management MCP server

{
  "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"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
LANGFUSE_PUBLIC_KEYCredential the server authenticates with.Yes
LANGFUSE_SECRET_KEYCredential the server authenticates with.Yes
LANGFUSE_BASEURLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Langfuse Prompt Management to get-prompts.
  • Use Langfuse Prompt Management to get-prompt.
  • Use Langfuse Prompt Management to Tools.

Frequently asked questions

It connects Langfuse Prompt Management to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (get-prompts, get-prompt, Tools, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Langfuse Prompt Management directly.