Langfuse MCP Server

AIstdiov0.3.0
代码仓库

MCP server for Langfuse, the open-source LLM observability and prompt management platform. Enables AI agents to fetch and render managed prompts, list prompt versions, and query traces, helping teams manage prompts and inspect LLM application behavior from AI-powered tools.

连接

将此配置添加到 .claude/mcp.json

{
  "mcpServers": {
    "langfuse": {
      "command": "npx",
      "args": [
        "-y",
        "@langfuse/mcp-server-langfuse"
      ],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
        "LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>",
        "LANGFUSE_HOST": "<YOUR_LANGFUSE_HOST>"
      }
    }
  }
}

工具 (2)

get_prompt

Fetch a managed prompt by name and compile it with the given variables.

{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the prompt in Langfuse"
    },
    "variables": {
      "type": "object",
      "description": "Variables to compile into the prompt template"
    }
  }
}

list_prompts

List available prompts and their versions in the Langfuse project.

{
  "type": "object",
  "properties": {
    "label": {
      "type": "string",
      "description": "Optional label filter (for example production)"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
Langfuse (@langfuse)
代码仓库
https://github.com/langfuse/mcp-server-langfuse
许可证
MIT
版本
0.3.0
星标
233
最后更新
2026年7月9日