falcon-mcp

falcon-mcp
falcon-mcp 是一个模型上下文协议(MCP)服务器,它将 AI 代理与 CrowdStrike Falcon 平台连接起来,为您的智能体工作流提供智能安全分析能力。它提供对关键安全功能(包括检测、威胁情报和主机管理)的编程访问,为高级安全运营和自动化奠定基础。
[!IMPORTANT] 🚧 公开预览:本项目目前处于公开预览阶段,正在积极开发中。在稳定版 1.0 发布之前,功能和特性可能会发生变化。虽然我们鼓励探索和测试,但请避免在生产环境中部署。我们欢迎您通过 GitHub Issues 提供反馈,以帮助塑造最终版本。
文档
完整文档可在 developer.crowdstrike.com/falcon-mcp 获取。
Related MCP server: falcon-mcp
模块
模块 | 描述 |
Core | 基本连接和系统信息 |
调用、列出和观察 Charlotte AI 代理及其执行轨迹 | |
案例生命周期管理、证据附件、标记和模板 | |
Kubernetes 容器、镜像漏洞、CSPM 资产清单、IOM 发现、抑制规则、云风险和云组 | |
搜索、创建、更新和管理 NG-SIEM 关联规则 | |
创建和管理自定义 IOA 行为检测规则和规则组 | |
搜索数据保护分类、策略和内容模式 | |
查找、聚合和分析检测结果,以了解恶意活动 | |
搜索应用程序清单和受管理/不受管理的资产,包括驱动器加密和系统洞察态势 | |
搜索、创建、更新和删除 IOA、机器学习、传感器可见性和基于证书的排除项 | |
搜索和管理防火墙规则和规则组 | |
搜索 Fusion SOAR 工作流定义和执行记录,读取执行结果,并运行按需工作流 | |
搜索、创建、更新和删除主机组;管理组成员资格 | |
管理和查询主机/设备信息 | |
实体调查和身份保护分析 | |
研究威胁行为者、IOC 和情报报告 | |
搜索、创建和移除自定义失陷指标 | |
针对下一代 SIEM 执行 CQL 查询 | |
搜索、创建、更新和删除防护、传感器更新、防火墙、设备控制、响应和内容更新策略;管理主机组分配、启用/禁用和优先级 | |
搜索隔离记录、预览操作计数,并释放、取消释放或删除隔离文件 | |
审计、汇总并运行只读 RTR 分流工作流 | |
搜索和聚合 Falcon Intelligence Recon 通知(侦察警报)、监控规则和暴露数据记录(涵盖暗网、泄露凭据和域名仿冒),并预览潜在规则噪音 | |
管理计划报告并下载报告文件 | |
访问和分析传感器使用数据 | |
搜索无服务器函数中的漏洞 | |
SaaS 安全态势、检查、警报和应用程序清单 | |
管理和分析漏洞数据和安全评估 | |
检索主机的零信任评估态势评分以及传感器和操作系统加固信号 |
有关所需的 API 范围、可用工具和 FQL 资源,请参阅模块概述。
快速入门
安装
使用 uv(推荐)
uv tool install falcon-mcp使用 pip
pip install falcon-mcp配置
设置所需的环境变量(或使用 .env 文件 — 请参阅配置指南):
export FALCON_CLIENT_ID="your-client-id"
export FALCON_CLIENT_SECRET="your-client-secret"
export FALCON_BASE_URL="https://api.crowdstrike.com"运行
falcon-mcp有关完整的安装和配置详细信息,请参阅入门指南。
编辑器集成
使用 uvx(推荐)
{
"mcpServers": {
"falcon-mcp": {
"command": "uvx",
"args": [
"--env-file",
"/path/to/.env",
"falcon-mcp"
]
}
}
}模块选择
{
"mcpServers": {
"falcon-mcp": {
"command": "uvx",
"args": [
"--env-file",
"/path/to/.env",
"falcon-mcp",
"--modules",
"detections,hosts,intel"
]
}
}
}Docker
{
"mcpServers": {
"falcon-mcp-docker": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--env-file",
"/full/path/to/.env",
"quay.io/crowdstrike/falcon-mcp:latest"
]
}
}
}有关所有命令行选项、模块配置和库用法,请参阅使用指南。
容器用法
# Pull the latest image
docker pull quay.io/crowdstrike/falcon-mcp:latest
# Run with .env file (stdio transport)
docker run -i --rm --env-file /path/to/.env quay.io/crowdstrike/falcon-mcp:latest
# Run with streamable-http transport (add --api-key when the port is reachable beyond localhost)
docker run --rm -p 8000:8000 --env-file /path/to/.env \
quay.io/crowdstrike/falcon-mcp:latest \
--transport streamable-http --host 0.0.0.0 --api-key your-secret-key[!CAUTION] HTTP 传输默认没有身份验证。绑定到非回环地址(
--host 0.0.0.0) 会暴露一个未认证的服务器,任何能访问该端口的人都可以使用你的 CrowdStrike 凭据来驱动它。对于本地使用,请保持默认的回环绑定,并在绑定更广范围时设置--api-key。 诸如 AWS Bedrock AgentCore 和 Google Cloud Run 等托管运行时位于它们自己的网络 安全层之后,因此这不适用于它们。请参阅 配置指南。
有关本地构建、自定义端口和高级配置,请参阅Docker 部署指南。
动态模式
同时运行许多模块会膨胀每个 AI 客户端必须持有的上下文窗口。动态模式用三个工具替换完整的工具表面——falcon_list_enabled_tools 用于查看服务器可用的每个工具,falcon_search_tools 用于按关键字查找候选工具,然后获取你选择的工具的参数模式,以及 falcon_execute_tool 用于运行它——这样代理只加载它们实际需要的模式。
falcon-mcp --dynamic
# or: FALCON_MCP_DYNAMIC=true有关完整的发现→执行工作流和权衡,请参阅动态模式指南。
限制服务器可以做什么
--modules 对每个模块是全有或全无的:启用一个模块以获取其搜索工具,也会暴露它携带的每个变更工具。三个工具级选项可以缩小该表面。
# Investigation-only server: no tool that mutates tenant state is registered
falcon-mcp --read-only
# Expose exactly two tools, nothing else
falcon-mcp --tools falcon_search_detections,falcon_search_hosts
# Keep the module, drop one tool
falcon-mcp --modules hostgroups --exclude-tools falcon_delete_host_groups
# All of detections, plus one tool from a module you did not enable
falcon-mcp --modules detections --tools falcon_search_applications标志 | 环境变量 | 效果 |
|
| 仅注册只读工具 |
|
| 工具名称的允许列表,添加到已启用的模块中 |
|
| 工具名称的拒绝列表 |
工具名称是客户端显示的以 falcon_ 为前缀的名称。无法识别的名称会中止启动而不是被忽略,因此拒绝列表中的拼写错误不会静默地使工具暴露。
组合选项
--tools 是加法,而不是缩小过滤器。它在 --modules 已启用的任何工具之上授予单个工具,跨越模块边界:
--tools X单独注册仅 X — 默认不加载任何模块。--modules detections --tools X注册每个detections工具加上 X,即使 X 属于未启用的模块。该模块仅贡献 X,而不是其整个表面,并且falcon_list_enabled_modules不会列出它。falcon_list_enabled_tools确实列出 X — 它报告服务器上可用的工具,因此它是“此功能在此处是否可用?”的可靠答案。
要减去,请使用 --exclude-tools 或 --read-only。所有四个旋钮组合在一起,并按固定顺序解析:
--exclude-tools无条件移除工具,即使--tools指定了它。--read-only无条件移除每个变更工具,即使--tools指定了它。--tools添加它指定的工具,绕过模块门。--modules决定默认哪些工具是候选。
因为前两条规则总是获胜,--read-only 和 --exclude-tools 可以安全地设置为部署范围的底线:加法 --tools 列表不能超出它们。组合它们就是表达“搜索一切,不改变任何东西,甚至不提供那个工具”的方式:
falcon-mcp --read-only --exclude-tools falcon_execute_rtr_read_only_command过滤也适用于动态模式 — 被扣留的工具不会出现在 falcon_search_tools 结果中,并且会被 falcon_execute_tool 拒绝。由于动态模式按名称调度而不是单独注册工具,该拒绝会明确指出该工具存在但服务器的配置扣留了它,并指出负责的规则,因此代理会将禁用的工具报告为禁用,而不是告诉用户该功能不存在。falcon_list_enabled_tools 在任一模式中,只要规则生效,就会携带 filters_active 字段。启动日志会报告哪些规则处于活动状态以及 --read-only 和 --exclude-tools 扣留了多少工具,因此你可以确认部署的内容。使用 --debug 运行以按名称查看被扣留的工具。
这些选项过滤工具,而不是资源。被扣留的工具的 FQL 指南资源仍然可用 — 指南是静态字段文档,不携带租户数据。
部署选项
贡献
# Clone and install
git clone https://github.com/CrowdStrike/falcon-mcp.git
cd falcon-mcp
uv sync --all-extras
# Run tests
uv run pytest[!IMPORTANT] 此项目使用 Conventional Commits 进行自动发布。请遵循我们的贡献指南中概述的提交消息格式。
开发者文档
注册表
falcon-mcp 已发布到公共 MCP 目录,以便在兼容客户端中发现和一键设置:
许可证
此项目根据 MIT 许可证授权 - 有关详细信息,请参阅 LICENSE 文件。
支持
这是一个社区驱动的开源项目。虽然它不是官方的 CrowdStrike 产品,但它由 CrowdStrike 积极维护,并与开源开发者社区合作支持。
有关更多信息,请参阅我们的 SUPPORT 文件。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Connect AI agents to 1000+ apps with managed authentication and tool-calling.
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Verified, pay-per-use API tools for AI agents through one authenticated connection.
Connect AI agents to financial institution origination, analytics, and compliance workflows.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceConnects AI agents with the CrowdStrike Falcon platform to enable intelligent security analysis, providing programmatic access to detections, incidents, threat intelligence, vulnerabilities, and other security capabilities for advanced security operations and automation.242MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that connects AI agents to the CrowdStrike Falcon platform for intelligent security analysis and automation across various security modules. It provides programmatic access to detections, incidents, host management, and threat intelligence to enhance security operations within agentic workflows.MIT
- AlicenseBqualityCmaintenanceConnects AI assistants to the Vectra AI security platform to enable intelligent analysis of threat detection data and automated incident response workflows. It allows users to investigate threats, take response actions, and generate security reports using natural language.235MIT
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server that connects AI agents with CrowdStrike Falcon platform for intelligent security analysis and automation.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/carlosmmatos/falcon-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server