-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Feature Type
I cannot use LiveKit without it
Feature Description
Currently, the LiveKit Agents framework automatically creates MCP server connections using MCPServerHTTP, but there's no way to:
- Specify which MCP transport type to use (SSE vs Streamable HTTP)
- Filter which tools are exposed from an MCP server to the agent
When integrating with MCP servers (especially third-party services like Pipedream), we often need to control which tools are available to specific agents to prevent agents from calling inappropriate or unnecessary tools, and
choose the transport mechanism which is not dependent on MCP URL.
Workarounds / Alternatives
Currently, I've implemented a custom workaround by creating a MCPServerHTTPFiltered class that wraps the standard MCPServerHTTP, with an addition that it has an allowed_tools and type attributes. I can create a PR for this.
Additional Context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request