Langfuse MCP 与 API 接入

团队应用鉴权:api_key

团队 Langfuse LLM 可观测性:链路追踪、观测记录、评分、Prompt 版本、数据集与评估器。

本地 Langfuse MCP 配置

每台设备存放明文密钥

  • 原始 Langfuse Token 被复制到本地配置文件
  • 每位成员在每台电脑都需要重复安装配置
  • 每次对话都要注入数十个工具 Schema 占满上下文
通过 Duang 金库接入 Langfuse

一次连接,随时一键吊销

  • 每团队独立信封加密保存凭证
  • 本地磁盘与大模型提示词中零明文密钥
  • 全团队共享同一个远程 MCP 端点
发给 Agent 对话直接发给 Claude Code、OpenClaw、OpenCode、Grok Bot、Antigravity、Hermes 或 Pi

set up https://duang.ai/SKILL.md

全部操作(109)

操作价格
GET cloud.langfuse.com/api/public/annotation-queues

Get all annotation queues

自备 Key
POST cloud.langfuse.com/api/public/annotation-queues

Create an annotation queue

自备 Key
GET cloud.langfuse.com/api/public/annotation-queues/{queueId}

Get an annotation queue by ID

自备 Key
GET cloud.langfuse.com/api/public/annotation-queues/{queueId}/items

Get items for a specific annotation queue

自备 Key
POST cloud.langfuse.com/api/public/annotation-queues/{queueId}/items

Add an item to an annotation queue

自备 Key
GET cloud.langfuse.com/api/public/annotation-queues/{queueId}/items/{itemId}

Get a specific item from an annotation queue

自备 Key
PATCH cloud.langfuse.com/api/public/annotation-queues/{queueId}/items/{itemId}

Update an annotation queue item

自备 Key
DELETE cloud.langfuse.com/api/public/annotation-queues/{queueId}/items/{itemId}

Remove an item from an annotation queue

自备 Key
POST cloud.langfuse.com/api/public/annotation-queues/{queueId}/assignments

Create an assignment for a user to an annotation queue

自备 Key
DELETE cloud.langfuse.com/api/public/annotation-queues/{queueId}/assignments

Delete an assignment for a user to an annotation queue

自备 Key
GET cloud.langfuse.com/api/public/integrations/blob-storage

Get all blob storage integrations for the organization (requires organization-scoped API key)

自备 Key
PUT cloud.langfuse.com/api/public/integrations/blob-storage

Create or update a blob storage integration for a specific project (requires organization-scoped API key). The configuration is validated b…

自备 Key
GET cloud.langfuse.com/api/public/integrations/blob-storage/{id}

Get the sync status of a blob storage integration by integration ID (requires organization-scoped API key)

自备 Key
DELETE cloud.langfuse.com/api/public/integrations/blob-storage/{id}

Delete a blob storage integration by ID (requires organization-scoped API key)

自备 Key
POST cloud.langfuse.com/api/public/comments

Create a comment. Comments may be attached to different object types (trace, observation, session, prompt).

自备 Key
GET cloud.langfuse.com/api/public/comments

Get all comments

自备 Key
GET cloud.langfuse.com/api/public/comments/{commentId}

Get a comment by id

自备 Key
POST cloud.langfuse.com/api/public/dataset-items

Create a dataset item

自备 Key
GET cloud.langfuse.com/api/public/dataset-items

Get dataset items. Optionally specify a version to get the items as they existed at that point in time.

自备 Key
GET cloud.langfuse.com/api/public/dataset-items/{id}

Get a dataset item

自备 Key
DELETE cloud.langfuse.com/api/public/dataset-items/{id}

Delete a dataset item and all its run items. This action is irreversible.

自备 Key
GET cloud.langfuse.com/api/public/v2/datasets

Get all datasets

自备 Key
POST cloud.langfuse.com/api/public/v2/datasets

Create a dataset

自备 Key
GET cloud.langfuse.com/api/public/v2/datasets/{datasetName}

Get a dataset

自备 Key
POST cloud.langfuse.com/api/public/v2/evaluation-rules

Create an evaluation rule using stable evaluator identifiers.

自备 Key
GET cloud.langfuse.com/api/public/v2/evaluation-rules

List evaluation rules in newest-first creation order.

自备 Key
GET cloud.langfuse.com/api/public/v2/evaluation-rules/{evaluationRuleId}

Get one evaluation rule, including a legacy trace or dataset rule, by its stable identifier.

自备 Key
PATCH cloud.langfuse.com/api/public/v2/evaluation-rules/{evaluationRuleId}

Update an evaluation rule by its stable identifier.

自备 Key
DELETE cloud.langfuse.com/api/public/v2/evaluation-rules/{evaluationRuleId}

Delete an evaluation rule.

自备 Key
GET cloud.langfuse.com/api/public/v2/evaluators

List evaluators in newest-first creation order.

自备 Key
GET cloud.langfuse.com/api/public/v2/evaluators/{evaluatorId}

Get one evaluator by its stable identifier.

自备 Key
PATCH cloud.langfuse.com/api/public/v2/evaluators/{evaluatorId}

Update an evaluator by its stable identifier.

自备 Key
DELETE cloud.langfuse.com/api/public/v2/evaluators/{evaluatorId}

Delete an evaluator and all of its stored versions.

自备 Key
GET cloud.langfuse.com/api/public/v2/evaluators/{evaluatorId}/versions

List an evaluator's version history in newest-first order.

自备 Key
GET cloud.langfuse.com/api/public/experiments

List experiments with cursor-based pagination. Results are ordered by

自备 Key
GET cloud.langfuse.com/api/public/experiment-items

List experiment items with cursor-based pagination. Use this endpoint

自备 Key
POST cloud.langfuse.com/api/public/feedback

Submit explicit user-approved feedback about Langfuse skills, MCP tools, CLI, docs, or public API. Do not include secrets, credentials, cus…

自备 Key
GET cloud.langfuse.com/api/public/health

Check health of API and database

自备 Key
DELETE cloud.langfuse.com/api/public/llm-connections/{id}

Delete an LLM connection by id. Evaluators that depend on the deleted connection are automatically paused.

自备 Key
DELETE cloud.langfuse.com/api/public/organizations/llm-connections/{id}

Delete an organization-level LLM connection by id. Evaluators in projects without an override for the provider are automatically paused. Re…

自备 Key
GET cloud.langfuse.com/api/public/media/{mediaId}

Get a media record

自备 Key
PATCH cloud.langfuse.com/api/public/media/{mediaId}

Patch a media record

自备 Key
POST cloud.langfuse.com/api/public/media

Get a presigned upload URL for a media record

自备 Key
GET cloud.langfuse.com/api/public/v2/metrics

Get metrics from the Langfuse project using a query object. V2 endpoint with optimized performance.

自备 Key
POST cloud.langfuse.com/api/public/models

Create a model

自备 Key
GET cloud.langfuse.com/api/public/models

Get all models

自备 Key
PUT cloud.langfuse.com/api/public/models/{id}

Create or replace a project-owned model using its id. Built-in models cannot be modified.

自备 Key
GET cloud.langfuse.com/api/public/models/{id}

Get a model

自备 Key
DELETE cloud.langfuse.com/api/public/models/{id}

Delete a model. Cannot delete models managed by Langfuse. You can create your own definition with the same modelName to override the defini…

自备 Key
GET cloud.langfuse.com/api/public/v2/observations

Get a list of observations with cursor-based pagination and flexible field selection.

自备 Key
POST cloud.langfuse.com/api/public/otel/v1/traces

**OpenTelemetry Traces Ingestion Endpoint**

自备 Key
GET cloud.langfuse.com/api/public/organizations/memberships

Get all memberships for the organization associated with the API key (requires organization-scoped API key)

自备 Key
PUT cloud.langfuse.com/api/public/organizations/memberships

Create or update a membership for the organization associated with the API key (requires organization-scoped API key)

自备 Key
DELETE cloud.langfuse.com/api/public/organizations/memberships

Delete a membership from the organization associated with the API key (requires organization-scoped API key)

自备 Key
GET cloud.langfuse.com/api/public/projects/{projectId}/memberships

Get all memberships for a specific project (requires organization-scoped API key)

自备 Key
PUT cloud.langfuse.com/api/public/projects/{projectId}/memberships

Create or update a membership for a specific project (requires organization-scoped API key). The user must already be a member of the organ…

自备 Key
DELETE cloud.langfuse.com/api/public/projects/{projectId}/memberships

Delete a membership from a specific project (requires organization-scoped API key). The user must be a member of the organization.

自备 Key
GET cloud.langfuse.com/api/public/organizations/projects

Get all projects for the organization associated with the API key (requires organization-scoped API key)

自备 Key
GET cloud.langfuse.com/api/public/projects

Get Project associated with API key (requires project-scoped API key). You can use GET /api/public/organizations/projects to get all projec…

自备 Key
POST cloud.langfuse.com/api/public/projects

Create a new project (requires organization-scoped API key)

自备 Key
已展示 60 / 109 个操作,在上方输入关键词可检索全部。

常见问题

如何在 Claude Code 或 Cursor 中接入 Langfuse?

通过 Duang 远程 MCP 网关(https://api.duang.ai/mcp)一键连接,即可让 AI Agent 调用 Langfuse 全部 109 个操作,无需本地维护 MCP 插件或明文密钥。

通过 Duang 接入 Langfuse 需要额外付费吗?

团队应用接入永久 $0 平台费。凭证加密封存于团队金库,永不进入模型上下文。

我的 Langfuse 密钥会暴露给大模型吗?

不会。密钥仅在 Duang 服务端出站请求时解密注入,本地配置文件与大模型上下文中均不包含明文密钥。

相关团队应用