cd talk-building-your-own-mcp-serverpython3 -m venv .venvsource .venv/bin/activatepip install -r requirements.txt
The .env file should have the following entries -
GOOGLE_GENAI_USE_VERTEXAI=TRUE
GOOGLE_CLOUD_PROJECT=<Your Project Name>
GOOGLE_CLOUD_LOCATION=us-central1
The .env file should have the following entries -
GOOGLE_MAPS_API_KEY=<Your API Key>
- Make sure to auth with
gcloud auth application-default login - Run
cd agent - Run
adk web
- Change path
cd mcpserver - Run
python google_maps_server.py
- Make sure you have node installed - [https://nodejs.org/en/download/]
- Run
npx @modelcontextprotocol/inspector - Connect to your MCP Server over 'HTTP' using the MCP Serer URL - which is usually :/mcp