Skip to main content
Glama
RAD Security

RAD Security

Official
by rad-security

Servidor MCP de RAD Security

npm version

Un servidor del Protocolo de Contexto de Modelo (MCP) para RAD Security, que proporciona información de seguridad impulsada por IA para entornos de Kubernetes y la nube.

Instalación

npm install @rad-security/mcp-server

Related MCP server: IBM QRadar MCP Server

Uso

Requisitos previos

  • Node.js 20.x o superior

Variables de entorno

Se requieren las siguientes variables de entorno para utilizar el servidor MCP con Rad Security:

RAD_SECURITY_ACCESS_KEY_ID="your_access_key"
RAD_SECURITY_SECRET_KEY="your_secret_key"
RAD_SECURITY_ACCOUNT_ID="your_account_id"

Variables de entorno opcionales:

RAD_SECURITY_TENANT_ID="your_tenant_id"  # Optional: If not provided, will be fetched automatically from the account

Opcional: Filtrar conjuntos de herramientas (Toolkits)

Puede controlar qué conjuntos de herramientas se exponen mediante el servidor MCP utilizando estas variables de entorno:

  • INCLUDE_TOOLKITS: Lista separada por comas de los conjuntos de herramientas a incluir (solo estos estarán habilitados)

  • EXCLUDE_TOOLKITS: Lista separada por comas de los conjuntos de herramientas a excluir (todos excepto estos estarán habilitados)

Conjuntos de herramientas disponibles:

  • containers - Operaciones de inventario de contenedores

  • clusters - Operaciones de clústeres de Kubernetes

  • identities - Operaciones de gestión de identidades

  • audit - Operaciones de registro de auditoría

  • images - Operaciones de imágenes de contenedores

  • kubeobject - Operaciones de recursos de Kubernetes

  • misconfigs - Detección de configuraciones erróneas

  • runtime - Operaciones de análisis en tiempo de ejecución

  • findings - Operaciones de hallazgos de seguridad

  • cves - Operaciones de base de datos de CVE

  • inbox - Operaciones de elementos de la bandeja de entrada

  • workflows - Operaciones de ejecución de flujos de trabajo

  • knowledge_base - Operaciones de búsqueda en la base de conocimientos

  • radql - Interfaz de consulta para la plataforma de datos rad

Ejemplos:

# Only enable workflow toolkit
INCLUDE_TOOLKITS="workflows"

# Enable only containers and images toolkits
INCLUDE_TOOLKITS="containers,images"

# Exclude workflow toolkit (enable all others)
EXCLUDE_TOOLKITS="workflows"

# Exclude runtime toolkit
EXCLUDE_TOOLKITS="runtime"

Nota: Si se establece INCLUDE_TOOLKITS, se ignora EXCLUDE_TOOLKITS.

Operaciones sin autenticación

También puede utilizar algunas operaciones sin autenticación:

  • Listar CVEs

  • Obtener detalles de un CVE específico

  • Obtener los últimos 30 CVEs

  • Listar políticas de configuración errónea de recursos de Kubernetes

En el IDE Cursor

Es bastante problemático establecer variables de entorno en el IDE Cursor.

Por lo tanto, puede utilizar el siguiente script start.sh para iniciar el servidor.

./start.sh

¡Por favor, establezca primero las variables de entorno en el script start.sh!

En Claude Desktop

Puede utilizar la siguiente configuración para iniciar el servidor en Claude Desktop.

{
  "mcpServers": {
    "rad-security": {
      "command": "npx",
      "args": ["-y", "@rad-security/mcp-server"],
      "env": {
        "RAD_SECURITY_ACCESS_KEY_ID": "<your-access-key-id>",
        "RAD_SECURITY_SECRET_KEY": "<your-secret-key>",
        "RAD_SECURITY_ACCOUNT_ID": "<your-account-id>"
      }
    }
  }
}

Para filtrar los conjuntos de herramientas, añada INCLUDE_TOOLKITS o EXCLUDE_TOOLKITS al entorno:

{
  "mcpServers": {
    "rad-security": {
      "command": "npx",
      "args": ["-y", "@rad-security/mcp-server"],
      "env": {
        "RAD_SECURITY_ACCESS_KEY_ID": "<your-access-key-id>",
        "RAD_SECURITY_SECRET_KEY": "<your-secret-key>",
        "RAD_SECURITY_ACCOUNT_ID": "<your-account-id>",
        "EXCLUDE_TOOLKITS": "workflows"
      }
    }
  }

Como contenedor Docker - con HTTP transmitible (Streamable HTTP)

docker build -t rad-security/mcp-server .
docker run \
  -e TRANSPORT_TYPE=streamable \
  -e RAD_SECURITY_ACCESS_KEY_ID=your_access_key \
  -e RAD_SECURITY_SECRET_KEY=your_secret_key \
  -e RAD_SECURITY_ACCOUNT_ID=your_account_id \
  -p 3000:3000 \
  rad-security/mcp-server

Con filtros de conjuntos de herramientas:

docker run \
  -e TRANSPORT_TYPE=streamable \
  -e RAD_SECURITY_ACCESS_KEY_ID=your_access_key \
  -e RAD_SECURITY_SECRET_KEY=your_secret_key \
  -e RAD_SECURITY_ACCOUNT_ID=your_account_id \
  -e INCLUDE_TOOLKITS=workflows,containers \
  -p 3000:3000 \
  rad-security/mcp-server

Como contenedor Docker - con SSE (obsoleto)

Nota: El transporte SSE está ahora obsoleto en favor de HTTP transmitible. Todavía se admite por compatibilidad con versiones anteriores, pero se recomienda utilizar HTTP transmitible en su lugar.

docker build -t rad-security/mcp-server .
docker run \
  -e TRANSPORT_TYPE=sse \
  -e RAD_SECURITY_ACCESS_KEY_ID=your_access_key \
  -e RAD_SECURITY_SECRET_KEY=your_secret_key \
  -e RAD_SECURITY_ACCOUNT_ID=your_account_id \
  -p 3000:3000 \
  rad-security/mcp-server

Características

  • Inventario de cuentas

    • Listar clústeres y sus detalles*

  • Inventario de contenedores

    • Listar contenedores y sus detalles*

  • Hallazgos de seguridad

    • Listar y analizar hallazgos de seguridad*

  • Seguridad en tiempo de ejecución

    • Obtener árboles de procesos de contenedores en ejecución*

    • Obtener líneas base de tiempo de ejecución de contenedores en ejecución*

    • Analizar el comportamiento de los procesos de contenedores en ejecución*

  • Seguridad de red

    • Monitorear solicitudes HTTP*

    • Rastrear conexiones de red*

    • Analizar patrones de red*

  • Identidad y acceso

    • Listar identidades*

    • Obtener detalles de identidad*

  • Auditoría

    • Listar quién accedió mediante shell a un pod*

  • Seguridad en la nube

    • Listar y monitorear recursos en la nube*

    • Obtener detalles de recursos y estado de cumplimiento*

  • Imágenes

    • Obtener SBOMs*

    • Listar imágenes y sus vulnerabilidades*

    • Obtener las principales imágenes vulnerables*

  • Objetos de Kubernetes

    • Obtener detalles de un recurso de Kubernetes específico*

    • Listar recursos de Kubernetes*

    • Listar políticas de configuración errónea de recursos de Kubernetes*

  • CVEs

    • Listar CVEs

    • Obtener detalles de un CVE específico

    • Obtener los últimos 30 CVEs

  • RadQL (Consultas avanzadas)

    • Listar tipos de datos disponibles para consultar (contenedores, hallazgos, recursos_kubernetes, etc.)*

    • Obtener esquema/metadatos para tipos de datos específicos*

    • Listar valores posibles para campos de filtro*

    • Ejecutar consultas RadQL con filtrado, búsqueda y agregaciones*

    • Construir consultas programáticamente a partir de condiciones estructuradas*

    • Ejecutar múltiples consultas en paralelo*

* - requiere autenticación y cuenta en Rad Security.

Desarrollo

# Install dependencies
npm install

# Run type checking
npm run type-check

# Run linter
npm run lint

# Build
npm run build

Licencia

Licencia MIT - consulte el archivo LICENSE para obtener más detalles

Available Tools

65 tools
get_cloud_resource_detailsC

Get detailed information about a specific cloud resource

Inputs: provider (required), resource_type (required), resource_id (required).

get_cloud_resource_facetsC

Get available facets for filtering cloud resources from a provider

Inputs: provider (required).

get_cloud_resource_facet_valueC

Get values for a specific facet from a cloud provider

Inputs: provider (required), facet_id (required).

get_cluster_detailsC

Get detailed information about a specific Kubernetes cluster managed by RAD Security

Inputs: cluster_id (required).

get_compliance_controlC

Get detailed information about a specific compliance control

Inputs: control_name (required), datasource_ids (required).

get_container_detailsB

Get detailed information about a container secured by RAD Security

Inputs: container_id (required).

get_container_llm_analysisC

Get LLM analysis of a container's process tree

Inputs: container_id (required).

get_containers_baselinesC

Get runtime baselines for multiple containers

Inputs: container_ids (required).

get_containers_process_treesC

Get process trees for multiple containers

Inputs: container_ids (required), processes_limit.

get_cveB

Get details for a specific CVE ID. Source: cve-search.org

Inputs: cveId (required).

get_dashboardB

Get detailed information about a specific dashboard

Inputs: dashboard_id (required).

get_dashboard_templateB

Get detailed information about a specific dashboard template

Inputs: dashboard_template_id (required).

get_identity_detailsC

Get detailed information about a specific identity in a Kubernetes cluster

Inputs: identity_id (required).

get_image_sbomB

Get the SBOM of a container image

Inputs: digest (required).

get_inbox_item_detailsB

Get detailed information about a specific inbox item

Inputs: inbox_item_id (required).

get_k8s_resource_detailsB

Get the latest manifest of a Kubernetes resource

Inputs: cluster_id (required), resource_uid (required).

get_k8s_resource_misconfigC

Get detailed information about a specific Kubernetes resource misconfiguration

Inputs: cluster_id (required), misconfig_id (required).

get_latest_30_cvesA

Get the latest/newest 30 CVEs including CAPEC, CWE and CPE expansions. Source: cve-search.org

Inputs: no named parameters.

get_top_vulnerable_imagesC

Get the most vulnerable images from your account

Inputs: no named parameters.

get_widget_templateC

Get detailed information about a specific widget template

Inputs: widget_template_id (required).

get_workflowC

Get detailed information about a specific workflow by ID. It contains the workflow definition, default arguments, and schema how to run the workflow

Inputs: workflow_id (required).

get_workflow_runB

Get detailed information about a specific workflow run

Inputs: workflow_id (required), run_id (required).

list_cloud_resourcesC

List cloud resources for a specific provider with optional filtering

Inputs: provider (required), filters, offset, limit, +1 more.

list_clustersB

List Kubernetes clusters managed by RAD Security

Inputs: page_size, page.

list_compliance_controlsC

List all compliance control summaries for the account

Inputs: status, providers, page, page_size.

list_compliance_frameworksB

List all compliance frameworks available for cloud resources (e.g., CIS, SOC2, PCI-DSS)

Inputs: datasource_ids, page, page_size.

list_containersB

List containers secured by RAD Security with optional filtering by image name, image digest, namespace, cluster_id, or free text search

Inputs: filters, offset, limit, q.

list_control_resourcesC

List cloud resources associated with a specific compliance control

Inputs: control_name (required), datasource_ids (required), page, page_size.

list_cve_productsC

Get a list of all products associated with a vendor in the CVE database. Source: cve-search.org

Inputs: vendor (required).

list_cve_vendorsB

Get a list of all vendors in the CVE database. Source: cve-search.org

Inputs: no named parameters.

list_dashboardsB

List dashboards for the account

Inputs: limit, offset.

list_dashboard_templatesB

List dashboard templates with optional filtering by category

Inputs: limit, offset, category.

list_framework_requirementsC

List all requirements for a specific compliance framework

Inputs: framework_name (required), datasource_ids (required), page, page_size.

list_http_requestsC

List HTTP requests insights with optional filtering by method, path, source and destination workloads, and PII detection

Inputs: filters, offset, limit, q.

list_identitiesB

Get list of identities for a specific Kubernetes cluster

Inputs: identity_types, cluster_ids, page, page_size, +1 more.

list_imagesC

List container images with optional filtering by page, page size, sort, and search query

Inputs: limit, offset, sort, filters, +1 more.

list_image_vulnerabilitiesB

List vulnerabilities in a container image with optional filtering by severity

Inputs: digest (required), severities, page, page_size.

list_inbox_itemsB

List inbox items with optional filtering by any field. Multiple filters can be combined eg. 'search:cve-2024-12345 and severity:high'

Inputs: limit, offset, filters_query.

list_k8s_resource_misconfig_policiesB

List available misconfiguration policies used by RAD Security to detect Kubernetes resource misconfigurations

Inputs: no named parameters.

list_k8s_resource_misconfigsB

Get manifest misconfigurations for a Kubernetes resource

Inputs: resource_uid (required).

list_k8s_resourcesC

List Kubernetes resources with optional filtering by namespace, resource types, and cluster

Inputs: namespace, kinds, cluster_id, page, +1 more.

list_knowledge_base_collectionsC

List all collections in your organization's knowledge base. Collections are used to organize and categorize documents

Inputs: limit, offset.

list_knowledge_base_documentsC

List documents in your organization's knowledge base with optional filtering by collections, file type, or status

Inputs: limit, offset, filters.

list_network_connectionsC

List network connections with optional filtering

Inputs: filters, limit, q.

list_network_connection_srcsC

List network connection sources with optional filtering by source and destination workloads

Inputs: filters, offset, limit, q.

list_requirement_controlsB

List controls associated with a specific requirement within a compliance framework

Inputs: framework_name (required), requirement_id (required), datasource_ids (required), page, +1 more.

list_security_findingsC

List security findings with optional filtering by types, severities, sources, and status

Inputs: limit, types, severities, source_kinds, +6 more.

list_threat_vectorsD

List threat vectors

Inputs: clustersIds, namespaces, resource_uid, page, +1 more.

list_widget_templatesC

List widget templates with optional filtering by visualization type and category

Inputs: limit, offset, visualization_type, category.

list_workflow_runsC

List workflow runs with optional filtering by workflow ID

Inputs: workflow_id (required).

list_workflowsB

List all workflows

Inputs: no named parameters.

list_workflow_schedulesC

List workflow schedules with optional filtering by workflow ID

Inputs: workflow_id (required).

mark_inbox_item_as_false_positiveC

Mark an inbox item as a false positive with a reason

Inputs: inbox_item_id (required), reason (required), value.

query_knowledge_base_documentA

Query a CSV document from the knowledge base using natural language. IMPORTANT: This tool ONLY works with CSV documents. Use list_knowledge_base_documents with filters='file_type:csv' to find CSV document IDs (search_knowledge_base results also contain document IDs). Results are returned as a markdown table

Inputs: document_id (required), query (required).

radql_batch_queryA

Execute multiple RadQL queries in parallel for efficiency. Useful for fetching related data from different data types simultaneously (e.g., container details + vulnerabilities + network connections).

Inputs: queries (required).

radql_get_type_metadataA

Get schema/metadata for a specific RadQL data type. Shows available fields, data types, which fields can be filtered/searched, and provides query examples. Call this AFTER radql_list_data_types to understand how to query a specific data type.

Inputs: data_type (required).

radql_list_data_typesA

List all available RadQL data types (discovery). ALWAYS call this FIRST before using other RadQL tools to discover what data is available to query. Returns data types like 'containers', 'kubernetes_resources', 'inbox_items', 'vulnerabilities', etc. with descriptions.

Inputs: no named parameters.

radql_list_filter_valuesA

List possible values for a filter field (e.g., namespace list, cluster list, severity values). Useful for building dynamic filters when you need to know available enum-like values. Call this when constructing filters that need specific values.

Inputs: data_type (required), filter_name (required).

radql_queryA

Execute RadQL queries for security investigations. Supports: list (filter/search), get_by_id (single item), stats (aggregations).

WORKFLOW: radql_list_data_types -> radql_get_type_metadata -> radql_query

COMMON FIELDS BY DATA TYPE: containers: name, image_name, image_repo, owner_kind, cluster_id, created_at Example: image_name:nginx AND owner_kind:Pod

finding_groups: type, source_kind, source_name, rule_title, severity, event_timestamp Types: k8s_misconfiguration, k8s_audit_logs_anomaly, threat_vector Example: type:k8s_misconfiguration AND severity:critical

inbox_items: severity (High|Medium|Low), type, title, archived, false_positive, created_at Example: severity:High AND archived:false

kubernetes_resources: kind, name, namespace, cluster_id, owner_kind, created_at Example: kind:Deployment AND namespace:production

CRITICAL QUOTING RULES: MUST quote when value contains:

  • Dates/timestamps: created_at>"2024-01-01" (NOT created_at>2024-01-01)

  • Hyphens: cluster_id:"abc-123-def", name:"kube-system"

  • UUIDs: id:"550e8400-e29b-41d4-a716-446655440000"

  • Spaces: title:"my alert"

  • Special chars: :, =, <, >, !, (, )

  • Wildcards with hyphens: name:"kube-*"

OK to leave unquoted:

  • Simple strings: status:active, kind:Pod

  • Numbers: count:123

  • Booleans: archived:true

  • Simple wildcards: name:nginx*

For complete schema: call radql_get_type_metadata with target data_type

Inputs: data_type (required), operation (required), filters_query, stats_query, +4 more.

radql_query_builderB

Helper tool to build RadQL queries programmatically from structured conditions. Useful when you need to construct complex filter or stats queries from structured inputs.

Inputs: data_type (required), conditions, logic, aggregation, +3 more.

run_workflowC

Run a workflow with optional argument overrides

Inputs: workflow_id (required), async, args.

search_cvesC

Search CVEs by vendor and optionally product. Source: cve-search.org

Inputs: vendor (required), product.

search_knowledge_baseC

Search your organization's knowledge base to find relevant uploaded documents, procedures, reports, and other content using natural language queries

Inputs: query (required), top_k, min_score, thread_id, +2 more.

update_security_finding_statusC

Update the status of a security finding

Inputs: id (required), status (required).

who_shelled_into_podC

Get k8s audit logs with information about users who shelled into a pod

Inputs: name, namespace, cluster_id, from_time, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 65 tools

    Disambiguation3/5

    The tool set has clear domains (cloud, Kubernetes, compliance, vulnerabilities, workflows, etc.), but there is significant overlap and ambiguity within domains. For example, multiple tools fetch details for specific resources (e.g., get_cloud_resource_details, get_cluster_details, get_container_details) which could confuse agents about which to use for a given context. The RadQL tools (radql_query, radql_batch_query, radql_query_builder) have overlapping query capabilities, and tools like list_containers and radql_query for 'containers' data type serve similar purposes, leading to potential misselection.

    Naming Consistency5/5

    Tool names follow a highly consistent verb_noun pattern throughout, with clear conventions: 'get_' for retrieving specific details, 'list_' for listing items with filtering, and specific action verbs like 'mark_', 'query_', 'search_', 'run_', 'update_'. All tools use snake_case uniformly, and the naming is predictable and readable across the entire set, making it easy for agents to infer functionality.

    Tool Count2/5

    With 65 tools, the count is excessive for a single server, indicating poor scoping and potential bloat. While RAD Security covers a broad domain (security, compliance, cloud, Kubernetes), many tools could be consolidated (e.g., multiple RadQL query tools, overlapping list/get functions). This high number increases complexity and cognitive load for agents, making it difficult to navigate and select the right tool efficiently.

    Completeness4/5

    The tool surface is extensive and covers a wide range of security and compliance operations, including CRUD-like actions for resources, vulnerabilities, workflows, and knowledge base. However, there are minor gaps: for instance, no tools for creating or updating cloud resources or compliance controls (only get/list), and the RadQL tools might duplicate functionality of other list/get tools, but agents can work around these with the available query capabilities. Overall, it supports core security investigation workflows effectively.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      MCP server for Cursor that scans codebases for security issues including hardcoded secrets, SAST, vulnerable dependencies, and IaC misconfigurations.
      7
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server that provides comprehensive access to IBM QRadar security intelligence platform. Query logs, events, offenses, agents, assets, and more directly from your AI assistant.
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      The Checkmarx Security MCP server bridges your AI assistant (Claude, Cursor, Copilot, etc.) with Checkmarx One's enterprise application security platform. It exposes security workflows as natural-language-accessible MCP tools, allowing developers to scan code, investigate findings, and receive context-aware fixes without leaving their development environment.
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for SUSE NeuVector container security, exposing inventory, vulnerability, compliance, event, and policy data as 72 typed tools. Read-only by default, with optional mutating toolsets behind a confirmation handshake.
      Apache 2.0