Skip to main content
Glama
dperussina

Microsoft SQL Server MCP Server (MSSQL)

get_stored_procedure_definition

Retrieve the complete SQL source code for a stored procedure in Microsoft SQL Server. View the actual definition to understand database logic or modify procedures.

Instructions

Get the complete SQL query/definition of a stored procedure - this is the actual source code

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionStringNoSQL Server connection string (uses default if not provided)
connectionNameNoNamed connection to use (e.g., 'production', 'staging')
procedureNameYesName of the stored procedure to get definition for
schemaNoSchema name (default: dbo)
formatOutputNoFormat the SQL output for better readability (default: true)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dperussina/mssql-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server