Skip to main content
Glama
regaing

devbelt-mcp

by regaing

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
encode_urlA

URL 编码/解码(encodeURIComponent 风格,中文与特殊字符转 %XX)

encode_base64A

Base64 编码/解码。mode=text 处理字符串;mode=image 时:encode 将本地图片转为 dataURL,decode 将 base64 写回图片文件(需 output_path)

encode_unicodeA

Unicode(\uXXXX)与字符互转。encode=中文/字符转 \uXXXX 形式;decode=\uXXXX 还原为字符

encode_utf8A

UTF-8 编码与中文互转。encode=中文转 %XX 十六进制字节串;decode=字节串还原中文

encode_asciiA

ASCII 编码/解码。encode=字符转十进制与十六进制码;decode=码值转字符(支持 10 进制或 0x 前缀 16 进制)

encode_escapeA

Escape 编码/解码(JS escape 风格:%XX / %uXXXX)

encode_radixA

任意进制互转(2~36 进制,支持大数)。例:value=255, from_base=10, to_base=16 → ff

crypto_hashA

散列/哈希计算(不可逆)。algorithm 可选:md5、sha1、sha224、sha256、sha384、sha512、hmac-md5、hmac-sha1、hmac-sha224、hmac-sha256、hmac-sha384、hmac-sha512。MD5 支持 16/32 位输出

crypto_symmetricA

对称加解密(现代标准,node:crypto AES)。algorithm 可选:aes-128-gcm、aes-192-gcm、aes-256-gcm、aes-128-cbc、aes-192-cbc、aes-256-cbc。密码经 SHA-256 派生密钥,或直接传 key_hex。GCM 输出格式 base64(iv|tag|密文),CBC 为 base64(iv|密文)

crypto_morseA

摩尔斯电码加密/解密。支持英文、数字、常用标点;中文先转拼音再编码

crypto_download_urlA

下载地址加解密:迅雷(thunder://)、快车(flashget://)、旋风(qqdl://)。输入普通 http(s) 地址或对应前缀的密文

color_convertA

颜色格式互转:HEX(#RRGGBB)↔ RGB(rgb(r,g,b) 或 r,g,b)

code_formatA

代码格式化/压缩。language 可选:js、ts、json、css、html、yaml、markdown、sql、php、java、cs、c、cpp、python、ruby、perl、vbs、go。js/ts/json/css/html/yaml/markdown 走 prettier,sql 走 sql-formatter,其余语言为基础缩进美化

code_obfuscateA

JS 代码混淆(单向操作,无法还原)与还原美化。obfuscate 使用 javascript-obfuscator;beautify 仅做格式化还原(不恢复混淆语义)。禁止用于隐藏恶意逻辑

regex_toolA

正则表达式测试/提取/替换。action=test 返回是否匹配;extract 返回所有匹配与捕获组;replace 用 replacement 替换

regex_generateB

为正则表达式生成各语言代码(js/java/go/php/ruby/python/cs)

xpath_toolA

简易 XPath 提取:支持 //tag、tag、tag[@attr="value"]、/text() 形式(基于正则的轻量实现,不支持复杂轴表达式)

json_processA

JSON 格式化/压缩/转义/去除转义/校验。action 可选 format(美化)、compress(压缩)、escape(转义)、unescape(去除转义)、validate(仅校验)

json_convertA

JSON 与其他格式互转。target 可选 xml(JSON↔XML)、yaml(JSON↔YAML)、get_params(JSON 对象↔GET 参数字符串)

json_entityA

从 JSON 或 SQL CREATE TABLE 生成实体类代码。input_type 可选 json/sql,language 可选 cs(C#)/java/go

data_html_convertA

HTML 与其他代码/标记格式互转。target 可选 js/php/cs/jsp/asp/perl/ubb/markdown;ubb 支持双向(direction=to_html 时输入 UBB)

data_html_tableB

生成 HTML 表格:输入 CSV(首行为表头)或 JSON 数组,输出 代码

data_excel_jsonA

Excel/CSV ↔ JSON 转换。json_to_excel:JSON 数组写入 xlsx 文件(需 output_path);excel_to_json:读取 xlsx/csv 文件输出 JSON

data_text_diffA

文本/代码差异比较。mode 可选 lines(按行)/chars(按字符)/words(按词)

text_caseA

英文大小写转换:upper 全大写 / lower 全小写 / title 首字母大写 / camel 驼峰 / snake 下划线

text_jianfanA

简体/繁体互转。action=to_traditional 简体转繁体;to_simplified 繁体转简体

text_pinyinA

汉字转拼音。output=pinyin 返回拼音;tone 带声调;initial 仅声母/首字母

text_fullwidthA

全角/半角互转。to_full=半角转全角;to_half=全角转半角(含中文标点:。、《》等)

text_flipA

文本翻转/倒序。full=全文反转;line=每行内反转;reverse_lines=行序反转

text_verticalA

文字竖排(传统中文排版):将文本按指定列数从上到下竖排输出

text_statsA

字数统计:总字符、汉字、字母、数字、空格、标点、行数、单词数

text_dedupA

文本行去重。sort=true 时结果排序,keep_first=false 保留最后一次出现

text_replaceC

文本查找替换。use_regex=true 时 find 作为正则表达式处理

text_filterB

HTML 标签过滤:移除 script/style 与标签,可选保留指定标签,可选替换为自定义文本

text_formatA

文章自动排版:首行缩进、段落合并、清理多余空行与行首尾空格

text_randomA

随机数/密码生成。type=number:min/max/count/unique;type=password:length/charset

text_martianA

火星文转换:to_martian 汉字转火星文;to_chinese 火星文还原汉字(仅支持映射表内字符)

uuid_generateA

UUID/GUID 批量生成。format=uuid(8-4-4-4-12)或 guid;case 控制大小写

unit_convertA

单位换算。category 可选:length(长度:km/m/dm/cm/mm/um/nm/mile/yd/ft/inch/nmi/li/zhang/chi/cun);area(面积:km2/m2/dm2/cm2/mm2/ha/mu/acre/ft2/inch2/yd2);volume(体积容量:m3/dm3/cm3/L/mL/hL/dL/cL/barrel/gal_us/gal_uk/qt_us/pint_us/ft3/in3);speed(速度:m/s/km/h/mph/knot/ft/s/mach/c);pressure(压力:Pa/kPa/MPa/hPa/bar/mbar/atm/kgf_cm2/mmHg/torr/psi/mmH2O);power(功率:W/kW/MW/hp/ps/kcal_s/J/s/N·m/s);heat(热量:J/kJ/cal/kcal/kWh/Btu);force(力:N/kN/kgf/dyn/lbf);time(时间:ms/s/min/h/day/week/year/month);data(数据大小:bit/B/KB/MB/GB/TB/KiB/MiB/GiB);angle(角度:deg/rad/grad/arcmin/arcsec/mil/turn);density(密度:g/cm3/kg/m3/g/L/kg/dm3/g/mL/lb/ft3);temperature(温度:C/F/K/R/Re)。温度单位:C=摄氏度 F=华氏度 K=开氏度 R=兰氏度 Re=列氏度

net_whoisA

WHOIS 域名信息查询(原生实现:连接 whois.iana.org 递归查询权威服务器,不依赖第三方接口)

net_icpA

ICP 备案查询(工信部官方接口):输入域名查询备案号、主办单位等信息

net_url_statusA

URL 状态检测:返回 HTTP 状态码、关键响应头、最终地址

net_gzip_checkA

Gzip 压缩检测:检查服务器是否开启 gzip 及压缩前后大小对比

net_dead_linkA

网站死链检测:抓取页面提取链接并逐个检查 HTTP 状态(默认最多检查 20 个)

net_fetchB

网页抓取/内容采集:抓取 URL 返回解码后的文本(自动处理 GBK/GB2312 编码)。fake_ip=true 时可伪装国内 IP(谨慎使用)

net_meta_analyzeA

网页 Meta 标签分析:抓取页面提取 title/keywords/description 并给出长度建议

net_keyword_densityA

网页关键词密度检测:抓取页面统计指定关键词出现次数与密度

net_websocket_testA

WebSocket 完整会话测试:连接(显示握手协议/扩展)→ 按序发送消息 → 协议级 ping(RTT)→ 收集全部响应 → wait_for 匹配期望响应 → 空闲自动关闭。支持文本/JSON 消息

misc_barcodeA

条形码生成。type 可选 ean8/ean13/code39/code128/upca,format 可选 png(base64)或 svg。output_path 可保存文件

misc_qrcodeB

二维码生成。format 可选 png(base64 dataURL)/svg;error_level 纠错等级 L/M/Q/H;output_path 可保存文件

misc_faviconA

favicon.ico 生成:将 PNG 图片封装为 ICO(Vista+ PNG-ICO 格式)。image 支持本地路径或 base64(dataURL)。尺寸由 PNG 决定(≤256px)

misc_shortcutB

生成 Windows 桌面快捷方式(.url 文件内容)。output_path 可保存为 .url 文件

misc_referenceB

常用参考表查询。topic 可选:http_status/http_method/content_type/ports/dns/ascii/dynasty/ethnic/keycode/glyphicons/currency/capital/areacode/symbols/android_manifest/ua/festival。keyword 可选过滤

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/regaing/devbelt-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server