# SqlAugur MCP server

> Provides AI assistants with safe, read-only access to SQL Server databases using AST-based query validation and rate limiting.

- Repository: https://github.com/mbentham/SqlAugur
- Page: https://hostedmcp.org/servers/mbentham/sqlaugur
- Transport: stdio
- Stars: 8
- License: MIT
- Latest version: 1.3.1

## Tools (29)

- `list_servers`
- `list_databases`
- `read_data`
- `get_query_plan`
- `get_schema_overview`
- `describe_table`
- `list_programmable_objects`
- `get_object_definition`
- `get_extended_properties`
- `get_object_dependencies`
- `get_plantuml_diagram`
- `get_mermaid_diagram`
- `verbose`
- `sp_blitz`
- `sp_blitz_first`
- `sp_blitz_cache`
- `sp_blitz_index`
- `sp_blitz_who`
- `sp_blitz_lock`
- `sp_blitz_plan_compare`
- `sp_pressure_detector`
- `sp_quickie_store`
- `sp_quickie_cache`
- `sp_health_parser`
- `sp_log_hunter`
- `sp_human_events_block_viewer`
- `sp_index_cleanup`
- `sp_query_repro_builder`
- `sp_whoisactive`

## FAQ

### How does SqlAugur ensure queries are safe?

It uses Microsoft's official T-SQL parser to convert every query into a full Abstract Syntax Tree (AST), blocking comment injection and encoding bypasses at the syntax level.

### Can this server perform write operations?

No, it is designed to be read-only, permitting only SELECT and CTE queries, and it uses parameter blocking on diagnostic procedures to prevent writes.

### Does it support DBA diagnostic tools?

Yes, it includes integrated support for First Responder Kit, DarlingData, and sp_WhoIsActive with automatic response size optimization.

### How does it prevent overwhelming the database?

It implements rate limiting using a token bucket throughput limit and concurrency control.
