About Warp SQL Server MCP
Warp SQL Server MCP is an MCP server published by egarcia74 in the Data category: 🗄️ Model Context Protocol (MCP) server for SQL Server integration with Warp terminal. Execute queries, explore schemas, export data, and analyze performance with natural language commands. Conduid read 16 tools from its source: analyze_query_performance, describe_table, detect_query_bottlenecks, execute_query, explain_query, export_table_csv and 10 more. No package is published for it, so it installs from a source checkout.
The repository has 6 stars and 3 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include cli, database, devtools, sql-server and warp-terminal.
Install
git clone https://github.com/egarcia74/warp-sql-server-mcpTools (16)
analyze_query_performanceAnalyze query performance and provide optimization suggestions| Parameter | Type | Description |
|---|---|---|
| database | string | Database name (optional) |
| query * | string | SQL query to analyze for performance optimization |
describe_tableGet the schema information for a specific table. ${DATABASE_CONTENT_WARNING}| Parameter | Type | Description |
|---|---|---|
| database | string | Database name (optional) |
| schema | string | Schema name (optional, defaults to dbo) |
| table_name * | string | Name of the table to describe |
detect_query_bottlenecksDetect and analyze query bottlenecks in the database. ${DATABASE_CONTENT_WARNING}| Parameter | Type | Description |
|---|---|---|
| database | string | Database name (optional) |
| limit | number | Maximum number of bottlenecks to return (optional, defaults to 10) |
| severity_filter | string | Filter by severity level: LOW, MEDIUM, HIGH, CRITICAL (optional) |
execute_queryExecute a SQL query on the connected SQL Server database. ${DATABASE_CONTENT_WARNING}| Parameter | Type | Description |
|---|---|---|
| database | string | Optional: Database name to use for this query |
| query * | string | The SQL query to execute |
explain_queryGet the execution plan for a SQL query to analyze performance. ${DATABASE_CONTENT_WARNING}| Parameter | Type | Description |
|---|---|---|
| database | string | Optional: Database name to use for this query |
| include_actual_plan | boolean | Include actual execution statistics (optional, defaults to false) |
| query * | string | The SQL query to analyze |
export_table_csvExport table data in CSV format. ${DATABASE_CONTENT_WARNING}| Parameter | Type | Description |
|---|---|---|
| database | string | Database name (optional) |
| limit | number | Maximum number of rows to export (optional) |
| schema | string | Schema name (optional, defaults to dbo) |
| table_name * | string | Name of the table to export |
| where | string | WHERE clause conditions (optional) |
get_connection_healthGet connection pool health metrics and diagnosticsget_index_recommendationsGet index recommendations for database optimization. ${DATABASE_CONTENT_WARNING}| Parameter | Type | Description |
|---|---|---|
| database | string | Database name (optional) |
| impact_threshold | number | Minimum impact score threshold (0-100, optional) |
| limit | number | Maximum number of recommendations to return (optional, defaults to 10) |
| schema | string | Schema name to restrict recommendations to (optional; omit to cover all schemas) |
get_optimization_insightsGet comprehensive database optimization insights and health analysis. ${DATABASE_CONTENT_WARNING}| Parameter | Type | Description |
|---|---|---|
| analysis_period | string | Analysis time period: 24_HOURS, 7_DAYS, 30_DAYS (optional). RESERVED: accepted but not yet applied. The two DMV sources have different lifetimes and cannot be windowed consistently: missing-index aggregates are cumulative (reset only by a server restart or index/database changes) while query-stats rows last only while their plan stays in cache, so results reflect the lifetime of each source regardless of the value sent; the response discloses this in its analysisPeriod field. |
| database | string | Database name (optional) |
get_performance_statsGet overall performance statistics and health summary| Parameter | Type | Description |
|---|---|---|
| timeframe | string | Time period for stats: "recent" (last 5 min), "session" (since startup), "all" (default) |
get_query_performanceGet detailed query performance breakdown by tool. ${DATABASE_CONTENT_WARNING}| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of queries to analyze (optional, defaults to 50) |
| slow_only | boolean | Only return slow queries (optional, defaults to false) |
| tool_filter | string | Filter by specific MCP tool name (optional) |
get_server_infoGet MCP server configuration, status, and logging information| Parameter | Type | Description |
|---|---|---|
| include_logs | boolean | Include recent log entries (optional, defaults to false) |
get_table_dataGet sample data from a table with optional filtering and limiting. ${DATABASE_CONTENT_WARNING}| Parameter | Type | Description |
|---|---|---|
| database | string | Database name (optional) |
| limit | integer | Maximum number of rows to return (optional, defaults to 100) |
| offset | integer | Number of rows to skip before returning results (optional, defaults to 0). Pair with limit to page through a table. Row order is not guaranteed without an ORDER BY, so pages may overlap or skip rows on tables without a clustered index. |
| schema | string | Schema name (optional, defaults to dbo) |
| table_name * | string | Name of the table |
| where | string | WHERE clause conditions (optional) |
list_databasesList all databases on the SQL Server instance. ${DATABASE_CONTENT_WARNING}list_foreign_keysList all foreign key relationships in a schema. ${DATABASE_CONTENT_WARNING}| Parameter | Type | Description |
|---|---|---|
| database | string | Database name (optional) |
| schema | string | Schema name (optional, defaults to dbo) |
list_tablesList all tables in a specific database. ${DATABASE_CONTENT_WARNING}| Parameter | Type | Description |
|---|---|---|
| database | string | Database name (optional, uses current database if not specified) |
| schema | string | Schema name (optional, defaults to dbo) |
Security checks
- ✓README presentThe repository's README runs to about 1.8K words.
5 checks have not been run yet.
README
The repository's README runs to about 1.8K words. The original in the repository is authoritative.
Read full README