本機版
完全離線。用 npx 執行,需要 Node.js 20 以上。不用金鑰,也不用帳號。
claude mcp add bytescope -- npx -y @bytescope/mcp{
"mcpServers": {
"bytescope": {
"command": "npx",
"args": [
"-y",
"@bytescope/mcp"
]
}
}
}線上版
給沒辦法跑 npx 的客戶端用,盡力提供。單次內容上限 4 MB,超過就會請你改用本機版。
claude mcp add --transport http bytescope https://bytescope.dev/api/mcp{
"mcpServers": {
"bytescope": {
"type": "http",
"url": "https://bytescope.dev/api/mcp"
}
}
}工具
共 23 個工具,是建置這頁時從伺服器本身的工具清單讀出來的。說明保留 agent 實際看到的英文原文。
| 工具 | 用途 |
|---|---|
| detect_file_type | Identify a file's real type from its leading bytes (magic numbers), with a confidence level, MIME type and usual extensions. |
| hash_bytes | Hash bytes with MD5, SHA-1, SHA-256, SHA-512 and/or CRC-32 (the zip/PNG/Ethernet CRC-32/ISO-HDLC). |
| crc_calculate | Compute a CRC over bytes, either with a named model from the reveng catalogue (113 models, e.g. "CRC-32/ISO-HDLC", "CRC-16/MODBUS", "CRC-8/SMBUS"; aliases such as "CRC-32" or "MODBUS" work) or with custom Rocksoft parameters. |
| crc_reverse | Recover the CRC model from known message/checksum pairs: first tries every model in the reveng catalogue, then brute-forces 8- and 16-bit polynomials within a time budget. |
| decode_certificate | Decode X.509 certificates and CSRs: subject, issuer, SANs, validity window and status, signature algorithm, public key, key usage, fingerprints. |
| subnet_calc | IPv4/IPv6 subnet calculator: CIDR → network, broadcast (IPv4 only), usable host range, netmask, wildcard, address count and address class/special-range classification. |
| parse_pcap | Parse a pcap or pcapng capture: file summary (format, link types, packet count, time span), a Wireshark-style packet list (protocol, source, destination, info), TCP/UDP stream summaries and protocol hierarchy / conversation statistics. |
| inspect_elf | Inspect an ELF binary (executable, shared object, object file, core): header (class, endianness, machine, type, entry point), program headers, section headers, symbol tables, dynamic section (NEEDED libraries, SONAME), notes (build id) and parse warnings. |
| parse_intel_hex | Map a firmware image: Intel HEX, Motorola S-record or UF2 → contiguous address segments, gaps, start address, record errors (bad checksums, overlaps) and, for UF2, the family ids. |
| decode_hid_descriptor | Decode a USB HID report descriptor: annotated item listing (like the HID Descriptor Tool), collections, and every input/output/feature report with bit offsets, sizes, usages and logical ranges. |
| parse_exif | Read image metadata from a JPEG, PNG or raw TIFF/EXIF block: camera make/model, lens, exposure, ISO, focal length, orientation, capture time, ICC profile presence, plus the list of metadata carriers (EXIF, XMP, ICC, comments, text chunks, trailers) with byte offsets. |
| sqlite_schema | Read a SQLite database file's structure: every table with its CREATE statement, columns (declared type, primary-key position, NOT NULL, default, foreign-key target) and row count, plus indexes (unique, origin, columns), views, triggers, page size, page count, text encoding, user_version, journal mode and the SQLite version that last wrote the file. |
| convert_subtitle | Convert subtitles between SRT, WebVTT and ASS/SSA. |
| generate_fixture | Generate a real, standards-conformant test file for unit tests instead of hand-assembling bytes: images, archives (including encrypted, split or deliberately corrupted ZIPs), packet captures, self-signed certificates (valid, expiring in N days, expired or not yet valid), audio/video, SQLite, firmware images and PDFs. |
| lookup_usb_vendor | Look up a USB vendor id (VID) in the linux-usb.org usb.ids database — the same data lsusb uses. |
| lookup_usb_product | Look up a USB product by vendor id and product id (VID:PID) in the linux-usb.org usb.ids database. |
| lookup_ble_uuid | Look up a Bluetooth LE GATT UUID in the Bluetooth SIG assigned-numbers tables (services, characteristics, descriptors) and a list of well-known vendor UUIDs. |
| lookup_hid_usage | Look up a USB HID usage in the HID Usage Tables: usage page + usage id → names. |
| lookup_midi_cc | Look up a MIDI 1.0 Control Change number (0-127) in the MMA controller assignment table, e.g. 7 → Channel Volume, 64 → Damper Pedal. |
| lookup_midi_manufacturer | Look up a MIDI System Exclusive manufacturer id (the byte(s) after F0): one byte 01-7F (e.g. 41 → Roland, 43 → Yamaha) or an extended three-byte id 00 xx xx (e.g. 00 20 29 → Focusrite/Novation). |
| lookup_port | Look up a TCP/UDP port number in ByteScope's port reference (the well-known service ports developers actually hit: 22, 443, 3306, 5432, 6379, 27017 …): service, transport, whether IANA assigned it, what it is for and its security exposure. |
| lookup_http_status | Look up an HTTP status code in ByteScope's status reference: name, class, defining standard, what it means and how it is confused with its neighbours. |
| lookup_file_signature | Look up which file formats' magic-number signatures match the given leading bytes, using ByteScope's format catalogue. |