文本转换工具
可用工具 (43 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
case_to_camel 4 个参数 需填 1 项
必填参数:text
case_to_pascal 4 个参数 需填 1 项
必填参数:text
case_to_snake 4 个参数 需填 1 项
必填参数:text
case_to_kebab 4 个参数 需填 1 项
必填参数:text
case_to_constant 4 个参数 需填 1 项
必填参数:text
case_to_dot 4 个参数 需填 1 项
必填参数:text
case_to_no 4 个参数 需填 1 项
必填参数:text
case_to_pascal_snake 4 个参数 需填 1 项
必填参数:text
case_to_path 4 个参数 需填 1 项
必填参数:text
case_to_sentence 4 个参数 需填 1 项
必填参数:text
case_to_train 4 个参数 需填 1 项
必填参数:text
case_to_capital 4 个参数 需填 1 项
必填参数:text
encode_base64 1 个参数 需填 1 项
必填参数:text
decode_base64 1 个参数 需填 1 项
必填参数:text
encode_url 1 个参数 需填 1 项
必填参数:text
decode_url 1 个参数 需填 1 项
必填参数:text
encode_html 1 个参数 需填 1 项
必填参数:text
decode_html 1 个参数 需填 1 项
必填参数:text
format_json 2 个参数 需填 1 项
必填参数:text
format_xml 2 个参数 需填 1 项
必填参数:text
format_sql 2 个参数 需填 1 项
必填参数:text
format_html 2 个参数 需填 1 项
必填参数:text
count_characters 1 个参数 需填 1 项
必填参数:text
count_words 1 个参数 需填 1 项
必填参数:text
count_lines 1 个参数 需填 1 项
必填参数:text
analyze_readability 1 个参数 需填 1 项
必填参数:text
string_trim 2 个参数 需填 1 项
必填参数:text
string_substring 3 个参数 需填 1 项
必填参数:text
string_replace 4 个参数 需填 3 项
必填参数:text、search、replace
string_split 3 个参数 需填 1 项
必填参数:text
string_join 2 个参数 需填 1 项
必填参数:parts
generate_uuid 4 个参数
该工具无需必填参数,直接调用即可
validate_uuid 1 个参数 需填 1 项
必填参数:uuid
generate_md5 1 个参数 需填 1 项
必填参数:text
generate_sha1 1 个参数 需填 1 项
必填参数:text
generate_sha256 1 个参数 需填 1 项
必填参数:text
generate_sha512 1 个参数 需填 1 项
必填参数:text
generate_hmac 3 个参数 需填 2 项
必填参数:text、key
generate_lorem_ipsum 7 个参数
该工具无需必填参数,直接调用即可
regex_test 3 个参数 需填 2 项
必填参数:text、pattern
regex_replace 4 个参数 需填 3 项
必填参数:text、pattern、replacement
regex_extract 3 个参数 需填 2 项
必填参数:text、pattern
regex_split 3 个参数 需填 2 项
必填参数:text、pattern
服务介绍
文本转换工具
一个提供文本转换、格式化和分析功能的MCP服务器,可直接集成到开发工作流中。
工具列表
本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能:
| 工具名称 | 描述 |
|---|---|
| case_to_camel | Convert text to camelCase |
| case_to_pascal | Convert text to PascalCase |
| case_to_snake | Convert text to snake_case |
| case_to_kebab | Convert text to kebab-case |
| case_to_constant | Convert text to CONSTANT_CASE |
| case_to_dot | Convert text to dot.case |
| case_to_no | Convert text to no case |
| case_to_pascal_snake | Convert text to Pascal_Snake_Case |
| case_to_path | Convert text to path/case |
| case_to_sentence | Convert text to Sentence case |
| case_to_train | Convert text to Train-Case |
| case_to_capital | Convert text to Capital Case |
| encode_base64 | Encode text to Base64 |
| decode_base64 | Decode Base64 to text |
| encode_url | Encode text for URLs |
| decode_url | Decode URL-encoded text |
| encode_html | Encode HTML entities |
| decode_html | Decode HTML entities |
| format_json | Format and beautify JSON |
| format_xml | Format and beautify XML |
| format_sql | Format and beautify SQL |
| format_html | Format and beautify HTML |
| count_characters | Count characters in text |
| count_words | Count words in text |
| count_lines | Count lines in text |
| analyze_readability | Calculate readability metrics |
| string_trim | Trim whitespace from text |
| string_substring | Extract a substring |
| string_replace | Replace text |
| string_split | Split text into an array |
| string_join | Join an array into text |
| generate_uuid | Generate a UUID |
| validate_uuid | Validate a UUID |
| generate_md5 | Generate MD5 hash |
| generate_sha1 | Generate SHA-1 hash |
| generate_sha256 | Generate SHA-256 hash |
| generate_sha512 | Generate SHA-512 hash |
| generate_hmac | Generate HMAC hash |
| generate_lorem_ipsum | Generate lorem ipsum text |
| regex_test | Test a regex pattern against text |
| regex_replace | Replace text using a regex pattern |
| regex_extract | Extract matches using a regex pattern |
| regex_split | Split text using a regex pattern |
检查服务
工具在线测试: https://mcp.xiaobenyang.com/inspector/1777316659720195
服务配置
如何获取 XBY-APIKEY ?
访问小笨羊科技网站 https://xiaobenyang.com,注册用户即可获得APIKEY
SSE
{
"mcpServers": {
"文本转换工具": {
"headers": {
"XBY-APIKEY": "<YOUR_XBY_APIKEY>"
},
"type": "sse",
"url": "https://mcp.xiaobenyang.com/1777316659720195/sse"
}
}
}
STREAMABLE HTTP
{
"mcpServers": {
"文本转换工具": {
"headers": {
"XBY-APIKEY": "<YOUR_XBY_APIKEY>"
},
"type": "streamable_http",
"url": "https://mcp.xiaobenyang.com/1777316659720195/mcp"
}
}
}
STDIO
{
"mcpServers": {
"文本转换工具": {
"command": "npx",
"args": [
"-y",
"xiaobenyang-mcp"
],
"env": {
"XBY_APIKEY": "<YOUR_XBY_APIKEY>",
"mcpId": "1777316659720195",
},
"transport": "stdio"
}
}
}