modernbank-mcp-server
Verified Safeby PfandAhter
Overview
Orchestrates banking requests through Google Gemini function-calling workflows and ModernBank backend services.
Installation
./mvnw spring-boot:runEnvironment Variables
- GEMINI_API_KEY
- FEIGN_CLIENT_ACCOUNT_SERVICE_URL
- FEIGN_CLIENT_TRANSACTION_SERVICE_URL
- SERVICES_PAYMENT_URL
Security Notes
The system acts as an API gateway, propagating `Authorization`, `X-User-Id`, `X-User-Email`, `X-User-Role` headers to downstream services. This is a standard microservices pattern but requires robust authentication/authorization in client and backend services. The `PaymentService` contains commented-out JWT parsing and a hardcoded `fromAccount = ""` which is a bug, but this service is currently not integrated with Gemini function calls and thus poses no immediate threat via the AI. Critical financial operations (`transfer_money`) rely on parameters extracted by Gemini from user input, which are then passed to the `TransactionService`. Extensive `GLOBAL_PROMPT` engineering and a `MissingInputResolver` are used to guide Gemini and handle missing parameters, which are crucial for preventing misuse and ensuring correct function execution. The direct function invocation endpoint `/v1/api/mcp/invoke` is stubbed and returns `null`, reducing its attack surface.
Similar Servers
spring-documentation-mcp-server
Provides an AI-driven Model Context Protocol (MCP) server for comprehensive access to Spring ecosystem documentation, migration guides, code examples, and project compatibility, serving as a knowledge base and tool integration for AI agents.
nova-llm
A full-stack LLM agent workflow with custom tool calling capabilities and configuration with Model Context Protocol (MCP) servers, supporting multiple Gemini models.
mcp
Integrate Google Gemini API features (text generation, chat, image analysis, web search, embeddings, image/video generation) into a Model Context Protocol (MCP) server for local or remote AI client applications.
mcp-flujos-server
A backend server application built with Spring Boot, designed to manage and execute business flows or processes within a larger microservices ecosystem.