SC

slouchd/cyberchef-api-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

44 stars 11 forks 质量 61 趋势 0MIT

slouchd/cyberchef-api-mcp-server 是从 https://github.com/slouchd/cyberchef-api-mcp-server. 导入的 MCP 服务器候选

概览

slouchd/cyberchef-api-mcp-server 是从 https://github.com/slouchd/cyberchef-api-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

该模型上下文协议(MCP)服务器与CyberChef服务器API接口。允许您使用任意LLM/MCP客户端,利用CyberChef中的工具和资源。

🧰 可用工具和资源

  • get_cyberchef_operations_categories:resource - 获取更新的Cyber Chef类别,以提供更多上下文/正确操作选择
  • get_cyberchef_operation_by_category:resource - 获取选定类别的Cyber Chef操作列表
  • bake_recipe:tool - 烘焙(执行)一个配方(操作列表),以从输入数据中推导结果
  • batch_bake_recipe:tool - 烘焙(执行)一个配方(操作列表),以从一批输入数据中推导出结果
  • perform_magic_operation:tool - 执行CyberChef的神奇操作,该操作旨在自动检测数据编码方式及可用于解码的操作

📝 用途

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

🧑 💻使用(开发)

启动服务器,用MCP检查器测试

📚 客户端配置

本页由 AI 翻译,技术细节请以原文为准。

README

CyberChef API MCP Server

This model context protocol (MCP) server interfaces with the CyberChef Server API. Allowing you to use any LLM/MCP client of your choosing to utilise the tools and resources within CyberChef.

🧰 Available Tools and Resources

  • get_cyberchef_operations_categories: resource - gets updated Cyber Chef categories for additional context / selection of the correct operations
  • get_cyberchef_operation_by_category: resource - gets list of Cyber Chef operations for a selected category
  • bake_recipe: tool - bake (execute) a recipe (a list of operations) in order to derive an outcome from the input data
  • batch_bake_recipe: tool - bake (execute) a recipe (a list of operations) in order to derive an outcome from a batch of input data
  • perform_magic_operation: tool - perform CyberChef’s magic operation which is designed to automatically detect how your data is encoded and which operations can be used to decode it

📝 Usage

Start the server using the default stdio transport and specifying an environment variable pointing to a CyberChef API

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

🧑‍💻Usage (Development)

Start the server and test it with the MCP inspector

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

📚 Client Configuration

The following commands will generate a client configuration file, the location will depend on your operating system

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

[!TIP] After running the above command you can then tweak the client configuration to include the environment variable for the 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"
     }
   }
 }
}

🔍 Demo

Using the MCP server in this example use case, the following prerequisites apply:

  • You must have Claude desktop installed
  • Have a running CyberChef API instance or one you are able to use

Here is a basic prompt being solved using the MCP server tools:

🙇 References

🪪 License

MIT License

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "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" } } } }