Back to MCP directory
publicPublicdnsLocal runtime

cyberchef-api-mcp-server

该项目是一个与CyberChef Server API对接的MCP服务器,允许用户通过任意LLM/MCP客户端调用CyberChef中的工具和资源,包括获取操作分类、执行食谱操作以及自动解码等功能。

article

README

🚀 CyberChef API MCP 服务器

CyberChef API MCP 服务器可与 CyberChef Server API 接口进行对接。借助该服务器,您能够使用任意 LLM/MCP 客户端(由您自主选择),充分利用 CyberChef 中的各类工具和资源。

🚀 快速开始

可用工具和资源

  • get_cyberchef_operations_categories资源 - 获取更新的 Cyber Chef 分类,以便获取更多上下文信息,从而选择正确的操作。
  • get_cyberchef_operation_by_category资源 - 根据选定的分类,获取 Cyber Chef 操作列表。
  • bake_recipe工具 - 烘焙(执行)一个配方(操作列表),从输入数据中推导出结果。
  • batch_bake_recipe工具 - 烘焙(执行)一个配方(操作列表),从一批输入数据中推导出结果。
  • perform_magic_operation工具 - 执行 CyberChef 的“魔术”操作,该操作可自动检测数据的编码方式,并确定用于解码的操作。

使用方法

使用默认的 stdio 传输启动服务器,并指定一个环境变量指向 CyberChef API。

CYBERCHEF_API_URL="your-cyberchef-api-url" uv run cyberchef_api_mcp_server

开发人员使用(开发)

启动服务器并在 MCP 检查程序中对其进行测试。

uv add "mcp[cli]"
mcp dev server.py

客户端配置

以下命令将生成一个客户端配置文件,文件位置取决于您的操作系统。

uv add "mcp[cli]"
mcp install server.py --name "CyberChef API MCP Server"

💡 使用建议

运行上述命令后,您可以调整客户端配置,使其包含 CyberChef API URL 的环境变量。

{
 "mcpServers": {
   "CyberChef API MCP Server": {
     "command": "uv",
     "args": [
       "run",
       "--with",
       "mcp[cli]",
       "--directory",
       "cyberchef-api-mcp-server/cyberchef_api_mcp_server/",
       "mcp",
       "run",
       "server.py"
     ],
     "env": {
       "CYBERCHEF_API_URL": "your-cyberchef-api-url"
     }
   }
 }
}

示例

使用此 MCP 服务器的示例用例,前提条件如下:

  • 您必须安装了 Claude 桌面。
  • 正在运行 CyberChef API 实例或有可以使用的实例。

在此基本提示中使用 MCP 服务器工具:

Example

📚 详细文档

参考资料

📄 许可证

本项目采用 MIT License 进行许可。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client