MCP.so
ログイン

Langfuse Prompt Management MCP Server

@MCP-Mirror

Langfuse Prompt Management MCP Server について

Mirror of

基本情報

カテゴリ

その他

トランスポート

stdio

公開者

MCP-Mirror

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "langfuse_mcp-server-langfuse": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "node",
        "./build/index.js"
      ]
    }
  }
}

ツール

2

List available prompts

Retrieve and compile a specific prompt

概要

What is Langfuse Prompt Management MCP Server?

A Model Context Protocol (MCP) server that lets you access and manage your Langfuse prompts directly from MCP-compatible clients like Claude Desktop and Cursor. It bridges Langfuse’s prompt management system with the MCP ecosystem for developers.

How to use Langfuse Prompt Management MCP Server?

Install and build with npm install && npm run build, then add the server to your MCP client configuration (e.g., claude_desktop_config.json) with the environment variables LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, and LANGFUSE_BASEURL.

Key features of Langfuse Prompt Management MCP Server

  • Implements MCP Prompts specification for prompt discovery and retrieval.
  • prompts/list with optional cursor‑based pagination.
  • prompts/get transforms Langfuse prompts (text and chat) into MCP prompt objects.
  • Exports tools (get-prompts, get-prompt) for clients without prompt capability.
  • All prompts are compiled with provided variables.

Use cases of Langfuse Prompt Management MCP Server

  • Access and manage Langfuse prompts from Claude Desktop via MCP.
  • Retrieve and compile prompts with variables in MCP‑compatible clients.
  • List available prompts with pagination in any MCP host.

FAQ from Langfuse Prompt Management MCP Server

What are the runtime dependencies?

Node.js and npm. The server is run as a Node process with environment variables for Langfuse authentication.

How are Langfuse prompts authenticated?

You must provide LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY as environment variables. The base URL is set via LANGFUSE_BASEURL.

What limitations does the server currently have?

Only prompts labeled production in Langfuse are returned. All arguments are assumed optional, and list operations fetch each prompt individually (inefficient for many prompts).

Does the server support both text and chat prompts?

Yes. The prompts/get tool transforms both Langfuse text and chat prompts into MCP prompt objects.

Which MCP clients are explicitly supported?

Configuration examples are provided for Claude Desktop and Cursor. The server is designed to work with any MCP‑compatible client.

コメント

「その他」の他のコンテンツ