Langfuse MCP Server
for AI Agents
Connect your AI agent to StackOne's Langfuse MCP server and give it 128 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
128 Agent Actions
Agents can read, write and delete in Langfuse. Extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Langfuse MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Langfuse tool response scanned for prompt injection in about 2.5 ms, with 0.94 F1 on tool-response attacks, all running on a CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Langfuse call.
Tools Discovery →What is the Langfuse MCP Server?
A Langfuse MCP server lets AI agents read and write Langfuse data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's Langfuse MCP server ships with 128 pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Langfuse MCP Tools
Every StackOne action for Langfuse, ready for your agent. Read, write and delete, scoped to exactly what you need.
Annotation Queues
- Create Annotation Queue
Create an annotation queue in the Langfuse project.
- List Annotation Queues
List the annotation queues of the Langfuse project.
- Get Annotation Queue
Get one annotation queue of the Langfuse project.
Annotation Queue Items
- Create Annotation Queue Item
Add a trace, observation or session to a Langfuse annotation queue.
- List Annotation Queue Items
List the items of one Langfuse annotation queue.
- Get Annotation Queue Item
Get one item of a Langfuse annotation queue.
- Update Annotation Queue Item
Change the status of an item in a Langfuse annotation queue.
- Delete Annotation Queue Item
Remove an item from a Langfuse annotation queue.
Annotation Queue Assignments
- Create Annotation Queue Assignment
Assign a Langfuse user to an annotation queue.
- Delete Annotation Queue Assignment
Remove a Langfuse user from an annotation queue.
Project API Keys
- List Project API Keys
List the API keys of one Langfuse project.
- Delete Project API Key
Delete an API key of one Langfuse project.
Blob Storage Integrations
- List Blob Storage Integrations
List the blob storage export integrations of the Langfuse organization.
- Delete Blob Storage Integration
Delete a Langfuse blob storage export.
Comments
- Create Comment
Add a comment to a Langfuse trace, observation, session or prompt.
- List Comments
List the comments in the Langfuse project.
- Get Comment
Get one comment from the Langfuse project.
Dashboards
- Create Dashboard
Create a custom dashboard in the Langfuse project.
- List Dashboards
List the custom dashboards of the Langfuse project.
- Get Dashboard
Get one custom dashboard of the Langfuse project.
- Update Dashboard
Change the name, description, layout or filters of a Langfuse dashboard.
- Delete Dashboard
Delete a custom dashboard from the Langfuse project.
Dashboard Placements
- Add Dashboard Placement
Place a widget or preset on a Langfuse dashboard.
- Update Dashboard Placement
Move or resize a placement on a Langfuse dashboard.
- Delete Dashboard Placement
Remove a placement from a Langfuse dashboard.
Dashboard Widgets
- Create Dashboard Widget
Create a chart widget in the Langfuse project.
- List Dashboard Widgets
List the dashboard widgets of the Langfuse project.
- Get Dashboard Widget
Get one dashboard widget of the Langfuse project.
- Update Dashboard Widget
Change a dashboard widget in the Langfuse project.
- Delete Dashboard Widget
Delete a dashboard widget from the Langfuse project.
Dataset Items
- Create Dataset Item
Add an item to a Langfuse dataset, or update it by id.
- List Dataset Items
List the dataset items of the Langfuse project.
- Get Dataset Item
Get one dataset item from the Langfuse project.
- Delete Dataset Item
Delete a dataset item from Langfuse.
Datasets
- Create Dataset
Create a dataset in the Langfuse project.
- List Datasets
List the datasets of the Langfuse project.
- Get Dataset
Get one dataset of the Langfuse project by name.
Evaluation Rules
- Create Evaluation Rule
Create a rule that runs evaluators on matching observations in the Langfuse project.
- List Evaluation Rules
List the evaluation rules of the Langfuse project.
- Get Evaluation Rule
Get one evaluation rule of the Langfuse project.
- Update Evaluation Rule
Change an evaluation rule in the Langfuse project.
- Delete Evaluation Rule
Delete an evaluation rule from the Langfuse project.
Evaluators
- Create Evaluator
Create an LLM-as-a-judge or code evaluator in the Langfuse project.
- List Evaluators
List the evaluators of the Langfuse project.
- Get Evaluator
Get one evaluator of the Langfuse project.
- Update Evaluator
Rename an evaluator or replace its definition in the Langfuse project.
- Delete Evaluator
Delete an evaluator and all its versions from the Langfuse project.
Unified Roles
- List Unified Roles
List unified roles in Langfuse.
- Get Unified Role
Get a unified Langfuse role by ID.
Unified Users
- List Unified Users
List unified users in a Langfuse organization.
- Get Unified User
Get a unified Langfuse user by ID.
Organization LLM Connections
- List Organization LLM Connections
List the LLM connections set at the Langfuse organization level.
- Delete Organization LLM Connection
Delete an organization-level LLM connection from Langfuse.
LLM Connections
- List LLM Connections
List the LLM connections of the Langfuse project.
- Delete LLM Connection
Delete an LLM connection from the Langfuse project.
Medias
- Get Media
Get one media record of the Langfuse project.
- Update Media
Report the result of a media upload to Langfuse.
Models
- Create Model
Add a custom model price definition to the Langfuse project.
- List Models
List the model price definitions of the Langfuse project.
- Get Model
Get one model price definition of the Langfuse project.
- Delete Model
Delete a custom model price definition from the Langfuse project.
Organization Memberships
- List Organization Memberships
List every member of the Langfuse organization with their organization role.
- Delete Organization Membership
Remove a member from the Langfuse organization.
Project Memberships
- List Project Memberships
List the project role overrides of one Langfuse project.
- Delete Project Membership
Remove a member's project-level role from one Langfuse project.
Projects
- Create Project
Create a project in the Langfuse organization.
- Update Project
Rename a Langfuse project or change its metadata or retention.
- Delete Project
Delete a Langfuse project.
Prompts
- List Prompts
List the prompts of the Langfuse project.
- Get Prompt
Get one version of a Langfuse prompt.
- Delete Prompt
Delete a Langfuse prompt or some of its versions.
SCIM Users
- Create SCIM User
Add a person to the Langfuse organization through SCIM.
- List SCIM Users
List the members of the Langfuse organization as SCIM users.
- Get SCIM User
Get one member of the Langfuse organization as a SCIM user.
- Delete SCIM User
Remove a person from the Langfuse organization through SCIM.
Score Configs
- Create Score Config
Create a score config that defines the allowed values of a score in the Langfuse project.
- List Score Configs
List the score configs of the Langfuse project.
- Get Score Config
Get one score config of the Langfuse project.
- Update Score Config
Change or archive a score config in the Langfuse project.
Scores
- Create Scores
Send a batch of scores for traces, observations, sessions or experiments to the Langfuse project.
- List Scores
List the scores of the Langfuse project.
- Delete Score
Delete one score from the Langfuse project.
Skills
- List Skills
List the agent skills stored in the Langfuse project.
- Get Skill
Get one version of a Langfuse skill with its file list.
Skill Versions
- Create Skill Version
Create an agent skill in Langfuse, or add a new version to an existing one.
- Delete Skill Version
Delete one version of a Langfuse skill.
Topic Facets
- List Topic Facets
List the Topics facets of the Langfuse project.
- Get Topic Facet
Get one Topics facet of the Langfuse project.
Topics
- List Topics
List the topics on the live map of each active Topics facet, with trace counts.
- Get Topic
Get one topic of a Topics facet map by its stable id.
Topic Rules
- List Topic Rules
List the Topics rules of the Langfuse project.
- Get Topic Rule
Get one Topics rule of the Langfuse project.
Traces
- Delete Trace
Delete one trace and its observations from the Langfuse project.
- Delete Traces
Delete up to 1,000 traces at once from the Langfuse project.
Other (34)
- Create Prompt Version
Create a prompt in Langfuse, or add a new version to an existing one.
- List Organization API Keys
List the API keys of the Langfuse organization.
- Get Blob Storage Integration Status
Get the sync status of one Langfuse blob storage export.
- List Evaluator Versions
List the version history of one Langfuse evaluator.
- List Experiments
List the experiments of the Langfuse project in a time window.
- List Experiment Items
List experiment items of the Langfuse project in a time window.
- Get Health
Check that the Langfuse API and its database are up.
- Get Unified Credentials
Get the current Langfuse connection's unified credentials and identity.
- List Unified Resource Types
List unified resource types in Langfuse.
- List Unified Resource Users
List unified resource users for a Langfuse project.
- Get Media Upload URL
Register a media file in Langfuse and get a signed URL to upload it to.
- Query Metrics
Query aggregated metrics on observations and scores in the Langfuse project.
- List Observations
List observations (spans, generations, events) of the Langfuse project.
- Export OpenTelemetry Traces
Send OpenTelemetry spans to the Langfuse project.
- List Organization Projects
List the projects of the Langfuse organization.
- Get Current Project
Get the Langfuse project the project API key belongs to.
- Get SCIM Service Provider Config
Get the Langfuse SCIM service provider configuration.
- List SCIM Resource Types
List the SCIM resource types Langfuse serves.
- List SCIM Schemas
List the SCIM schemas Langfuse serves.
- Get Skill File Contents
Read the text of skill files by their content hashes.
- List Topic Summaries
List the current Topics summary per trace and facet in the Langfuse project.
- List Topic Assignments
List the current topic per trace, facet and rule in the Langfuse project.
- Update Prompt Version Labels
Add or remove labels on one version of a Langfuse prompt.
- Update Skill Tags
Replace the tags of a Langfuse skill.
- Set Skill Version Labels
Set the labels of one version of a Langfuse skill.
- Upsert Blob Storage Integration
Create or update the blob storage export of one Langfuse project.
- Submit Feedback
Send feedback about Langfuse skills, MCP tools, CLI, docs or public API to Langfuse.
- Upsert Organization LLM Connection
Create or update an organization-level LLM connection in Langfuse.
- Upsert LLM Connection
Create or update an LLM connection in the Langfuse project.
- Upsert Model
Create or replace a custom model price definition by id in the Langfuse project.
- Upsert Organization Membership
Set an existing Langfuse user's organization role, adding them to the organization if needed.
- Upsert Project Membership
Set a member's role in one Langfuse project.
- Replace SCIM User
Provision, deprovision or change the organization role of a Langfuse user through SCIM.
- Patch SCIM User
Provision or deprovision a Langfuse user through a SCIM patch.
Set Up Your Langfuse MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Langfuse in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Check More AI & ML MCP Servers
576+ actions
258+ actions
182+ actions
164+ actions
126+ actions
121+ actions
62+ actions
Platform Resources
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, the security risks they share, and when to use one, both or a hybrid.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
FAQ
Langfuse MCP Server FAQ
origin_owner_id.