mono_mcp_client_server_adk
by mohan-ganesh
Overview
An AI orchestration client that integrates Google's AI services (Gemini, TTS, STT) and custom Micro-Cloud Platform (MCP) tools to facilitate interactive conversations, including voice and document processing, for users seeking benefits or appointments.
Installation
mvn clean compile exec:java -Dexec.mainClass="com.example.garvik.McpClientApplication"Environment Variables
- gcp.tts.voice.name
- gcp.tts.speaking.rate
- gcp.tts.pitch
- speech.recognition.model
- auth.token.info.url
- auth.token.identity.domain
- mcp.server.urls
- gemini.model.name
- GOOGLE_CLOUD_PROJECT
- GOOGLE_CLOUD_LOCATION
- GOOGLE_GENAI_USE_VERTEXAI
- gcp.firestore.database-id
Security Notes
CRITICAL security risks identified. The application explicitly disables SSL certificate validation globally via `trustAllCertificates()` in `AdkClientBase.java` and `OcrCall.java`. This makes the application vulnerable to Man-in-the-Middle (MitM) attacks. A hardcoded authorization token ('Bearer hello') is used to load tools from MCP servers, which is a severe vulnerability if those servers are protected resources. Additionally, the Cloud Build configurations for deploying services like 'mcp-orchestrator-client', 'mcp-billing-server', and 'mcp-email-server' use `--allow-unauthenticated`, making these services publicly accessible without authentication. This directly conflicts with the presence of `AuthorizationHeaderFilter` in the billing and email servers, indicating a significant security misconfiguration at the deployment level. Sensitive information like credit card details could be exposed through insecure OCR calls. These issues are severe and make the application highly insecure for production use.
Similar Servers
klavis
Creates an AI agent using LangChain in TypeScript that interacts with Gmail and YouTube through a Klavis Strata MCP server, enabling tasks such as summarizing YouTube videos and emailing the summaries.
mcpstore
MCPStore acts as an orchestration layer for managing Microservice Context Protocol (MCP) services and adapting them as tools for AI frameworks like LangChain, AutoGen, and others.
gemini-mcp-server
An MCP server providing a suite of 7 AI-powered tools (Image Gen/Edit, Chat, Audio Transcribe, Code Execute, Video/Image Analysis) powered by Google Gemini, featuring a self-learning "Smart Tool Intelligence" system for prompt enhancement and user preference adaptation.
ai-agent-mcp-server
This project implements an MCP (Model Context Protocol) server and client using AMQP (RabbitMQ) for communication, enabling an LLM-powered agent to interact with internal tools and data resources.