{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.rodrigorjsf/langfuse-api-mcp",
  "slug": "io.github.rodrigorjsf.langfuse-api-mcp",
  "title": "Langfuse API",
  "summary": "Langfuse public API (Cloud and self-hosted): traces, prompts, datasets and gated writes.",
  "version": "0.2.0",
  "serverKey": "langfuse-api-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.rodrigorjsf.langfuse-api-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.rodrigorjsf.langfuse-api-mcp/install.md",
  "trust": {
    "score": 80,
    "grade": "B",
    "smokeStatus": "needs_credentials",
    "status": "active",
    "verifiedAt": "2026-12-02T00:51:23.126461153Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=langfuse-api-mcp@0.2.0",
        "langfuse-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add langfuse-api-mcp -e 'LANGFUSE_BASE_URL=<LANGFUSE_BASE_URL>' -e 'LANGFUSE_PUBLIC_KEY=<LANGFUSE_PUBLIC_KEY>' -e 'LANGFUSE_SECRET_KEY=<LANGFUSE_SECRET_KEY>' -- npx -y --package=langfuse-api-mcp@0.2.0 langfuse-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"langfuse-api-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=langfuse-api-mcp@0.2.0\",\n        \"langfuse-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"LANGFUSE_BASE_URL\": \"<LANGFUSE_BASE_URL>\",\n        \"LANGFUSE_PUBLIC_KEY\": \"<LANGFUSE_PUBLIC_KEY>\",\n        \"LANGFUSE_SECRET_KEY\": \"<LANGFUSE_SECRET_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"langfuse-api-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=langfuse-api-mcp@0.2.0\",\n        \"langfuse-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"LANGFUSE_BASE_URL\": \"<LANGFUSE_BASE_URL>\",\n        \"LANGFUSE_PUBLIC_KEY\": \"<LANGFUSE_PUBLIC_KEY>\",\n        \"LANGFUSE_SECRET_KEY\": \"<LANGFUSE_SECRET_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"LANGFUSE_BASE_URL\",\n      \"id\": \"langfuse-base-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"LANGFUSE_PUBLIC_KEY\",\n      \"id\": \"langfuse-public-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"LANGFUSE_SECRET_KEY\",\n      \"id\": \"langfuse-secret-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"langfuse-api-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=langfuse-api-mcp@0.2.0\",\n        \"langfuse-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"LANGFUSE_BASE_URL\": \"${input:langfuse-base-url}\",\n        \"LANGFUSE_PUBLIC_KEY\": \"${input:langfuse-public-key}\",\n        \"LANGFUSE_SECRET_KEY\": \"${input:langfuse-secret-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.langfuse-api-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=langfuse-api-mcp@0.2.0\", \"langfuse-mcp\"]\nenv = { \"LANGFUSE_BASE_URL\" = \"<LANGFUSE_BASE_URL>\", \"LANGFUSE_PUBLIC_KEY\" = \"<LANGFUSE_PUBLIC_KEY>\", \"LANGFUSE_SECRET_KEY\" = \"<LANGFUSE_SECRET_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "LANGFUSE_BASE_URL",
        "-e",
        "LANGFUSE_PUBLIC_KEY",
        "-e",
        "LANGFUSE_SECRET_KEY",
        "ghcr.io/rodrigorjsf/langfuse-api-mcp:0.2.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add langfuse-api-mcp -e 'LANGFUSE_BASE_URL=<LANGFUSE_BASE_URL>' -e 'LANGFUSE_PUBLIC_KEY=<LANGFUSE_PUBLIC_KEY>' -e 'LANGFUSE_SECRET_KEY=<LANGFUSE_SECRET_KEY>' -- docker run -i --rm -e LANGFUSE_BASE_URL -e LANGFUSE_PUBLIC_KEY -e LANGFUSE_SECRET_KEY ghcr.io/rodrigorjsf/langfuse-api-mcp:0.2.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"langfuse-api-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"LANGFUSE_BASE_URL\",\n        \"-e\",\n        \"LANGFUSE_PUBLIC_KEY\",\n        \"-e\",\n        \"LANGFUSE_SECRET_KEY\",\n        \"ghcr.io/rodrigorjsf/langfuse-api-mcp:0.2.0\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"LANGFUSE_BASE_URL\": \"<LANGFUSE_BASE_URL>\",\n        \"LANGFUSE_PUBLIC_KEY\": \"<LANGFUSE_PUBLIC_KEY>\",\n        \"LANGFUSE_SECRET_KEY\": \"<LANGFUSE_SECRET_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"langfuse-api-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"LANGFUSE_BASE_URL\",\n        \"-e\",\n        \"LANGFUSE_PUBLIC_KEY\",\n        \"-e\",\n        \"LANGFUSE_SECRET_KEY\",\n        \"ghcr.io/rodrigorjsf/langfuse-api-mcp:0.2.0\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"LANGFUSE_BASE_URL\": \"<LANGFUSE_BASE_URL>\",\n        \"LANGFUSE_PUBLIC_KEY\": \"<LANGFUSE_PUBLIC_KEY>\",\n        \"LANGFUSE_SECRET_KEY\": \"<LANGFUSE_SECRET_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"LANGFUSE_BASE_URL\",\n      \"id\": \"langfuse-base-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"LANGFUSE_PUBLIC_KEY\",\n      \"id\": \"langfuse-public-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"LANGFUSE_SECRET_KEY\",\n      \"id\": \"langfuse-secret-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"langfuse-api-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"LANGFUSE_BASE_URL\",\n        \"-e\",\n        \"LANGFUSE_PUBLIC_KEY\",\n        \"-e\",\n        \"LANGFUSE_SECRET_KEY\",\n        \"ghcr.io/rodrigorjsf/langfuse-api-mcp:0.2.0\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"LANGFUSE_BASE_URL\": \"${input:langfuse-base-url}\",\n        \"LANGFUSE_PUBLIC_KEY\": \"${input:langfuse-public-key}\",\n        \"LANGFUSE_SECRET_KEY\": \"${input:langfuse-secret-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.langfuse-api-mcp]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"-e\", \"LANGFUSE_BASE_URL\", \"-e\", \"LANGFUSE_PUBLIC_KEY\", \"-e\", \"LANGFUSE_SECRET_KEY\", \"ghcr.io/rodrigorjsf/langfuse-api-mcp:0.2.0\"]\nenv = { \"LANGFUSE_BASE_URL\" = \"<LANGFUSE_BASE_URL>\", \"LANGFUSE_PUBLIC_KEY\" = \"<LANGFUSE_PUBLIC_KEY>\", \"LANGFUSE_SECRET_KEY\" = \"<LANGFUSE_SECRET_KEY>\" }"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "LANGFUSE_PUBLIC_KEY",
      "required": true,
      "secret": true,
      "description": "The project's public key (pk-lf-...).",
      "help": "The project's public key (pk-lf-...).",
      "placeholder": "<LANGFUSE_PUBLIC_KEY>"
    },
    {
      "name": "LANGFUSE_SECRET_KEY",
      "required": true,
      "secret": true,
      "description": "The project's secret key (sk-lf-...).",
      "help": "The project's secret key (sk-lf-...).",
      "placeholder": "<LANGFUSE_SECRET_KEY>"
    },
    {
      "name": "LANGFUSE_BASE_URL",
      "required": true,
      "secret": false,
      "description": "Your Langfuse host, e.g. https://cloud.langfuse.com; https only, http only for localhost.",
      "help": "Your Langfuse host, e.g. https://cloud.langfuse.com; https only, http only for localhost.",
      "placeholder": "<LANGFUSE_BASE_URL>"
    },
    {
      "name": "LANGFUSE_CA_CERT",
      "required": false,
      "secret": false,
      "description": "Optional PEM file with your corporate or private CA, added to the system trust store.",
      "help": "Optional PEM file with your corporate or private CA, added to the system trust store.",
      "placeholder": "<LANGFUSE_CA_CERT>"
    }
  ],
  "agentSteps": [
    "Ask the user for: LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, LANGFUSE_BASE_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T00:51:23.126461153Z"
}
