# Langfuse Prompt Management MCP Server

> Langfuse Prompt Management MCP Server connects MCP clients to Langfuse prompt libraries so agents can list, retrieve, and compile managed prompts at runtime. It is useful for teams that keep prompts in Langfuse and want assistants to consume production prompt definitions instead of copying templates by hand.

- Skill: `agentskillexchange/langfuse-prompt-management-mcp-server` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/langfuse-prompt-management-mcp-server`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/langfuse-prompt-management-mcp-server/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/langfuse-prompt-management-mcp-server

---


# Langfuse Prompt Management MCP Server

Langfuse Prompt Management MCP Server connects MCP clients to Langfuse prompt libraries so agents can list, retrieve, and compile managed prompts at runtime. It is useful for teams that keep prompts in Langfuse and want assistants to consume production prompt definitions instead of copying templates by hand.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install
- npm run build
- npx @modelcontextprotocol/inspector node ./build/index.js
- Make sure to replace the environment variables with your actual Langfuse API keys. The server will now be available to use in Claude Desktop.

Requirements and caveats from upstream:
- "command": "node",
- LANGFUSE_PUBLIC_KEY="your-public-key" LANGFUSE_SECRET_KEY="your-secret-key" LANGFUSE_BASEURL="https://cloud.langfuse.com" node absolute-path/build/index.js
- List operations require fetching each prompt individually in the background to extract the arguments, this works but is not efficient

Basic usage or getting-started notes:
- ### Step 1: Build
- bash
- ### Step 2: Add the server to your MCP servers:

- Source: https://github.com/langfuse/mcp-server-langfuse
- Extracted from upstream docs: https://raw.githubusercontent.com/langfuse/mcp-server-langfuse/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/langfuse-prompt-management-mcp-server/)

