
APoint MS SQL
Microsoft SQL Server and Azure SQL access: schema introspection, read-only queries, and a cached insights layer.
- GitHub stars
- 1
- tools
- 23
- transport
- STDIO
- last updated
- Nov 21, 2026
What it does
- Inspects schema with
list_objects,describe_table,describe_view,script_object, andget_objectacross tables, views, procedures, and triggers - Runs
read_datafor SELECT-only queries, and gates writes throughinsert_data,update_data,create_table, anddrop_table, withexecute_sqlfor other DDL and DML - Caches summaries through
get_insight,upsert_insight, andrefresh_insights, and requires an installed AIInsights schema with a DDL audit trigger - Designed for LLM agents exploring unfamiliar databases, with connections managed from VS Code, Cursor, or Claude Desktop
Tools
23 toolsPublic tool metadata for what this MCP can expose to an agent.
list_objectsList objects by objectType (Table, View, StoredProcedure, TableFunction, ScalarFunction, Function, TableTrigger, Index, ForeignKey, SysObject, DatabaseTrigger, Type, Login, ServerRole, DatabaseUser, DatabaseRole).
List objects by objectType (Table, View, StoredProcedure, TableFunction, ScalarFunction, Function, TableTrigger, Index, ForeignKey, SysObject, DatabaseTrigger, Type, Login, ServerRole, DatabaseUser, DatabaseRole).
No parameter schema in public metadata yet.
describe_tableFull table metadata: columns (type, nullability, descriptions), indexes, constraints, foreign keys, triggers.
Full table metadata: columns (type, nullability, descriptions), indexes, constraints, foreign keys, triggers.
No parameter schema in public metadata yet.
describe_viewView metadata, column list, indexes, and full T-SQL definition.
View metadata, column list, indexes, and full T-SQL definition.
No parameter schema in public metadata yet.
script_objectReady-to-run T-SQL DDL for one object, with form and warnings; passwords, hashes and SIDs are never scripted.
Ready-to-run T-SQL DDL for one object, with form and warnings; passwords, hashes and SIDs are never scripted.
No parameter schema in public metadata yet.
get_objectStored procedure, function, or trigger: parameters (where applicable) and definition.
Stored procedure, function, or trigger: parameters (where applicable) and definition.
No parameter schema in public metadata yet.
read_dataRun a single read-only SELECT / WITH … SELECT query.
Run a single read-only SELECT / WITH … SELECT query.
No parameter schema in public metadata yet.
get_server_infoServer version/edition, hardware DMVs (with graceful degradation), and user-database counts.
Server version/edition, hardware DMVs (with graceful degradation), and user-database counts.
No parameter schema in public metadata yet.
create_tableRun a CREATE TABLE statement.
Run a CREATE TABLE statement.
No parameter schema in public metadata yet.
drop_tableRun a DROP TABLE statement. Confirm with the user first.
Run a DROP TABLE statement. Confirm with the user first.
No parameter schema in public metadata yet.
insert_dataRun a single INSERT statement.
Run a single INSERT statement.
No parameter schema in public metadata yet.
update_dataRun a single UPDATE statement. Always use a WHERE clause.
Run a single UPDATE statement. Always use a WHERE clause.
No parameter schema in public metadata yet.
execute_sqlRun a single DDL/DML statement; SELECT is rejected in favour of read_data.
Run a single DDL/DML statement; SELECT is rejected in favour of read_data.
No parameter schema in public metadata yet.
insights_checkReports layer install state, DDL audit presence, insight row count, and DDL processing watermark.
Reports layer install state, DDL audit presence, insight row count, and DDL processing watermark.
No parameter schema in public metadata yet.
install_insights_layerIdempotent install of the AIInsights schema, tables and DDL audit trigger.
Idempotent install of the AIInsights schema, tables and DDL audit trigger.
No parameter schema in public metadata yet.
get_insightRead cached insight and freshness for one object.
Read cached insight and freshness for one object.
No parameter schema in public metadata yet.
upsert_insightCreate or update a cached insight.
Create or update a cached insight.
No parameter schema in public metadata yet.
list_insightsRecent rows from AIInsights.SchemaInsights.
Recent rows from AIInsights.SchemaInsights.
No parameter schema in public metadata yet.
get_insight_historyArchived rows from AIInsights.InsightHistory.
Archived rows from AIInsights.InsightHistory.
No parameter schema in public metadata yet.
refresh_insightsProcess DDL backlog / fingerprint drift; returns recent summaries.
Process DDL backlog / fingerprint drift; returns recent summaries.
No parameter schema in public metadata yet.
rebuild_baseline_insightsBulk warm mechanical baselines.
Bulk warm mechanical baselines.
No parameter schema in public metadata yet.
list_connectionsLists every registered connection with open/closed state, read-only flag, server and database (never credentials).
Lists every registered connection with open/closed state, read-only flag, server and database (never credentials).
No parameter schema in public metadata yet.
open_connectionReopens a configured connection, or registers an ad-hoc one when enabled.
Reopens a configured connection, or registers an ad-hoc one when enabled.
No parameter schema in public metadata yet.
close_connectionCloses a connection.
Closes a connection.
No parameter schema in public metadata yet.
Readme
MSSQL MCP Server (.NET 10)
A Model Context Protocol (MCP) server for Microsoft SQL Server and Azure SQL Database. Built with the official MCP C# SDK (ModelContextProtocol 2.2.0) on .NET 10.
Forked from Azure-Samples/SQL-AI-samples and extended with unified object introspection, strict read/write SQL routing, and an optional AI Insights cache layer that helps LLM agents investigate databases with less repeated schema work.
It ships in three forms:
Details
- Repository
- github.com/a-point-systems-ltd/ms-sql-mcp
- Categories
- Databases, Data & Analytics
- Package
https://github.com/A-Point-Systems-ltd/ms-sql-mcp/releases/download/ext-v1.2.5/apoint-ms-sql-1.2.5.mcpb- Transport
- STDIO
- Registry
- MCP registry, active
More from a-point-systems-ltd
All 2Similar to APoint MS SQL
More Databases
Microsoft SQL Serveralyiox12 starsRead-only T-SQL, schema inspection, and plan analysis for SQL Server, with opt-in writes and multiple connection profiles.
Microsoft SQL Serverrichardhan405 starsRead-only SQL queries and optional writes against Microsoft SQL Server, LocalDB, and Azure SQL databases.
Postgres MCP Procrystaldba3.5K starsConnects to PostgreSQL databases for schema browsing, SQL execution, query tuning, and health checks.
DBHubbytebase3.9K starsConnects to seven SQL databases for schema exploration, queries, and diagnostics through one server.
MySQLdesigncomputer1.4K starsConnects to MySQL databases for SQL queries, schema inspection, and table sampling.
MCP Toolbox for Databasesgoogleapis16.9K starsConnects agents to enterprise databases for schema exploration and SQL execution across many engines.