Langfuse Prompt Management MCP Server logo

Langfuse Prompt Management MCP Server

by MCP-Mirror

This server provides a Model Context Protocol (MCP) interface for Langfuse Prompt Management, allowing you to access and manage your Langfuse prompts through the MCP.

View on GitHub

Last updated: N/A

What is Langfuse Prompt Management MCP Server?

This server implements the Model Context Protocol (MCP) for Langfuse Prompt Management, enabling prompt discovery and retrieval using the MCP Prompts specification.

How to use Langfuse Prompt Management MCP Server?

  1. Build the server using npm install and npm run build. 2. Configure your MCP client (e.g., Claude Desktop or Cursor) by adding the server with the appropriate command and environment variables (LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, LANGFUSE_BASEURL).

Key features of Langfuse Prompt Management MCP Server

  • MCP Prompt implementation (prompts/list, prompts/get)

  • Tool-based prompt retrieval (get-prompts, get-prompt)

  • Cursor-based pagination for prompt listing

  • Compilation of prompts with provided variables

  • Compatibility with Claude Desktop and Cursor

Use cases of Langfuse Prompt Management MCP Server

  • Integrating Langfuse prompts into MCP-compatible applications

  • Managing and accessing prompts within Claude Desktop

  • Using Langfuse prompts in Cursor code editor

  • Programmatically retrieving and compiling prompts with variables

FAQ from Langfuse Prompt Management MCP Server

What is MCP?

Model Context Protocol, a standard for interacting with models.

What is Langfuse?

A platform for prompt management and observability.

What are the limitations of this server?

Only prompts with a 'production' label are returned, argument descriptions are not included, and list operations can be inefficient.

How can I contribute?

Open an issue or a pull request on the repository.

What environment variables are required?

LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, and LANGFUSE_BASEURL.