In-depth architectural comparison of the Microsoft SQL Server and Legion MCP MCP servers. Compare execution transports, security boundaries, tool capabilities, quality scores, and ready-to-paste client installation snippets for Claude, Cursor, Windsurf, and VS Code.
At a Glance & Executive Verdict
Microsoft SQL Server
Databases · Local stdio
Quality: 43/100 (Fair) | Auth: No auth required
Legion MCP
Databases · Local stdio
Quality: 61/100 (Good) | Auth: other
Verdict Summary: Choose Microsoft SQL Server if you need specialized Databases tools running via a local process. Choose Legion MCP if your workspace requires Databases integration with local subprocess execution. Both servers can be configured concurrently in your client's mcpServers manifest.
Which MCP Server Should You Choose?
Choose Microsoft SQL Server when:
You need dedicated capabilities in the Databases domain.
You prefer local stdio subprocess transport architecture.
Your security boundary fits: No auth required (Free / Open Source).
List configured connection profiles. Call first when picking a non-default profile. Returns `name`, `description` and `allow_write` per profile.
get_object
Get metadata for one relation (columns, indexes, constraints, relationships) or routine (definition). `name` accepts `Users`, `dbo.Users` or `[dbo].[Users]`. `includes` omitted → `columns`. Relations also carry an approximate `row_count`.
run_query
Execute read-only T-SQL SELECT; only SELECT allowed (no DML/DDL). Returns results as CSV in the `data` field (inline) or a snapshot resource URI when `snapshot=true`. Inline limit: 500 rows (hard ceiling 1000). Snapshot limit: 10 000 rows (hard ceiling 50 000). Prefer `analyze_query` for plan tunin…
analyze_query
Analyze execution plan for a read-only SELECT. Returns compact JSON summary (cost, operators, cardinality, warnings, `missing_indexes`, waits, stats); no result rows, full XML at `plan_uri`.
run_command
Ready-to-Paste Client Configurations
Paste either (or both) of these JSON server blocks into your client config file (e.g. claude_desktop_config.json or ~/.cursor/mcp.json).
Microsoft SQL Server is categorized under Databases and uses a local stdio subprocess. In contrast, Legion MCP belongs to Databases using local stdio subprocess. Select Microsoft SQL Server when you need capabilities focused on databases and Legion MCP when you require tools for databases.
Execute write T-SQL (DDL/DML). Advertised only when some profile sets `AllowWrite=true` (off by default); still rejected at call time when the target `profile` is locked. Caller manages transactions. Returns `rows_affected` (−1 for DDL) and server `messages`. Marked destructive; intended for human-…
Legion MCP Tools (10)
execute_query
Execute a SQL query and return results as a markdown table
execute_query_json
Execute a SQL query and return results as JSON
get_table_columns
Get column names for a specific table
get_table_types
Get column types for a specific table
get_query_history
Get the recent query history
list_databases
List all available database connections
get_database_info
Get detailed information about a database including schema
find_table
Find which database contains a specific table
describe_table
Get detailed description of a table including column names and types