mcp-server-langfuse
by langfuse·★ 167·Score 42
MCP server for accessing and managing Langfuse prompts through the Model Context Protocol.
Overview
The Langfuse Prompt Management MCP Server implements the MCP Prompts specification for prompt discovery and retrieval. It provides both MCP prompt capabilities and tools for listing and retrieving prompts, with optional pagination support. The server transforms Langfuse prompts into MCP prompt objects and can compile them with provided variables, making it compatible with various MCP clients.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server if you're already using Langfuse for prompt management and want to integrate those prompts into AI applications that support MCP.
When NOT to choose this
Don't choose this if you're not using Langfuse or need features not supported by this server, such as non-production prompts or detailed argument descriptions.
Tools this server exposes
2 tools extracted from the READMEget-promptsget-prompts(cursor?: string)List available prompts with optional pagination
get-promptget-prompt(name: string, arguments?: object)Retrieve and compile a specific prompt with variables
Comparable tools
Installation
Install steps:
- Build the server:
npm install
npm run build- Add to Claude Desktop by editing
claude_desktop_config.json:
{
"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"
}
}
}
}Replace environment variables with your actual Langfuse API keys.
FAQ
- What prompts are available through this MCP server?
- Only prompts with a 'production' label in Langfuse are returned by the server.
- Can I use this server with MCP clients that don't support prompt capabilities?
- Yes, the server also exports tools that replicate the functionality of the MCP Prompts for compatibility.
Compare mcp-server-langfuse with
Last updated · Auto-generated from public README + GitHub signals.