McpServerKotlin
Verified Safeby apptolast
Overview
An MCP Full-Stack Server implemented in Kotlin that enables AI agents to autonomously build and manage applications.
Installation
./gradlew runEnvironment Variables
- GITHUB_TOKEN
- POSTGRES_HOST
- POSTGRES_PORT
- POSTGRES_DB
- POSTGRES_USER
- POSTGRES_PASSWORD
- MONGODB_CONNECTION_STRING
- MONGODB_DB
- JWT_ISSUER
- JWT_AUDIENCE
- JWT_PUBLIC_KEY
- JWT_PRIVATE_KEY
Security Notes
The server demonstrates a strong security-first design, implementing multiple layers of defense. This includes robust path traversal protection, command whitelisting with dangerous pattern detection (e.g., fork bombs, rm -rf /, sudo, chmod 777), strict read-only query enforcement for PostgreSQL, file size and extension limits, and working directory isolation. JWT authentication with RBAC is available, though it defaults to disabled, which is a common but notable security consideration for production. MongoDB operations parse JSON strings for filters and pipelines, placing the onus on the calling agent to provide safe JSON, rather than the module sanitizing content within the JSON structure.
Similar Servers
mcp-use
A full-stack framework for building Model Context Protocol (MCP) servers, MCP clients, and AI agents in both Python and TypeScript, supporting interactive UI widgets and robust debugging.
klavis
Creates an AI agent that uses Klavis Strata to interact with Gmail and YouTube through MCP, demonstrating how to summarize a YouTube video and email the summary.
kubernetes-mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to interact with Kubernetes and OpenShift clusters, enabling AI-driven cluster management and diagnosis.
mcp-k8s-go
An MCP server enabling AI assistants and users to interact with and manage Kubernetes clusters by listing, getting, applying, and executing commands on Kubernetes resources.