{"type":"mcp_server","name":"mcp-server-langfuse","description":"This repository provides an MCP server for Langfuse Prompt Management, enabling access and management of prompts through the Model Context Protocol. It supports prompt listing, retrieval, and compilation with variables,","category":"AI","language":"TypeScript","stars":166,"forks":6,"owner":"langfuse","github_url":"https://github.com/langfuse/mcp-server-langfuse","homepage":"https://langfuse.com","setup":"## Setup\n\n**Step 1: Build**\n\n```bash\nnpm install\nnpm run build\n```\n\n**Step 2: Add the server to your MCP servers:**\n\n**Claude Desktop**\n\nConfigure Claude for Desktop by editing `claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"langfuse\": {\n      \"command\": \"node\",\n      \"args\": [\"<absolute-path>/build/index.js\"],\n      \"env\": {\n        \"LANGFUSE_PUBLIC_KEY\": \"your-public-key\",\n        \"LANGFUSE_SECRET_KEY\": \"your-secret-key\",\n        \"LANGFUSE_BASEURL\": \"https://cloud.langfuse.com\"\n      }\n    }\n  }\n}\n```\n\nMake sure to replace the environment variables with your actual Langfuse API keys; the server will now be available to use in Claude Desktop.\n\n**Cursor**\n\nAdd new server to Cursor:\n\n- Name: `Langfuse Prompts`\n- Type: `command`\n- Command:\n  ```bash\n  LANGFUSE_PUBLIC_KEY=\"your-public-key\" LANGFUSE_SECRET_KEY=\"your-secret-key\" LANGFUSE_BASEURL=\"https://cloud.langfuse.com\" node absolute-path/build/index.js\n  ```","tools":"## Available Tools\n\n\t\t1. MCP Prompt (`prompts/list`): List all available prompts with optional cursor-based pagination, returning prompt names and their required arguments.\n\t\t2. MCP Prompt (`prompts/get`): Get a specific prompt, transforming Langfuse prompts into MCP prompt objects and compiling it with provided variables.\n\t\t3. Tools (`get-prompts`): List available prompts with an optional `cursor` parameter for pagination, returning a list of prompts with their arguments.\n\t\t4. Tools (`get-prompt`): Retrieve and compile a specific prompt, requiring a `name` parameter and an optional `arguments` parameter.","faq":null,"created_at":"2025-02-15T11:58:06+00:00","updated_at":"2025-03-28T11:25:49+00:00","source_url":"https://model-context-protocol.com/servers/mcp-server-langfuse-prompt-management","related_articles":[]}