mcp_execute_query
Run raw SQL queries on SQL Server databases using MCPQL to retrieve, analyze, or manipulate data. Input a schema-qualified query for precise execution.
Instructions
Execute a raw SQL query and return the results
Input Schema
Name | Required | Description | Default |
---|---|---|---|
query | Yes | The SQL query to execute. IMPORTANT: When referencing objects, use bracketed, schema-qualified names (e.g., SELECT * FROM [dbo].[Users]). |
Input Schema (JSON Schema)
{
"properties": {
"query": {
"description": "The SQL query to execute. IMPORTANT: When referencing objects, use bracketed, schema-qualified names (e.g., SELECT * FROM [dbo].[Users]).",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}