Feature Request: MCP Server Integration in Langfuse Playground #12932
Replies: 2 comments
-
|
Currently, the Langfuse Playground supports tool calling with JSON schema definitions and allows you to test prompts by mocking tool responses—but it does not support connecting actual MCP servers as executable tools. (1) (2) The existing Langfuse MCP server is designed for the opposite direction: it exposes Langfuse-managed prompts to MCP-compatible clients like Claude Desktop or Cursor, rather than allowing the Playground to consume external MCP tools. (3) This feature request aligns with an existing discussion. As noted by a Langfuse team member, tools added to the Playground currently "can only simulate the tool call activity" and "it is not possible to add an actual MCP server here yet." However, this capability is on the roadmap. (4) Workaround options: If you need to integrate custom tool logic now, you could:
For Azure OpenAI or other providers, you can configure LLM connections in Project Settings > LLM Connections, and the Playground supports any provider implementing the OpenAI API schema. (5) I'd recommend adding your use case to the existing GitHub discussion to help prioritize this feature: MCP server as tool in playground 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @rahulreddy1109-lang! We are tracking this here: https://github.com/orgs/langfuse/discussions/6451 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your question
Feature Request
I'd like to request support for integrating MCP (Model Context Protocol) servers directly into the Langfuse Playground.
Current State
Currently, the Playground supports:
The Langfuse MCP server exists for exposing prompts to MCP clients (Claude Desktop, Cursor), but there's no way to connect custom MCP servers as tools within the Playground itself.
Desired Functionality
It would be valuable to:
Use Case
I want to test prompts in the Playground that use custom MCP tools, similar to how I can currently test with JSON schema-defined tools, but leveraging the full MCP protocol for more complex tool integrations.
Langfuse Cloud or Self-Hosted?
Self-Hosted
If Self-Hosted
3.162.0
If Langfuse Cloud
No response
SDK and integration versions
No response
Pre-Submission Checklist
Beta Was this translation helpful? Give feedback.
All reactions