Provides access to Google Maps services through the Google Maps API, enabling location-based queries and geographic data retrieval.
Steps
1 Setup an API key for Google Maps in Argolis
2 Clone the gitlab repo
3 Setup the virtual env
cd talk-building-your-own-mcp-serverpython3 -m venv .venvsource .venv/bin/activatepip install -r requirements.txt
4 Create a .env file within each of the agent subdirectories
The .env file should have the following entries -
5 Create a .env file within each of the mcp subdirectories
The .env file should have the following entries -
4 Running the agent
Make sure to auth with
gcloud auth application-default loginRun
cd agentRun
adk web
5 Running the MCP Server
Change path
cd mcpserverRun
python google_maps_server.py
6 Run the MCP Inspector
Make sure you have node installed - [https://nodejs.org/en/download/]
Run
npx @modelcontextprotocol/inspectorConnect to your MCP Server over 'HTTP' using the MCP Serer URL - which is usually :/mcp
This server cannot be installed
Enables interaction with Google Maps services through the Model Context Protocol. Provides location-based functionality and mapping capabilities for AI agents.