adk -gemma3
Build AI Agent using Google ADK , MCP and Gemma 3 model
claude mcp add --transport stdio arjunprabhulal-adk-mcp-gemma3 python -m search \ --env SERP_API_KEY="your_serp_api_key_here"
How to use
This MCP server implements an YouTube search assistant built with Google's ADK, MCP, and Gemma 3 running via Ollama. The agent uses MCP to interact with a YouTube search tool, call the SERP API for results, and then have Gemma 3 (via Ollama) format and present the results in a readable, bullet-point format. You can run the agent directly with Python and access a web UI for debugging if you enable the ADK web interface, or interact via the command line to issue natural language search queries such as asking for YouTube videos on a topic, a tutorial, or a specific event. The MCP tooling ensures standardized input/output between the agent and the YouTube search tool, so the model can chain calls and present well-structured results.
How to install
Prerequisites:\n- Python 3.9+\n- A SERP API key for YouTube search\n- Ollama installed with Gemma 3 model (for Gemma 3 via Ollama)\n\nStep-by-step:\n1) Clone the repository and enter the project directory:\nbash\ngit clone https://github.com/arjunprabhulal/adk-mcp-gemma3.git\ncd adk-mcp-gemma3\n``\n\n2) Create and activate a virtual environment:\nbash\npython -m venv .venv\n# macOS/Linux\nsource .venv/bin/activate\n# Windows\n.venv\Scripts\activate\n\n\n3) Install dependencies:\nbash\npip install -r requirements.txt\n\n\n4) Set up your SERP API key:\nbash\n# In the project root, create .env or set env variable in your shell\nSERP_API_KEY=your_serp_api_key_here\n\n\n5) Pull the Gemma 3 model for Ollama:\nbash\nollama pull gemma3:12b\n\n\n6) Run the MCP server (as per the README, the server is started with the MCP entry point):\nbash\n# Start the MCP-enabled search agent using the module entry point\npython -m search\n```\n\nOptional: If you want to use the web UI for debugging, navigate to the parent directory and run the ADK web interface as described in the README.\n
Additional notes
Tips and caveats:\n- Ensure Ollama is running and Gemma 3 is accessible before starting the MCP server.\n- Set SERP_API_KEY in a secure way; the key is required for YouTube search via SERP API.\n- If you modify environment variables, restart the MCP server to pick up changes.\n- The MCP tool is used to standardize tool invocation; you should see structured tool calls in the UI or logs when queries trigger YouTube searches.\n- If you encounter model- or tool-call formatting issues, verify that Gemma 3 is correctly mounted via Ollama and that the LiteLlm configurations are compatible with your ADK version.\n- The current setup assumes a Python-based ADK/MCP pipeline; adjust the command path if you restructure the project layout.
Related MCP Servers
npcpy
The python library for research and development in NLP, multimodal LLMs, Agents, ML, Knowledge Graphs, and more.
ebook
A MCP server that supports mainstream eBook formats including EPUB, PDF and more. Simplify your eBook user experience with LLM.
mcp -email
一个基于 MCP (Model Context Protocol) 的邮件服务,支持 LLM 发送带附件的电子邮件及在指定目录中搜索文件。提供安全的 SMTP 传输、多收件人支持和附件模式匹配搜索功能,适用于 Gmail、Outlook、Yahoo、QQ 邮箱和网易 126 邮箱等主流邮箱服务。
LLaMa -Streamlit
AI assistant built with Streamlit, NVIDIA NIM (LLaMa 3.3:70B) / Ollama, and Model Control Protocol (MCP).
MCPSecBench
MCPSecBench: A Systematic Security Benchmark and Playground for Testing Model Context Protocols
mlb
MCP server for advanced baseball analytics (statcast, fangraphs, baseball reference, mlb stats API) with client demo