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-privateendpointconnection.jsonConfiguration JSON
Use curl https://mcp-bridge.pages.dev/config/azure-com-cosmos-db-privateendpointconnection.json to fetch programmatically.
{
"mcpServers": {
"azure-com-cosmos-db-privateendpointconnection": {
"command": "npx",
"args": ["-y","@mcp/azure-com-cosmos-db-privateendpointconnection"],
"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-privateendpointconnection.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}/privateEndpointConnectionsPrivateEndpointConnections_ListByDatabaseAccount
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}PrivateEndpointConnections_Get
PUT
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}PrivateEndpointConnections_CreateOrUpdate
DELETE
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}PrivateEndpointConnections_Delete