Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by amornpan • Data & Databases
A Python-based MCP server that exposes Microsoft SQL Server databases to language model agents, allowing schema inspection and SQL execution via a standardized interface.
Inspect database table schemas and metadata to formulate accurate SQL queries or provide context-aware answers.
Execute read queries and retrieve result sets (first 100 rows) in CSV format for analysis or summarization.
Run modification queries (INSERT/UPDATE/DELETE) and receive affected row counts while using a standardized MCP interface.
This project implements a Model Context Protocol (MCP) server in Python to provide Language Models programmatic access to Microsoft SQL Server databases. It supports asynchronous operation, connection pooling via pyodbc, FastAPI endpoints, and Pydantic validation to safely list tables, read table data, and run SQL queries. Results are returned in CSV format (with limits) and the server includes logging, error handling, and environment-based configuration for secure deployment. It is distributed under the MIT license and intended as a self-hosted, developer-friendly integration for LLM agents.
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.