Skip to main content

Overview

Microsoft SQL Server is a relational database management system. Connect it to Civic to let your AI agent inspect schemas, run queries, and manage tables and indexes in your MSSQL databases.

Add to Civic

Connect Microsoft SQL Server at nexus.civic.com

Available Tools (8)

ToolDescription
create_indexCreate an index on one or more columns in a table
create_tableCreate a new table with specified columns and types
describe_tableDescribe the schema (columns and types) of a table
drop_tableDrop a table from the database
insert_dataInsert one or more records into a table
list_tableList tables in the database, optionally filtered by schema
read_dataExecute a SELECT query against a table
update_dataUpdate rows in a table using a WHERE clause

Guardrails

In addition to the 14 universal guardrails, this server has 24 server-specific guardrails across 3 operations.
GuardrailOperationTimingDescription
Block System Table Name Creationcreate_tableRequestPrevents creating tables with names that could shadow system tables (sys*, dbo.*, etc.)
Protect Tables from DROPdrop_tableRequestPrevents DROP TABLE operations on critical tables
Limit INSERT to Specific Tablesinsert_dataRequestRestricts INSERT operations to a user-defined list of allowed tables
Block Dynamic T-SQL Constructionread_dataRequestPrevents queries using string concatenation, CONCAT, CHAR/NCHAR functions, hex literals
Block EXEC/EXECUTEread_dataRequestPrevents use of EXEC/EXECUTE for dynamic SQL or stored procedure execution
Block Extended Stored Proceduresread_dataRequestPrevents execution of dangerous extended stored procedures (xp_cmdshell, xp_regwrite, etc.)
Block External Data Accessread_dataRequestPrevents OPENROWSET, OPENDATASOURCE, and OPENQUERY
Block Query Stackingread_dataRequestPrevents multiple queries in a single request by blocking semicolons
Block System Stored Proceduresread_dataRequestPrevents execution of system stored procedures (sp_configure, sp_addlinkedserver, etc.)
Block System Tables Accessread_dataRequestPrevents access to MS-SQL system catalogs (sys.*, INFORMATION_SCHEMA, master, msdb, tempdb)
Block T-SQL Commentsread_dataRequestPrevents queries containing SQL comments (— or /* */)
Enforce Basic T-SQL Character Setread_dataRequestRestricts queries to alphanumeric plus basic SQL characters
Enforce Custom Character Setread_dataRequestRestricts queries to a user-defined character set
Limit JOIN Complexityread_dataRequestLimits the number of JOINs allowed in a query
Protect Sensitive Columnsread_dataRequestBlocks queries that reference specified column names
Protect Tables (Anti-Aliasing)read_dataRequestBlocks access to specified tables regardless of aliasing or obfuscation
Query Length Limitread_dataRequestLimits SQL query length to prevent resource exhaustion
Restrict SELECT * Usageread_dataRequestControls use of SELECT * wildcards
Limit UPDATE to Specific Tablesupdate_dataRequestRestricts UPDATE operations to a user-defined list of allowed tables
Require WHERE Clause on UPDATEupdate_dataRequestEnsures UPDATE statements include a WHERE clause to prevent bulk updates
Configure guardrails via the Civic UI or ask the Configurator Agent: “Add guardrails to my Microsoft SQL Server server.”