Security Center MCP Server
The Security Center API, provided by Microsoft as part of the Azure platform, serves as the foundational interface for interacting with the Microsoft.
Quick Start Summary
The Security Center MCP server is a Model Context Protocol bridge that connects AI assistants — including Claude Desktop, Cursor, Windsurf, and VS Code Copilot — to the Security Center API through natural language. It exposes 2 API endpoints as callable tools, such as Locations_List, Locations_Get. 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-security-locations. This integration is sourced from the auto Security Center OpenAPI specification (v2015-06-01-preview) and has a quality score of 28/99 (fair documentation coverage).
Server Details
- Category
- Cloud Infrastructure
- Authentication
- None
- Endpoints
- 2 operations
- Transport
- STDIO
- Spec Version
- v2015-06-01-preview
- Install Command
npx -y @mcp/azure-com-security-locations
Environment Variables
SECURITY_CENTER_API_KEYExample: your_security_center_api_key
Top Endpoints
/subscriptions/{subscriptionId}/providers/Microsoft.Security/locationsLocations_List
/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}Locations_Get
One-Click Install
Copy the snippet for your MCP client and paste it in — zero editing required.
Claude Desktop
Add to claude_desktop_config.json
{
"mcpServers": {
"azure-com-security-locations": {
"command": "npx",
"args": [
"-y",
"@mcp/azure-com-security-locations"
],
"env": {
"SECURITY_CENTER_API_KEY": "your_security_center_api_key"
}
}
}
}Cursor
Settings → MCP Servers → Add
{
"mcpServers": {
"azure-com-security-locations": {
"url": "https://mcpbridge.org/config/azure-com-security-locations.json"
}
}
}Saves as .cursor/mcp.json in the download. Move it to your project root.
VS Code
Use with MCP extension
{
"mcpServers": {
"azure-com-security-locations": {
"url": "https://mcpbridge.org/config/azure-com-security-locations.json"
}
}
}Endpoints Explorer
Search and browse the 2 operations supported by this server.
Multi-Language Code Examples
Executable code snippets for calling Security Center endpoints in curl, TypeScript, or Python.
curl -X GET "https://api.apis.guru/v2/specs/azure.com/security-locations/2015-06-01-preview/swagger.json/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations" \
-H "Content-Type: application/json" \
# No auth requiredManual Configuration
Directly add this block to your JSON config file, or use the hosted config registry URL.
{
"mcpServers": {
"azure-com-security-locations": {
"command": "npx",
"args": ["-y","@mcp/azure-com-security-locations"],
"env": {
"SECURITY_CENTER_API_KEY": "your_security_center_api_key"
}
}
}
}Authentication Details
No authentication required. This MCP server runs out-of-the-box.
Documentation Links
Error Handling & HTTP Status Code Matrix
Common status codes, error causes, and resolution steps when invoking Security Center endpoints.
400 Bad RequestCause: Malformed payload parameters or missing required fields.
Resolution: Verify request schema in Endpoints tab before calling tool.
401 UnauthorizedCause: Missing or invalid API key credentials.
Resolution: Set environment variable in MCP client config under env object.
403 ForbiddenCause: Insufficient scope permissions for requested resource.
Resolution: Verify key permissions in developer dashboard.
404 Not FoundCause: Resource URL path or requested entity ID does not exist.
Resolution: Check path variables and parameters.
429 Rate Limit ExceededCause: API rate limit quota exceeded.
Resolution: Implement exponential backoff retry in tool call.
500 Internal ErrorCause: Upstream server runtime fault.
Resolution: Inspect STDIO stderr output for log trace.
Quality Score
Checked against our protocol-compliance rules.
Specification Version: v2015-06-01-preview
Page compiled on: June 13, 2026
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
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.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations and GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}, are primarily used for discovery and inventory. They allow developers and automated systems to enumerate the Azure regions where Security Center is available and operational for a given subscription, and to retrieve specific metadata about a particular security location. This capability is essential for enterprise-scale environments with resources deployed across multiple geographic regions, enabling centralized security governance, compliance monitoring, and posture management. Typical use cases include automating security policy deployment across all active regions, auditing regional security service health, and integrating security region data into higher-level compliance reporting dashboards for chief information security officers and compliance teams.locations endpoint, parse the JSON response, and present a concise list. This eliminates the need for the developer to manually navigate the Azure Portal or write a custom script for simple discovery tasks. The value extends to more complex, context-aware assistance; the AI could use regional information as a prerequisite for executing other security-related API calls, ensuring that subsequent operations for policy assignment or alert retrieval are correctly scoped to a valid and active security location, thereby reducing errors in automation scripts.ascLocation endpoint for each region to verify they are active and retrieve their specific properties, then intelligently construct a script template that incorporates this validated data, complete with error handling for unavailable regions. Another scenario involves security posture automation: "For all active Security Center locations in my subscription, draft a Terraform configuration that enables the 'Standard' pricing tier." The AI agent would first query the locations endpoint to get the list of active regions, then use that list to dynamically generate Terraform resource blocks for the azurerm_security_center_subscription_pricing resource, correctly setting the location argument for each block. This demonstrates how the AI transforms a high-level intent into a precise, deployment-ready artifact by leveraging real-time API data.Microsoft.Security/locations/read permission at the subscription scope is sufficient, typically bundled within the built-in Reader or Security Reader roles. The AI tool or MCP server must be configured to securely handle and inject an OAuth 2.0 bearer token obtained via a client credentials flow or a user's delegated permissions. Secrets like client secrets or certificates must be stored securely in a service like Azure Key Vault or HashiCorp Vault, never hard-coded. Furthermore, developers should implement network security measures such as Azure Private Link for accessing the API if possible, ensuring data traffic remains within the Microsoft backbone network. Regular auditing of the service principal's permissions and monitoring of its access logs via Azure Monitor are also essential to maintain a secure and compliant deployment.Similar APIs
Other APIs in the Cloud Infrastructure category.
Supabase API
Manage Supabase projects, databases, authentication, and storage through your AI agent.
API KeyCloudflare API
Manage Cloudflare DNS, CDN, Workers, and security settings through your AI agent.
API KeyVercel API
Deploy projects, manage domains, and monitor deployments through your AI agent.
Bearer TokenDigitalOcean API
The DigitalOcean API is a comprehensive, RESTful interface provided by DigitalOcean, a leading cloud infrastructure provider focused on simplifying cloud computing for developers, startups, and enterprises. It serves as the programmatic backbone for managing the entire DigitalOcean ecosystem, enabling users to provision, configure, and control cloud resources such as Droplets (virtual private servers), Kubernetes clusters, managed databases, networks, storage volumes, and application platforms. Core capabilities include full lifecycle management of these resources, from creation and scaling to monitoring and deletion, mirroring the functionality available in the DigitalOcean control panel. Its primary use cases range from automating infrastructure setup for CI/CD pipelines and enabling infrastructure-as-code practices to supporting dynamic application scaling and resource optimization for SaaS products, e-commerce sites, and development environments. The API is designed for both developers seeking to automate their cloud operations and businesses that require programmable, scalable cloud infrastructure without the complexity of larger hyperscale providers.
Related MCP Server Integrations
Supabase API MCP Setup
Manage Supabase projects, databases, authentication, and storage through your AI agent.
Cloudflare API MCP Setup
Manage Cloudflare DNS, CDN, Workers, and security settings through your AI agent.
Vercel API MCP Setup
Deploy projects, manage domains, and monitor deployments through your AI agent.
DigitalOcean API MCP Setup
The DigitalOcean API is a comprehensive, RESTful interface provided by DigitalOcean, a leading cloud infrastructure provider focused on simplifying cloud computing for developers, startups, and enterprises. It serves as the programmatic backbone for managing the entire DigitalOcean ecosystem, enabling users to provision, configure, and control cloud resources such as Droplets (virtual private servers), Kubernetes clusters, managed databases, networks, storage volumes, and application platforms. Core capabilities include full lifecycle management of these resources, from creation and scaling to monitoring and deletion, mirroring the functionality available in the DigitalOcean control panel. Its primary use cases range from automating infrastructure setup for CI/CD pipelines and enabling infrastructure-as-code practices to supporting dynamic application scaling and resource optimization for SaaS products, e-commerce sites, and development environments. The API is designed for both developers seeking to automate their cloud operations and businesses that require programmable, scalable cloud infrastructure without the complexity of larger hyperscale providers.
Access Analyzer MCP Setup
The AWS Identity and Access Management Access Analyzer API provides a powerful, policy-as-code service that automatically identifies resources accessible from outside your AWS account or organization. At its core, the service continuously evaluates resource-based policies—such as Amazon S3 bucket policies, AWS Identity and Access Management (IAM) roles, Amazon KMS key policies, and AWS Lambda function policies—using logic-based reasoning to determine which resources grant access to unknown external principals. Its primary use case is for security and compliance teams within enterprises to proactively detect unintended data exposure, enforce least privilege principles, and audit cross-account and cross-service access. The API endpoints allow programmatic control to create, configure, and query analyzers, manage archive rules for storing findings, and generate custom policy documents, making it a foundational tool for automating cloud security posture management at scale.