New advertisers: 50% off your first month with code FIRSTMONTHSee slots
a-point-systems-ltd avatar

APoint MS SQL

a-point-systems-ltd/ms-sql-mcp

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
View on GitHub

What it does

  • Inspects schema with list_objects, describe_table, describe_view, script_object, and get_object across tables, views, procedures, and triggers
  • Runs read_data for SELECT-only queries, and gates writes through insert_data, update_data, create_table, and drop_table, with execute_sql for other DDL and DML
  • Caches summaries through get_insight, upsert_insight, and refresh_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 tools

Public 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)

MCP Registry

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:


View the full README on GitHub

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 2

Similar to APoint MS SQL

More Databases