online-service-mcp-server
Verified Safeby santoshpatil85
Overview
A production-grade FastMCP Server acting as an intermediary to expose backend services (user management, ticketing, data querying) as typed tools, secured with Azure Workload Identity for microservice communication in Kubernetes.
Installation
docker run -p 3333:3333 -e AZURE_TENANT_ID="your-tenant-id" -e AZURE_CLIENT_ID="your-client-id" -e AZURE_CLIENT_SECRET="your-client-secret" -e BACKEND_API_URL="https://api.example.com" mcp-server:latestEnvironment Variables
- AZURE_TENANT_ID
- AZURE_CLIENT_ID
- BACKEND_API_URL
- AZURE_AUTHORITY_HOST
- AZURE_FEDERATED_TOKEN_FILE
- AZURE_CLIENT_SECRET
- BACKEND_API_TIMEOUT
- LOG_LEVEL
- READINESS_CHECK_BACKEND
- DEBUG
Security Notes
The server demonstrates strong security practices, particularly its use of Azure Workload Identity for credential-less authentication in AKS, avoiding hardcoded secrets. It implements structured logging for auditability, runs containers with least privilege (non-root, read-only filesystem), and has explicit network security and vulnerability scanning guidelines. No 'eval' or malicious patterns were found. The primary remaining security considerations are the security of the integrated backend services and external APIs.
Similar Servers
mcp-fastmcp-starter
Provides a minimal, production-minded MCP-shaped tool server for building agentic AI services with typed tool contracts and deterministic JSON I/O via FastAPI.
mcp_server_example
This server exposes simple Python functions as API endpoints using the FastMCP framework, providing a demonstration of a microservice.
mcp-server-FastMCP-FastAPI-MCP
The server demonstrates Model Context Protocol (MCP) implementations, providing tools for arithmetic calculations and searching FreeCodeCamp news and YouTube feeds via STDIO and HTTP transports.
mcp_server
This project demonstrates how to build and interact with a Micro-service Communication Protocol (MCP) server using the `fastmcp` library, exposing callable tools over HTTP.