Overview
Langfuse Prompt Management MCP Server is a server that allows users to access and manage Langfuse prompts through the Model Context Protocol (MCP).
To use the server, you need to build it using npm, configure it with your Langfuse API keys, and add it to your MCP clients like Claude Desktop or Cursor.
- Implements MCP Prompts specification for prompt discovery and retrieval. - Provides endpoints to list and get specific prompts. - Exports tools for compatibility with other MCP clients.
- Managing and retrieving prompts for AI applications.
- Integrating prompt management into various MCP clients.
- Facilitating prompt discovery for developers.
Add to your AI client
Use these steps to connect Langfuse Prompt Management MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"langfuse-mcp-server-langfuse-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-langfuse-mcp-server-langfuse-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"langfuse-mcp-server-langfuse-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-langfuse-mcp-server-langfuse-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"langfuse-mcp-server-langfuse-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-langfuse-mcp-server-langfuse-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"langfuse-mcp-server-langfuse-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-langfuse-mcp-server-langfuse-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"langfuse-mcp-server-langfuse-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-langfuse-mcp-server-langfuse-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"langfuse-mcp-server-langfuse-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-langfuse-mcp-server-langfuse-mcp-mirror"
]
}
}
}FAQ
What is the MCP Server?
It is a server that implements the Model Context Protocol for managing Langfuse prompts.
How do I configure the server?
You need to edit the configuration files of your MCP clients with your Langfuse API keys.
Are there any limitations?
Yes, only prompts with a 'production' label are returned, and all arguments are assumed to be optional.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1334,"uuid":"20a7daf7-4e55-46ac-9bec-96d986066e03","name":"langfuse_mcp-server-langfuse","title":"Langfuse Prompt Management MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2025-02-20T15:26:41.530Z","updated_at":"2025-02-23T07:13:16.627Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"langfuse,prompt-management,mcp-server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/langfuse_mcp-server-langfuse","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]