ai-mcp-server-base
Verified Safeby CrispyCabot
Overview
Provides a base server for building AI Microservice Orchestration applications using FastMCP and FastAPI, featuring tools and resources for AI agents.
Installation
docker run -p 8000:8000 -e DB_DSN="postgresql://user:password@host:5432/dbname" mcp-serverEnvironment Variables
- DB_DSN
Security Notes
The default DB_DSN is a placeholder and not a hardcoded secret. No 'eval' or obfuscation found. The `query_sample_db` tool, when connected to a real database (bypassing the current mock), directly executes SQL queries provided as input. This poses a potential SQL injection vulnerability if the 'query' parameter originates from untrusted user input or an inadequately guarded AI agent, as there is no input sanitization within the tool itself. The project explicitly states it's a 'base' and 'sample', indicating that production hardening would be necessary for such functions.
Similar Servers
arcade-mcp
Provides a framework and pre-built toolkits for integrating Large Language Models (LLMs) with various external services and databases, enabling AI agents to interact with the real world.
mcp-framework-server
A Python-based server for a Model Context Protocol (MCP) enabling interactive career orientation (proforientation) dialogues via a REST API, designed to integrate with a Telegram bot.
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.
my-mcp-server
This server exposes an AI-centric microservice API using the MCP protocol, providing tools, resources, and prompt templates.