Google Maps MCP Server
by amithmathew
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 -
GOOGLE_GENAI_USE_VERTEXAI=TRUE
GOOGLE_CLOUD_PROJECT=<Your Project Name>
GOOGLE_CLOUD_LOCATION=us-central15 Create a .env file within each of the mcp subdirectories
The .env file should have the following entries -
GOOGLE_MAPS_API_KEY=<Your API Key>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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/amithmathew/mcp-demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server