Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COSMOS_CONNECTIONS | No | An inline JSON string containing an array of connection configurations for multi-connection support. | |
| COSMOS_DATABASE_ID | No | The Azure CosmosDB database ID used for legacy single-connection mode. | |
| DB_ALLOW_MODIFICATIONS | No | Enables or disables write operations (create, update, delete, upsert). Set to 'true' to allow modifications. Defaults to 'false'. | false |
| COSMOS_CONNECTIONS_FILE | No | Path to an external JSON file containing an array of connection configurations. This is the highest priority configuration method. | |
| COSMOS_CONNECTION_STRING | No | The Azure CosmosDB connection string used for legacy single-connection mode. | |
| COSMOS_MAX_RETRY_WAIT_TIME | No | Optional configuration to increase the maximum retry wait time for CosmosDB requests. |
Capabilities
Server capabilities have not been inspected yet.
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 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |