chore: Update streamable http mcp example agent

PiperOrigin-RevId: 772213323
This commit is contained in:
Xiang (Sean) Zhou
2025-06-16 16:22:09 -07:00
committed by Copybara-Service
parent fef8778429
commit 31b81a342d
2 changed files with 1 additions and 3 deletions
@@ -1,8 +1,7 @@
This agent connects to a local MCP server via sse.
This agent connects to a local MCP server via Streamable HTTP.
To run this agent, start the local MCP server first by :
```bash
uv run filesystem_server.py
```
@@ -18,7 +18,6 @@ import os
from google.adk.agents.llm_agent import LlmAgent
from google.adk.tools.mcp_tool.mcp_session_manager import StreamableHTTPServerParams
from google.adk.tools.mcp_tool.mcp_toolset import MCPToolset
from google.adk.tools.mcp_tool.mcp_toolset import SseServerParams
_allowed_path = os.path.dirname(os.path.abspath(__file__))