Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
LOG_LEVEL | No | Controls logging verbosity: debug|info|warn|error|silent | info |
DITTO_API_KEY | Yes | Ditto API key with access to your app | |
DITTO_BASE_URL | Yes | The base URL of your Ditto app, e.g. https://MY_APP.cloud.ditto.live | |
MCP_SERVER_NAME | No | Server display name | |
DITTO_TIMEOUT_MS | No | Default per-call timeout in milliseconds | |
DITTO_API_KEY_ENV | No | Environment variable name to read API key from | DITTO_API_KEY |
MCP_DITTO_ALLOWED | No | Allowed operations: READ, ALL, or a comma list like SELECT,INSERT | |
MCP_SERVER_VERSION | No | Overrides the reported server version | 0.0.0-dev |
MCP_DITTO_QUERY_ALLOW_PATTERNS | No | Comma/semicolon-separated regex allow-list for query patterns |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
ditto_config | Current runtime configuration (safe subset) |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
ping | Health check for the Ditto MCP server |
execute_dql | Runs a query in Ditto using a parameterized DQL statement |