Hamza-Chergui-Converteo/adk-mcp-servers
If you are the rightful owner of adk-mcp-servers and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project demonstrates the implementation of a Model Context Protocol (MCP) server using a SQLite CRM database, integrated with a Google ADK-powered agent.
MCP CRM Example with Google ADK
This repository demonstrates how to build an MCP (Model Context Protocol) server backed by a SQLite CRM database, and how to interact with it using a Gemini-powered agent via the Google Application Development Kit (ADK).
π What is This Project?
- β A ready-to-use MCP server using a SQLite CRM database
- π€ A custom Google ADK agent capable of querying, updating, and analyzing CRM data
- π¬ A simulated CLI chat interface to test interactions with the agent
- π§° A toolset of 6 MCP tools exposed to the agent (read, write, create, list tables, describe schema, add insights)
π§± Project Structure
mcp-crm-project/
βββ agent.py # Main agent logic (Gemini + ADK)
βββ db/
β βββ setup_db.py # Script to initialize the SQLite database
β βββ crm.db # Auto-generated SQLite CRM database
βββ sqlite/ # MCP server adapted from official repo
βββ README.md # You're here!
π οΈ Setup Instructions
1. Clone the Repository
git clone https://github.com/Hamza-Chergui-Converteo/adk-mcp-servers.git
cd mcp-crm-project
2. Initialize the SQLite Database
cd db
python setup_db.py
This will create a crm.db
file with mock data.
3. Add Your Gemini API Key
In agent.py
, replace YOUR_API_KEY
with your actual Google API key:
os.environ["GOOGLE_API_KEY"] = "your-key-here"
π§ Agent Toolset
The MCP server exposes 6 tools accessible by the agent:
π Query Tools
read_query
: Run SELECT querieswrite_query
: INSERT, UPDATE, DELETEcreate_table
: Create new tables
π§Ύ Schema Tools
list_tables
: List all tablesdescribe_table
: Get schema of a table
π Insight Tools
append_insight
: Add business insights tomemo://insights
π¬ Start Chatting with the Agent
Simply run:
python agent.py
Youβll enter a CLI chat with the CRM agent. Type your questions or SQL commands (e.g., βlist all prospectsβ, βadd a new contactβ, etc.). Type exit
to quit.
π Reference
This project is based on the official MCP servers repository:
π https://github.com/modelcontextprotocol/servers
Feel free to explore it for other backends (Redis, OpenAI, Slack, etc.).