Skip to main content
Glama
carlosgutierrezch

Azure SQL MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABASEYesThe name of the database
SERVER_NAMEYesThe Azure SQL server name (e.g., your-server.database.windows.net)
AZURE_CLIENT_IDNoOptional Azure client ID for authentication via environment variables
AZURE_TENANT_IDNoOptional Azure tenant ID for authentication via environment variables
AZURE_CLIENT_SECRETNoOptional Azure client secret for authentication via environment variables

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_database_configA

Check if the database is properly configured.

Returns configuration status and any error messages.
execute_queryC

Execute a SQL query against the Azure SQL database.

Args:
    query: SQL query to execute (e.g., "SELECT * FROM users LIMIT 10")
get_tablesA

Get list of all tables in the Azure SQL database.

get_table_schemaB

Get schema information for a specific table.

Args:
    table_name: Name of the table (e.g., "users" or "schema.table_name")
get_sample_dataA

Get sample data from a table.

Args:
    table_name: Name of the table (e.g., "users" or "schema.table_name")
    limit: Number of rows to return (default: 5, max: 100)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/carlosgutierrezch/mcp_component'

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