mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
chore: Update streamable http mcp example agent
PiperOrigin-RevId: 772213323
This commit is contained in:
committed by
Copybara-Service
parent
fef8778429
commit
31b81a342d
@@ -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__))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user