Skip to main content

ARL MCP Server - A Model Context Protocol server for ARL platform integration

Project description

ARL MCP Server

A Model Context Protocol (MCP) server for ARL platform integration.

简介

ARL MCP Server 是一个基于 Model Context Protocol (MCP) 的服务器,用于与 ARL (Asset Reconnaissance Lighthouse) 平台集成。它提供了一系列工具函数,可以通过 MCP 协议调用 ARL 平台的各种功能。

功能特性

  • 域名提取: 从 HTTP 数据包中提取主域名
  • 任务管理: 创建和查询 ARL 平台扫描任务
  • 子域名枚举: 获取指定域名的所有子域名
  • IP 地址发现: 获取域名对应的 IP 地址列表
  • 站点识别: 获取域名下的所有站点地址
  • 文件泄露检测: 发现潜在的文件泄露链接
  • 节流控制: 内置休眠功能,避免过快轮询

安装

使用 uvx (推荐)

# 直接运行(无需安装)
uvx arl-mcp

# 从 GitHub 运行
uvx --from git+https://github.com/WACHI/arl-mcp.git arl-mcp

# 从本地路径运行
uvx --from ./dist/arl_mcp-0.1.0-py3-none-any.whl arl-mcp

使用 pip

pip install arl-mcp

使用方法

启动服务器

arl-mcp

可用工具函数

  1. extract_main_domain(packet: str): 从 HTTP 数据包中提取主域名
  2. extract_domain_or_ip(text: str): 从文本中提取域名或 IP
  3. sleep_for(seconds: int): 休眠指定秒数
  4. add_scan_task(...): 创建 ARL 扫描任务
  5. query_task_status(name: str): 查询任务状态
  6. get_all_subdomains(domain: str): 获取子域名列表
  7. query_ip_list(domain: str): 获取 IP 地址列表
  8. query_site_list(domain: str): 获取站点列表
  9. query_fileleak_list(domain: str): 获取文件泄露链接

配置要求

  • Python 3.8+
  • ARL 平台访问权限
  • 有效的 ARL API Token

开发

本地开发安装

git clone https://github.com/WACHI/arl-mcp.git
cd arl-mcp
pip install -e .

运行测试

pytest

构建包

python -m build

许可证

MIT License

贡献

欢迎提交 Issue 和 Pull Request!

注意事项

⚠️ 安全提醒:

  • 请确保 API Token 的安全性
  • 不要在公开代码中暴露敏感信息
  • 建议在生产环境中使用环境变量管理配置

联系方式

如有问题或建议,请通过 GitHub Issues 联系我们。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arl_mcp-0.1.8.tar.gz (23.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arl_mcp-0.1.8-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file arl_mcp-0.1.8.tar.gz.

File metadata

  • Download URL: arl_mcp-0.1.8.tar.gz
  • Upload date:
  • Size: 23.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for arl_mcp-0.1.8.tar.gz
Algorithm Hash digest
SHA256 8ef7b05730a82db0b406da9bb1d4160253b598d6b67d57a7fae88f41557f5b8d
MD5 a9e00ab1e0c58c32acb0a43467c4b6ae
BLAKE2b-256 956fce9b646d46d917a18bdab6cf695ab06609484ff3518212d85a5f5921b2fa

See more details on using hashes here.

File details

Details for the file arl_mcp-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: arl_mcp-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for arl_mcp-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a1ac48c268f5446a12bbb2f5ad3552bb981423c50a5517adeb5e0f66ee8ee63d
MD5 d8ae4f53f88cdce6ba95d94fe5da94dc
BLAKE2b-256 ed11e34a372aa31b1e23a61ae229aec2698d939f27fe2d22dfcf960e22d3aa6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page