We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/atree1023/snc-cribl-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
database.json•2.78 KiB
{
"id": "database",
"schema": {
"type": "object",
"title": "",
"required": ["connectionId", "query"],
"properties": {
"type": {
"type": "string",
"enum": ["database"],
"flag": {
"prefix": "collector",
"modes": ["single", "worker"]
}
},
"connectionId": {
"type": "string",
"title": "Connection",
"description": "Select an existing Connection, or go to Knowledge > Database Connections to add one"
},
"query": {
"type": "string",
"title": "SQL Query",
"description": "An expression that resolves to the query string for selecting data from the database. Has access to the special ${earliest} and ${latest} variables, which will resolve to the Collector run's start and end time.",
"minLength": 1,
"jsExpression": true
},
"queryValidationEnabled": {
"type": "boolean",
"title": "Validate Query",
"description": "Enforces a basic query validation that allows only a single 'select' statement. Disable for more complex queries or when using semicolons. Caution: Disabling query validation allows DDL and DML statements to be executed, which could be destructive to your database.",
"default": true
},
"defaultBreakers": {
"type": "string",
"title": "Hidden Default Breakers",
"enum": ["Cribl"]
},
"__scheduling": {
"type": "object",
"properties": {
"stateTracking": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"title": "Enabled",
"description": "Enable tracking of collection progress between consecutive scheduled executions."
}
},
"dependencies": {
"enabled": {
"oneOf": [
{
"properties": {
"enabled": {
"enum": [false]
}
}
},
{
"required": ["trackingColumn"],
"properties": {
"enabled": {
"enum": [true]
},
"trackingColumn": {
"title": "Tracking Column",
"type": "string",
"description": "A numeric database column whose greatest seen value will be tracked. In the collector query, this column must be returned from the database in monotonically increasing fashion."
}
}
}
]
}
}
}
}
}
}
}
}