Skip to main content
Glama

Simple PostgreSQL MCP Server

python.mdc929 B
--- description: globs: alwaysApply: true --- # Keep it simple and readable - Write clear, concise code with descriptive variable names - Add docstrings to explain purpose of functions and classes - Avoid complicated patterns or over-engineering # Follow Python best practices - Use type hints consistently - Follow PEP 8 style guidelines - Organize imports properly (standard library first, then third-party, then local) - Use async/await for database operations - Functions should be small - Use helper functions to re-use code # Implement features gradually - Start with basic structure following FastMCP patterns - Keep database connections simple using asyncpg - Implement proper error handling for database operations - Add validation checks for user inputs # Make the output human-friendly - Format query results in an easy-to-read way - Provide clear error messages - Structure schema information logically

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NetanelBollag/simple-psql-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server