Cosmos DB MCP Config
Azure Cosmos DB Database Service Resource Provider REST API
Config URL
Use this URL in any MCP-compatible client to fetch the config automatically.
https://mcp-bridge.pages.dev/config/azure-com-cosmos-db-privatelinkresources.jsonConfiguration JSON
Use curl https://mcp-bridge.pages.dev/config/azure-com-cosmos-db-privatelinkresources.json to fetch programmatically.
{
"mcpServers": {
"azure-com-cosmos-db-privatelinkresources": {
"command": "npx",
"args": ["-y","@mcp/azure-com-cosmos-db-privatelinkresources"],
"env": {
"COSMOS_DB_API_KEY": "your_cosmos_db_api_key"
}
}
}
}How to Use
Cursor
Go to Cursor Settings → MCP Servers → Add with the JSON above.
CLI / curl
Fetch the config programmatically:
curl https://mcp-bridge.pages.dev/config/azure-com-cosmos-db-privatelinkresources.jsonEnvironment Variables
COSMOS_DB_API_KEYReplace your_cosmos_db_api_key with your actual cosmos db api key
Endpoints
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateLinkResourcesPrivateLinkResources_ListByDatabaseAccount
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateLinkResources/{groupName}PrivateLinkResources_Get