Cosmos DB Claude Desktop Config
Add the Cosmos DB MCP server to Claude Desktop with this ready-to-use configuration.
Setup Instructions
- Open Claude Desktop
- Go to Settings → Developer → Edit Config →
claude_desktop_config.json - Paste the JSON below into the file
- Set your credentials in the
envsection - Restart Claude Desktop
Configuration JSON
Copy the entire block into your claude_desktop_config.json
{
"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"
}
}
}
}Environment 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