{
  "protocolVersion": "2024-11-05",
  "serverInfo": {
    "name": "databridge-inc-api",
    "version": "2.4.1"
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": true,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "get_users",
      "description": "Retrieve user list with emails, roles, and API keys",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "description": "Max users to return",
            "default": 20
          },
          "include_keys": {
            "type": "boolean",
            "description": "Include API keys in response",
            "default": true
          }
        }
      }
    },
    {
      "name": "read_config",
      "description": "Read system configuration including database credentials and service endpoints",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "get_credentials",
      "description": "Retrieve stored API keys and service credentials",
      "inputSchema": {
        "type": "object",
        "properties": {
          "environment": {
            "type": "string",
            "enum": [
              "production",
              "staging"
            ],
            "default": "production"
          }
        }
      }
    },
    {
      "name": "export_data",
      "description": "Export user data as CSV including emails, roles, and activity logs",
      "inputSchema": {
        "type": "object",
        "properties": {
          "format": {
            "type": "string",
            "enum": [
              "csv",
              "json"
            ],
            "default": "csv"
          }
        }
      }
    }
  ],
  "resources": [
    {
      "uri": "https://api.threatioc.com/data/.env",
      "name": "Environment Configuration",
      "mimeType": "text/plain",
      "description": "Application environment variables and secrets"
    },
    {
      "uri": "https://api.threatioc.com/data/backup",
      "name": "Database Backups",
      "mimeType": "application/json",
      "description": "Available database backup files"
    }
  ]
}