Langfuse Docs MCP Server
The Langfuse Docs MCP server exposes the Langfuse docs to AI agents.
Core use case: Use Cursor (or other AI Coding Agent) to automatically integrate Langfuse Tracing into your codebase, see get started for detailed instructions and an example prompt.
Install
Add Langfuse Docs MCP to Cursor via the one-click install:
Manual configuration
Add the following to your mcp.json:
{
"mcpServers": {
"langfuse-docs": {
"url": "https://langfuse.com/api/mcp"
}
}
}About
-
Endpoint:
https://langfuse.com/api/mcp -
Transport:
streamableHttp -
Authentication: None
-
Tools:
searchLangfuseDocs: Semantic search (RAG) over the Langfuse documentation. Returns a concise answer synthesized from relevant docs. Use for broader questions; prefer getLangfuseDocsPage for specific pages. Powered by Inkeep RAG API.getLangfuseDocsPage: Fetch the raw Markdown for a specific Langfuse docs page. Accepts a docs path (e.g.,/docs/observability/overview) or a fullhttps://langfuse.comURL. Use for specific pages, integrations, or code samples.getLangfuseOverview: Get a high-level index by fetching llms.txt. Use at the start of a session to discover key docs endpoints. Avoid repeated calls.
References
- Implementation of the MCP server: mcp.ts
- Agentic Onboarding powered by the MCP server
- Ask AI: RAG chat with the Langfuse docs to get answers to your questions
- langfuse.com/llms.txt: overview of all relevant links from the Langfuse docs
Was this page helpful?