Skip to content
VS Code

langfuse for VS Code

com.pulsemcp/langfuse

MCP server for Langfuse LLM observability — trace and observation analysis.

client:VS Code transport:stdio runtime:npm

Install langfuse in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "langfuse-secret-key",
      "description": "LANGFUSE_SECRET_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "langfuse-public-key",
      "description": "LANGFUSE_PUBLIC_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "langfuse-base-url",
      "description": "LANGFUSE_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "langfuse": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "langfuse-observability-mcp-server"
      ],
      "env": {
        "LANGFUSE_SECRET_KEY": "${input:langfuse-secret-key}",
        "LANGFUSE_PUBLIC_KEY": "${input:langfuse-public-key}",
        "LANGFUSE_BASE_URL": "${input:langfuse-base-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

langfuse in other clients