@rog0x/mcp-string-tools
Official@rog0x/mcp-string-tools
AI 에이전트를 위한 고급 문자열 조작 도구로, Model Context Protocol (MCP)을 통해 제공됩니다.
도구
analyze_string
텍스트를 분석하여 상세 지표를 얻습니다:
문자 수(공백 포함 및 제외)
단어, 문장, 문단 수
예상 읽기 시간
Flesch-Kincaid 읽기 수준 점수 및 등급
고유 단어 수 및 가장 흔한 단어
가장 긴 단어
transform_string
다양한 연산으로 텍스트를 변환합니다:
remove_duplicate_lines - 텍스트에서 중복 줄 제거
remove_extra_whitespace - 추가 공백과 빈 줄 압축
extract_emails - 텍스트에서 모든 이메일 주소 추출
extract_urls - 텍스트에서 모든 URL 추출
extract_phone_numbers - 텍스트에서 전화번호 추출
mask_sensitive_data - 이메일, 전화번호, 신용카드 번호 마스킹
truncate - 단어 경계에서 줄임표로 텍스트 자르기
wrap_text - 지정된 열 너비로 텍스트 줄 바꿈
diff_strings
두 문자열을 비교하여 차이점을 확인합니다:
character 모드 - 문자 단위 diff
word 모드 - 단어 단위 diff(기본값)
line 모드 - 줄 단위 diff
추가, 삭제, 변경되지 않은 부분을 위치와 함께 표시
render_template
간단한 템플릿 엔진:
{{variables}}를 JSON 데이터 객체의 값으로 대체조건문:
{{#if var}}...{{#else}}...{{/if}}반복문:
{{#each arr}}...{{this}}...{{@index}}...{{/each}}중첩 속성 접근:
{{user.name}}
generate_slug
URL 친화적인 슬러그 생성:
악센트 문자를 음역합니다(예:
cafe에서cafe)특수 문자 제거
구성 가능한 구분자(기본값:
-)선택적 최대 길이(깔끔한 잘림 지원)
선택적 소문자 전환
Related MCP server: mcp-regex-tools
설정
npm install
npm run buildClaude Desktop 사용법
claude_desktop_config.json에 추가하세요:
{
"mcpServers": {
"string-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-string-tools/dist/index.js"]
}
}
}라이선스
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Exact text tools for AI agents: unified diff, patch apply, regex testing, grapheme counting.
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
Utility tools for AI agents: hashing, text stats, validation, DNS, currency, GEO audits.
JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond ops an agent needs mid-task.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides 14+ character-level text analysis tools that give LLMs the ability to accurately count letters, analyze individual characters, and work with text at the character level—overcoming tokenization limitations.149 npm3MIT
- AlicenseNot gradedqualityDmaintenanceProvides a suite of regex and text processing tools for AI agents, including pattern testing, extraction, and replacement with capture group support. It also enables various text transformations like case conversion, line sorting, and deduplication through the Model Context Protocol.41 npmMIT
- AlicenseNot gradedqualityBmaintenanceProvides string utility operations via the MCP protocol, with built-in EU AI Act compliance.9 npmMIT
- AlicenseNot gradedqualityDmaintenanceProvides a set of micro-tools (time calculation, regex, encoding, JSON diff, etc.) for LLM agents to handle deterministic, precision tasks that models often get wrong.MIT