RAD Security
OfficialRAD Security MCP 服务器
一个用于 RAD Security 的模型上下文协议 (MCP) 服务器,为 Kubernetes 和云环境提供人工智能驱动的安全洞察。
安装
npm install @rad-security/mcp-serverRelated MCP server: IBM QRadar MCP Server
使用方法
前置要求
Node.js 20.x 或更高版本
环境变量
使用带有 Rad Security 的 MCP 服务器需要以下环境变量:
RAD_SECURITY_ACCESS_KEY_ID="your_access_key"
RAD_SECURITY_SECRET_KEY="your_secret_key"
RAD_SECURITY_ACCOUNT_ID="your_account_id"可选环境变量:
RAD_SECURITY_TENANT_ID="your_tenant_id" # Optional: If not provided, will be fetched automatically from the account可选:工具包过滤
您可以使用这些环境变量来控制 MCP 服务器公开哪些工具包:
INCLUDE_TOOLKITS:要包含的工具包的逗号分隔列表(仅启用这些工具包)EXCLUDE_TOOLKITS:要排除的工具包的逗号分隔列表(除这些之外的所有工具包都将启用)
可用工具包:
containers- 容器清单操作clusters- Kubernetes 集群操作identities- 身份管理操作audit- 审计日志操作images- 容器镜像操作kubeobject- Kubernetes 资源操作misconfigs- 错误配置检测runtime- 运行时分析操作findings- 安全发现操作cves- CVE 数据库操作inbox- 收件箱项目操作workflows- 工作流执行操作knowledge_base- 知识库搜索操作radql- Rad 数据平台的查询接口
示例:
# 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"注意:如果设置了 INCLUDE_TOOLKITS,则 EXCLUDE_TOOLKITS 将被忽略。
无需身份验证的操作
您也可以使用少量无需身份验证的操作:
列出 CVE
获取特定 CVE 的详细信息
获取最新的 30 个 CVE
列出 Kubernetes 资源错误配置策略
在 Cursor IDE 中
在 Cursor IDE 中设置环境变量比较麻烦。
因此,您可以使用以下 start.sh 脚本来启动服务器。
./start.sh请先在 start.sh 脚本中设置环境变量!
在 Claude Desktop 中
您可以使用以下配置在 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>"
}
}
}
}要过滤工具包,请将 INCLUDE_TOOLKITS 或 EXCLUDE_TOOLKITS 添加到 env 中:
{
"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"
}
}
}作为 Docker 容器 - 使用 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使用工具包过滤器:
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作为 Docker 容器 - 使用 SSE(已弃用)
注意: SSE 传输现已弃用,转而支持 Streamable HTTP。为了向后兼容,它仍然受支持,但建议改用 Streamable HTTP。
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功能
账户清单
列出集群及其详细信息*
容器清单
列出容器及其详细信息*
安全发现
列出并分析安全发现*
运行时安全
获取运行中容器的进程树*
获取运行中容器的运行时基准*
分析运行中容器的进程行为*
网络安全
监控 HTTP 请求*
跟踪网络连接*
分析网络模式*
身份与访问
列出身份*
获取身份详细信息*
审计
列出谁进入了 pod*
云安全
列出并监控云资源*
获取资源详细信息和合规状态*
镜像
获取 SBOM*
列出镜像及其漏洞*
获取漏洞最多的镜像*
Kubernetes 对象
获取特定 Kubernetes 资源的详细信息*
列出 Kubernetes 资源*
列出 Kubernetes 资源错误配置策略*
CVE
列出 CVE
获取特定 CVE 的详细信息
获取最新的 30 个 CVE
RadQL(高级查询)
列出可用于查询的数据类型(容器、发现、kubernetes_resources 等)*
获取特定数据类型的模式/元数据*
列出过滤字段的可能值*
执行带有过滤、搜索和聚合功能的 RadQL 查询*
以编程方式从结构化条件构建查询*
并行执行多个查询*
* - 需要 Rad Security 的身份验证和账户。
开发
# Install dependencies
npm install
# Run type checking
npm run type-check
# Run linter
npm run lint
# Build
npm run build许可证
MIT 许可证 - 有关详细信息,请参阅 LICENSE 文件
Available Tools
65 toolsget_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
Scored across 65 tools
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.
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.
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.
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
Related MCP Connectors
The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.
ZEN SecDB MCP server for CVE intelligence, CVSS/EPSS scoring, advisories, SSVC, and package audits.
Multi-CI security scanner with a live threat-intel feed of compromised CI components
Find and fix code security risks, exposed secrets and vulnerable dependencies with Apiiro context
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for Cursor that scans codebases for security issues including hardcoded secrets, SAST, vulnerable dependencies, and IaC misconfigurations.7MIT
- AlicenseNot gradedqualityDmaintenanceA 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.2MIT
- AlicenseNot gradedqualityCmaintenanceThe 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.1Apache 2.0
- AlicenseNot gradedqualityCmaintenanceMCP 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