Skip to main content
Glama
xiaobenyang-com

Text-Toolkit

README.md
# 文本转换工具 Text Toolkit

一个提供文本转换、格式化和分析功能的MCP服务器,可直接集成到开发工作流中。
An MCP server that provides text conversion, formatting, and analysis functions, which can be directly integrated into the development workflow.## 工具列表 Tool List

本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。

| 工具 Tool   | 描述 Description         |
|-------|--------------------|
| 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 |


## 检查服务 ## Inspector

工具在线测试: [https://mcp.xiaobenyang.com/inspector/1777316659720195](https://mcp.xiaobenyang.com/inspector/1777316659720195)

Online Tool test [https://mcp.xiaobenyang.com/inspector/1777316659720195](https://mcp.xiaobenyang.com/inspector/1777316659720195)

## 服务配置 MCP Server Config


> #### 如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?
> 访问小笨羊科技网站 [https://xiaobenyang.com](https://xiaobenyang.com),注册用户即可获得APIKEY
> Visit XiaoBenYang website [https://xiaobenyang.com](https://xiaobenyang.com), register and get the APIKEY.

### SSE
```json
{
  "mcpServers": {
    "文本转换工具": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "sse",
      "url": "https://mcp.xiaobenyang.com/1777316659720195/sse"
    }
  }
}
```
### STREAMABLE HTTP
```json
{
  "mcpServers": {
    "文本转换工具": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "streamable_http",
      "url": "https://mcp.xiaobenyang.com/1777316659720195/mcp"
    }
  }
}
```
### STDIO
```json
{
    "mcpServers": {
        "文本转换工具": {
          "command": "npx",
          "args": [
            "-y",
            "xiaobenyang-mcp"
          ],
          "env": {
            "XBY_APIKEY": "<YOUR_XBY_APIKEY>",
            "mcpId": "1777316659720195",
          },
          "transport": "stdio"
        }
      }
}

```

TDQS

C2.9/5.0

Scored across 43 tools

Disambiguation5/5

Every tool has a clearly distinct purpose with no ambiguity. The case conversion tools target specific case formats, encoding/decoding tools handle different formats, and string operations are well-separated. Even similar-sounding tools like string_replace and regex_replace are clearly differentiated by their descriptions.

Naming Consistency5/5

All tools follow a consistent verb_noun or noun_verb pattern with snake_case throughout. The naming is highly predictable: case_to_*, count_*, decode_*, encode_*, format_*, generate_*, regex_*, string_*, and validate_* patterns create excellent consistency.

Tool Count2/5

43 tools is excessive for a text processing server. While the domain is broad, many tools could be consolidated (e.g., 13 case conversion tools could be a single parameterized tool). The count feels bloated and will overwhelm agents with too many similar options.

Completeness5/5

The tool surface is remarkably complete for text processing. It covers case conversion, counting, encoding/decoding, formatting, hashing, generation, regex operations, string manipulation, and validation. No obvious gaps exist for common text manipulation needs.

Maintenance

ActivityInactive
ResponsivenessNo issues