Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
OCONNSTRING | Yes | CosmosDB connection string from Azure Portal | |
COSMOS_DATABASE_ID | Yes | Database ID to connect to | |
COSMOS_MAX_RETRY_ATTEMPTS | No | Maximum retry attempts for requests | 9 |
COSMOS_MAX_RETRY_WAIT_TIME | No | Maximum retry wait time (ms) | 30000 |
COSMOS_ENABLE_ENDPOINT_DISCOVERY | No | Enable automatic endpoint discovery | true |
COSMOS_ENABLE_CROSS_PARTITION_QUERY | No | Enable cross-partition queries | true |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
mcp_list_databases | List all databases in the CosmosDB account |
mcp_list_containers | List all containers in the CosmosDB database |
mcp_container_info | Get detailed information about a specific container including throughput settings |
mcp_container_stats | Get statistical information about a container including document count and partition key distribution |
mcp_execute_query | Execute a SQL query against a CosmosDB container |
mcp_get_documents | Get documents from a container with optional filters |
mcp_get_document_by_id | Get a specific document by its ID and partition key |
mcp_analyze_schema | Analyze the schema of documents in a container to understand data structure and types |