Skip to content
DatabasesAuto-generatedScore: 28

Azure SQL Database Backup Long Term Retention Policy MCP Server

The Azure SQL Database Backup Long-Term Retention Policy API, provided by Microsoft Azure, is a specialized management API designed to programmatically control the lifecycle of long-term backup retention for Azure SQL databases.

Quick Start Summary

The Azure SQL Database Backup Long Term Retention Policy MCP server is a Model Context Protocol bridge that connects AI assistants — including Claude Desktop, Cursor, Windsurf, and VS Code Copilot — to the Azure SQL Database Backup Long Term Retention Policy API through natural language. It exposes 3 API endpoints as callable tools, such as BackupLongTermRetentionPolicies_ListByDatabase, BackupLongTermRetentionPolicies_Get, BackupLongTermRetentionPolicies_CreateOrUpdate. No authentication is required — setup takes approximately 30 seconds. The server uses STDIO transport and can be installed by running npx -y @mcp/azure-com-sql-backuplongtermretentionpolicies. This integration is sourced from the auto Azure SQL Database Backup Long Term Retention Policy OpenAPI specification (v2014-04-01) and has a quality score of 28/99 (fair documentation coverage).

3Endpointstools mapped
NoneAuthopen access
28/99Qualityfair
~30 secSetupno auth

Server Details

Category
Databases
Authentication
None
Endpoints
3 operations
Transport
STDIO
Spec Version
v2014-04-01
Install Command
npx -y @mcp/azure-com-sql-backuplongtermretentionpolicies

Environment Variables

AZURE_SQL_DATABASE_BACKUP_LONG_TERM_RETENTION_POLICY_API_KEY

Example: your_azure_sql_database_backup_long_term_retention_policy_api_key

Top Endpoints

GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies

BackupLongTermRetentionPolicies_ListByDatabase

GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{backupLongTermRetentionPolicyName}

BackupLongTermRetentionPolicies_Get

PUT
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{backupLongTermRetentionPolicyName}

BackupLongTermRetentionPolicies_CreateOrUpdate

Own this API?

Verify ownership of this listing to control the description, configuration details, and documentation links. Choose between free manual verification or instant premium placement.

Option 1: Free Verification

Slow manual review. Requires creating a GitHub issue with verified documentation or domain verification.

  • • Verified badge on page
  • • Standard search sorting
  • • 2-3 business days review
Start Free Claim →
Instant & Boosted

Option 2: Featured Upgrade($9/mo)

Instant verification plus premium styling, featured badges, and directory placement boost.

  • • ★ Featured star & amber highlight border
  • • Top of directory search placement
  • • Instant activation via claim token

📖 Detailed MCP Integration Guide

A technical breakdown of capabilities, agent workflows, and security/configuration best practices.

Capabilities & Use Cases
The Azure SQL Database Backup Long-Term Retention Policy API, provided by Microsoft Azure, is a specialized management API designed to programmatically control the lifecycle of long-term backup retention for Azure SQL databases. Its core capability is to read and configure the policies that dictate how long automated backups are preserved beyond the standard short-term retention period, which is typically 7 days. This API operates at the individual database level within a logical SQL server, enabling precise governance over backup history. The primary use case is in enterprise environments requiring stringent data governance and compliance. Organizations in regulated industries like finance, healthcare, or government use this API to automate the enforcement of retention policies for audit trails, historical data recovery, or adherence to standards such as GDPR, HIPAA, or SOX. It moves backup management from a manual, UI-driven task to an automated, code-based operation essential for DevOps and infrastructure-as-code (IaC) practices.
🤖AI Agent Value
When exposed as tools to an AI coding assistant via the Model Context Protocol (MCP), this API gains significant strategic value. It transforms the AI from a passive code generator into an active cloud operations partner capable of direct infrastructure introspection and modification. An AI assistant equipped with these MCP tools can bridge the gap between natural language intent and complex cloud API interactions. For example, instead of a developer manually navigating the Azure Portal, composing ARM templates, or writing Azure CLI scripts to check or alter backup settings, they can instruct the AI agent using plain language. The AI can then leverage the GET endpoints to retrieve the current policy for a specific database, interpret the configuration, and present it in a human-readable format. More powerfully, it can use the PUT endpoint to programmatically update a policy, enabling automated compliance remediation. This integration dramatically reduces the cognitive load and context-switching for developers, allowing them to manage critical data protection settings through conversational commands within their existing development environment.
💬Example Workflows
A developer could instruct the AI agent to perform several dynamic, high-value workflows using these MCP tools. For instance, one could command, "Audit the long-term backup retention policy for the 'production-users-db' database and report if it meets our minimum 35-day retention requirement for all backups." The AI would execute the GET call, parse the JSON response, and provide a compliance report. Another workflow could be, "Update the policy for all databases in the 'analytics' server group to a 90-day weekly backup retention and 12-month monthly backup retention to prepare for our annual financial audit." Here, the AI would need to first identify the relevant databases (potentially via another Azure API), then iteratively apply the PUT request with the specified parameters. It could also assist in troubleshooting by instructing, "Check the current backup retention policy for 'customer-logging-db' and compare it against the standard policy defined in our 'compliance-config.json' file, then highlight any discrepancies." This enables rapid, consistent, and auditable management of backup regimes across an entire estate of databases.
🛡️Security & Auth
Critical to the secure operation of this API is its authentication model. While the initial description may state "None" for the API's own definition, in practice, all Azure Resource Manager API calls, including these endpoints, mandate robust authentication and authorization via Azure Active Directory (now Microsoft Entra ID). Developers must obtain a valid OAuth 2.0 bearer token to attach to their requests. The recommended security best practice is to utilize managed identities for any automated service or script accessing these APIs, completely avoiding the handling of secret keys or passwords. Furthermore, the principle of least privilege must be strictly applied. The identity used should be assigned the minimal required role, typically the "SQL DB Contributor" role, which grants permissions to manage SQL databases and their configurations without providing excessive access to the entire server or other resources. When setting up an MCP server to expose these tools, the underlying credential handling must be secure, using environment variables or a dedicated secrets manager rather than hardcoding. All API interactions should be logged and monitored to provide an audit trail for any changes made to these critical data protection policies.

Similar APIs

Other APIs in the Databases category.

PostgreSQL (MCP)

Query and manage PostgreSQL databases directly from your AI agent. Read schemas, run queries, and manage data.

Database Credentials

Notion API

The Notion API is a comprehensive RESTful interface provided by Notion, the popular all-in-one workspace platform, enabling programmatic interaction with its rich set of collaborative objects. It grants developers and automated systems the ability to read, create, update, and manage core Notion entities such as blocks (the fundamental building blocks of content like text, lists, and media), databases (structured tables with properties), pages (containers for content and databases), and comments. Typical use cases span enterprise and consumer scenarios, including automating team workflows, syncing data between Notion and other business systems (like CRM, project management, or analytics tools), building custom dashboards, generating dynamic reports, and enhancing content collaboration through programmatic updates. Organizations leverage this API to break down data silos, enforce process automation, and create tailored integrations that extend Notion's native capabilities for specific departmental or cross-functional needs.

Amazon CloudWatch Application Insights

Amazon CloudWatch Application Insights is a specialized observability service provided by Amazon Web Services (AWS) designed to simplify the monitoring and troubleshooting of applications, particularly those built on Microsoft IIS and .NET frameworks running on EC2 instances or within Elastic Beanstalk environments. Its core capability lies in automatically discovering application components, analyzing correlated metrics, logs, and traces to identify anomalies, and then surfacing actionable insights that pinpoint the root cause of common operational issues. By integrating seamlessly with other AWS services like CloudWatch, AWS X-Ray, and AWS Systems Manager, it provides a unified view of application health, reducing the mean time to resolution (MTTR) for performance degradations and errors. The typical use case spans enterprise environments managing distributed microservices or monolithic .NET applications, where teams need to proactively detect issues such as memory leaks, high CPU utilization, or specific application errors without manually configuring complex monitoring dashboards and alarms.

Application Auto Scaling

The Application Auto Scaling API, provided by Amazon Web Services (AWS), is a robust service designed to automate the scaling of computing resources for a wide array of AWS services, ensuring optimal performance, availability, and cost efficiency. Its core capability is to define policies that automatically adjust the provisioned capacity of supported resources in response to changing demand, as measured by CloudWatch metrics or predefined schedules. Beyond the initially listed resources, it supports scaling for Amazon DynamoDB tables and global secondary indexes, Amazon ECS services running on Fargate or EC2, Amazon ElastiCache replication groups, Amazon Neptune clusters, Amazon SageMaker endpoint variants, and custom resources via the AWS Lambda-backed scalable target. This makes it a central tool for architects and DevOps engineers in building resilient, self-optimizing cloud architectures. Typical enterprise use cases include dynamically adjusting the number of Aurora read replicas to handle database query load spikes, scaling ECS task counts during peak traffic for a microservices application, or optimizing costs by scaling down SageMaker inference endpoints during off-hours.

Related MCP Server Integrations

PostgreSQL (MCP) MCP Setup

Query and manage PostgreSQL databases directly from your AI agent. Read schemas, run queries, and manage data.

DatabasesConfigure →

Notion API MCP Setup

The Notion API is a comprehensive RESTful interface provided by Notion, the popular all-in-one workspace platform, enabling programmatic interaction with its rich set of collaborative objects. It grants developers and automated systems the ability to read, create, update, and manage core Notion entities such as blocks (the fundamental building blocks of content like text, lists, and media), databases (structured tables with properties), pages (containers for content and databases), and comments. Typical use cases span enterprise and consumer scenarios, including automating team workflows, syncing data between Notion and other business systems (like CRM, project management, or analytics tools), building custom dashboards, generating dynamic reports, and enhancing content collaboration through programmatic updates. Organizations leverage this API to break down data silos, enforce process automation, and create tailored integrations that extend Notion's native capabilities for specific departmental or cross-functional needs.

DatabasesConfigure →

Amazon CloudWatch Application Insights MCP Setup

Amazon CloudWatch Application Insights is a specialized observability service provided by Amazon Web Services (AWS) designed to simplify the monitoring and troubleshooting of applications, particularly those built on Microsoft IIS and .NET frameworks running on EC2 instances or within Elastic Beanstalk environments. Its core capability lies in automatically discovering application components, analyzing correlated metrics, logs, and traces to identify anomalies, and then surfacing actionable insights that pinpoint the root cause of common operational issues. By integrating seamlessly with other AWS services like CloudWatch, AWS X-Ray, and AWS Systems Manager, it provides a unified view of application health, reducing the mean time to resolution (MTTR) for performance degradations and errors. The typical use case spans enterprise environments managing distributed microservices or monolithic .NET applications, where teams need to proactively detect issues such as memory leaks, high CPU utilization, or specific application errors without manually configuring complex monitoring dashboards and alarms.

DatabasesConfigure →

Application Auto Scaling MCP Setup

The Application Auto Scaling API, provided by Amazon Web Services (AWS), is a robust service designed to automate the scaling of computing resources for a wide array of AWS services, ensuring optimal performance, availability, and cost efficiency. Its core capability is to define policies that automatically adjust the provisioned capacity of supported resources in response to changing demand, as measured by CloudWatch metrics or predefined schedules. Beyond the initially listed resources, it supports scaling for Amazon DynamoDB tables and global secondary indexes, Amazon ECS services running on Fargate or EC2, Amazon ElastiCache replication groups, Amazon Neptune clusters, Amazon SageMaker endpoint variants, and custom resources via the AWS Lambda-backed scalable target. This makes it a central tool for architects and DevOps engineers in building resilient, self-optimizing cloud architectures. Typical enterprise use cases include dynamically adjusting the number of Aurora read replicas to handle database query load spikes, scaling ECS task counts during peak traffic for a microservices application, or optimizing costs by scaling down SageMaker inference endpoints during off-hours.

DatabasesConfigure →

AWS Cost Explorer Service MCP Setup

The AWS Cost Explorer API, provided by Amazon Web Services, serves as the programmatic backbone for the Cost Explorer service, a powerful tool designed to help organizations visualize, understand, and manage their AWS cloud spending. At its core, this API enables developers and financial operations (FinOps) teams to move beyond the web console and directly query their cost and usage data, unlocking the ability to build custom dashboards, automated reports, and sophisticated cost management applications. Its capabilities range from retrieving high-level aggregated data, such as monthly service costs or daily usage totals, to drilling down into granular, resource-level details, including the specific write operations of a DynamoDB table or the data transfer metrics of an EC2 instance. This granular access is critical for enterprises implementing showback/chargeback models, identifying optimization opportunities, and enforcing budget guardrails across complex, multi-account AWS environments.

DatabasesConfigure →