mcp-servers-vibe-coding
Verified Safeby StarSpark-AI
Overview
This repository provides a workshop guide for building custom Model Context Protocol (MCP) servers to extend AI coding assistants with specific tools like date/time functions, database interaction, and image generation.
Installation
python server.pyEnvironment Variables
- GEMINI_API_KEY
- POSTGRES_HOST
- POSTGRES_PORT
- POSTGRES_DB
- POSTGRES_USER
- POSTGRES_PASSWORD
- IMAGE_OUTPUT_DIR
- ANTHROPIC_API_KEY
- OPENAI_API_KEY
- PLAYWRIGHT_HEADLESS
- BROWSER_TYPE
- SCREENSHOT_DIR
- POSTMAN_API_KEY
- WORKSHOP_DB_URL
- PGSSLMODE
Security Notes
The custom MCP servers (DateTime, Task Tracker, Image Generation) demonstrate good security practices. Secrets are loaded from `.env` files, not hardcoded. Database interactions use parameterized queries to prevent SQL injection. File system interactions are limited to a designated output directory. No `eval` or `exec` functions are used on untrusted input.
Similar Servers
mcp-servers
A curated collection of Model Context Protocol (MCP) server configurations to integrate various developer tools and services with AI agents.
mcp-python-starter
A feature-complete Model Context Protocol (MCP) server template in Python for developing AI applications and agents.
mcp-server-python-template
This server acts as a template for building Model Context Protocol (MCP) servers in Python, specifically demonstrating how to expose weather-related tools (get_alerts, get_forecast) by integrating with an external API (National Weather Service) to provide context and actions for AI models.
python-mcp-agent-workshop
Implements an MCP server with a keyword search tool for AI agents to analyze codebases and provide insights.