Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by NetanelBollag • Data & Databases
A simple MCP server that exposes a PostgreSQL database to LLMs, providing tools for running queries and resources for schema and table metadata.
Run read-only SQL SELECT queries against a PostgreSQL database through an LLM tool interface.
Fetch and attach database schema and table metadata as resources to provide context for prompts.
Reusable prompt templates and query-generation helpers to translate natural language requests into SQL.
This repository implements a minimal Model Context Protocol (MCP) server for PostgreSQL that provides tools (execute_query, test_connection), resources (db://tables, db://tables/{table}, db://schema), and prompt templates for generating SQL. It is designed as a clear, easy-to-adapt template so developers can integrate database access into LLM workflows and prototype agent capabilities quickly. The README includes setup instructions, an example Docker-backed sample database, and links to MCP documentation; note that it is experimental and warns against production use due to limited SQL injection protections.
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.