This is python AI agent that will use model_parser_mcp tool at MCP_URL.
- model_parser_mcp is running. Refer to section below on how to setup model_parser_mcp.
- google adk is install https://google.github.io/adk-docs/get-started/python/#installation
- Create a .env file. This file contain mandatory environment variables.
GOOGLE_API_KEYGoogle Gemini API key
Create a .env file. This file contain mandatory environment variables. Configure
DATABASE_URL=postgres://postgres:admin@localhost/modelruntime//Targeting DB that contained savedModelCACHE_SIZE=5//Cache size
Create a .env file and run the docker compose file as below:
version: '3'
services:
model_query:
image: "jsfong/model-parser-mcp:latest"
ports:
- "8001:8001"
volumes:
- ./.env:/.env
https://hub.docker.com/repository/docker/jsfong/model-parser-mcp/general
| Var | Remarks |
|---|---|
| MCP_URL | Set url of mcp tool in agent.py (only support SSE) |
Edit the instruction variable in agent.py.
cd ../
adk web