-
Notifications
You must be signed in to change notification settings - Fork 1.1k
About the ADK sample, How can i integrate with MCP? #281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I try to integrate with MCP, But errors mcp server
samples/python/agents/google_adk/agent.py
errors:
|
Try the python tutorial for a much simpler A2A server. Then to integrate mcp, simply change + from langchain_mcp_adapters.tools import load_mcp_tools
+ tools = await load_mcp_tools(session)
- agent = create_react_agent(ollama_chat_llm, tools=[])
+ agent = create_react_agent(ollama_chat_llm, tools=tools) For example like this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
code path:
samples/python/agents/google_adk
The text was updated successfully, but these errors were encountered: