modelscope·@Spathodea-Network/opencti-mcp
一个模型上下文协议服务器,便于与OpenCTI集成,允许用户通过标准化接口查询和检索网络威胁情报数据。
<a href="https://glama.ai/mcp/servers/ml61kiz1gm"><img width="380" height="200" src="https://glama.ai/mcp/servers/ml61kiz1gm/badge" alt="OpenCTI Server MCP server" /></a>
OpenCTI MCP Server 是一个 Model Context Protocol (MCP) 服务器,它提供了与 OpenCTI(开放网络威胁情报)平台的无缝集成。它通过标准化接口实现了查询和检索威胁情报数据的功能。
要通过 Smithery 自动安装适用于 Claude Desktop 的 OpenCTI Server:
npx -y @smithery/cli install opencti-server --client claude
# Clone the repository
git clone https://github.com/yourusername/opencti-mcp-server.git
# Install dependencies
cd opencti-mcp-server
npm install
# Build the project
npm run build
将 .env.example 复制为 .env 并使用您的 OpenCTI 凭据进行更新:
cp .env.example .env
必需的环境变量:
OPENCTI_URL: 您的 OpenCTI 实例 URLOPENCTI_TOKEN: 您的 OpenCTI API 令牌在您的 MCP 设置位置创建一个配置文件:
{
"mcpServers": {
"opencti": {
"command": "node",
"args": ["path/to/opencti-server/build/index.js"],
"env": {
"OPENCTI_URL": "${OPENCTI_URL}", // Will be loaded from .env
"OPENCTI_TOKEN": "${OPENCTI_TOKEN}" // Will be loaded from .env
}
}
}
}
.env 文件或 API 令牌提交到版本控制系统.gitignore 文件已配置为排除敏感文件检索最新的威胁情报报告。
{
"name": "get_latest_reports",
"arguments": {
"first": 10 // Optional, defaults to 10
}
}
按 ID 检索特定报告。
{
"name": "get_report_by_id",
"arguments": {
"id": "report-uuid" // Required
}
}
在 OpenCTI 数据库中搜索恶意软件信息。
{
"name": "search_malware",
"arguments": {
"query": "ransomware",
"first": 10 // Optional, defaults to 10
}
}
搜索妥协指标。
{
"name": "search_indicators",
"arguments": {
"query": "domain",
"first": 10 // Optional, defaults to 10
}
}
搜索威胁行为者信息。
{
"name": "search_threat_actors",
"arguments": {
"query": "APT",
"first": 10 // Optional, defaults to 10
}
}
按 ID 检索用户信息。
{
"name": "get_user_by_id",
"arguments": {
"id": "user-uuid" // Required
}
}
列出系统中的所有用户。
{
"name": "list_users",
"arguments": {}
}
列出所有组及其成员。
{
"name": "list_groups",
"arguments": {
"first": 10 // Optional, defaults to 10
}
}
列出系统中的所有攻击模式。
{
"name": "list_attack_patterns",
"arguments": {
"first": 10 // Optional, defaults to 10
}
}
按名称检索活动信息。
{
"name": "get_campaign_by_name",
"arguments": {
"name": "campaign-name" // Required
}
}
列出所有系统连接器。
{
"name": "list_connectors",
"arguments": {}
}
列出所有状态模板。
{
"name": "list_status_templates",
"arguments": {}
}
通过ID检索文件信息。
{
"name": "get_file_by_id",
"arguments": {
"id": "file-uuid" // Required
}
}
列出系统中的所有文件。
{
"name": "list_files",
"arguments": {}
}
列出所有标记定义。
{
"name": "list_marking_definitions",
"arguments": {}
}
列出所有可用标签。
{
"name": "list_labels",
"arguments": {}
}
欢迎贡献!请随时提交拉取请求。
MIT 许可证
审计 npm 包依赖项以查找安全漏洞,提供详细的报告和修复建议,并集成 MCP。
BurpSuite MCP服务器:BurpSuite的强大模型上下文协议(MCP)服务器实现,提供对Burp核心功能的编程访问。
通过MCP调用与NEAR区块链进行交互
一种服务器实现,允许 MCP 客户端与 privateGPT 之间进行安全通信,使用户能够使用知识库与 privateGPT 聊天,并通过标准化的模型上下文协议(Model Context Protocol)管理来源、分组和用户。
使用 Express.js 构建的模型上下文协议服务器,提供包括密钥对生成、共享密钥派生和消息加密/解密在内的加密工具。
通过Ory Network使用OAuth 2.1集成的服务器端事件(Server-Sent Events)来实现模型上下文协议服务器,以进行实时通信,支持带有身份验证和客户端管理的安全AI模型通信。