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.

About
- Endpoint:
https://langfuse.com/api/mcp
- Transport:
streamableHttp
- Tools:
searchLangfuseDocs
returns relevant context from the Langfuse Docs, GitHub Issues, and GitHub Discussions. Powered by Inkeep RAG API.getLangfuseDocsPage
fetches the Markdown source of a specific Langfuse docs page. Accepts either a docs path (for example:/docs/observability/overview
) or a full URL (for example:https://langfuse.com/docs/observability/overview
).getLangfuseOverview
provides an initial overview of Langfuse documentation and features by fetching the llms.txt file from langfuse.com.
Usage
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"
}
}
}
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?