mcp-texttools 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -78
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -1,83 +1,8 @@
|
|
|
1
|
-
# mcp-texttools
|
|
2
1
|
|
|
3
|
-
MCP server with 10 text transformation tools for AI assistants (Claude, Cursor, etc).
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npx mcp-texttools
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
### Claude Desktop
|
|
12
|
-
|
|
13
|
-
Add to `claude_desktop_config.json`:
|
|
14
|
-
|
|
15
|
-
```json
|
|
16
|
-
{
|
|
17
|
-
"mcpServers": {
|
|
18
|
-
"texttools": {
|
|
19
|
-
"command": "npx",
|
|
20
|
-
"args": ["-y", "mcp-texttools"]
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### Cursor
|
|
27
|
-
|
|
28
|
-
Add to `.cursor/mcp.json`:
|
|
29
|
-
|
|
30
|
-
```json
|
|
31
|
-
{
|
|
32
|
-
"mcpServers": {
|
|
33
|
-
"texttools": {
|
|
34
|
-
"command": "npx",
|
|
35
|
-
"args": ["-y", "mcp-texttools"]
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Tools
|
|
42
|
-
|
|
43
|
-
| Tool | Description |
|
|
44
|
-
|------|-------------|
|
|
45
|
-
| `case_convert` | Convert between camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, Title Case, dot.case |
|
|
46
|
-
| `slugify` | Convert text to URL-friendly slug |
|
|
47
|
-
| `word_count` | Count words, characters, sentences, paragraphs + reading time |
|
|
48
|
-
| `lorem_ipsum` | Generate placeholder text (words, sentences, or paragraphs) |
|
|
49
|
-
| `truncate` | Smart truncation at word/sentence/character boundaries |
|
|
50
|
-
| `regex_replace` | Find & replace with regex (supports capture groups) |
|
|
51
|
-
| `markdown_strip` | Strip markdown formatting to plain text |
|
|
52
|
-
| `text_reverse` | Reverse by characters, words, or lines |
|
|
53
|
-
| `line_sort` | Sort lines (alpha, numeric, length, random) + dedup |
|
|
54
|
-
| `text_diff` | Compare two texts line by line |
|
|
55
|
-
|
|
56
|
-
## Examples
|
|
57
|
-
|
|
58
|
-
**Convert case:**
|
|
59
|
-
- Input: `"myVariableName"` → snake → `my_variable_name`
|
|
60
|
-
- Input: `"my-api-endpoint"` → pascal → `MyApiEndpoint`
|
|
61
|
-
|
|
62
|
-
**Slugify:**
|
|
63
|
-
- Input: `"Hello World! This is a Test"` → `hello-world-this-is-a-test`
|
|
64
|
-
|
|
65
|
-
**Word count:**
|
|
66
|
-
- Returns words, characters, sentences, paragraphs, reading time
|
|
67
|
-
|
|
68
|
-
## Part of the MCP Dev Tools Suite
|
|
69
|
-
|
|
70
|
-
- [mcp-devutils](https://www.npmjs.com/package/mcp-devutils) — UUID, hash, base64, timestamps, JWT decode, and more
|
|
71
|
-
- [mcp-apitools](https://www.npmjs.com/package/mcp-apitools) — HTTP status, MIME types, JWT create, mock data, CORS headers
|
|
72
|
-
- **mcp-texttools** — Text transformation and analysis (this package)
|
|
73
|
-
- [mcp-mathtools](https://www.npmjs.com/package/mcp-mathtools) — 12 math & statistics tools: arithmetic, statistics, unit conversion, financial calculations
|
|
74
|
-
- [mcp-datetime](https://www.npmjs.com/package/mcp-datetime) — 10 date & time tools: timezone conversion, date math, cron explanation, business days
|
|
75
|
-
- [mcp-quick-calc](https://www.npmjs.com/package/mcp-quick-calc) — 5 calculator tools: currency conversion, percentages, compound interest, unit conversion, loan payments
|
|
76
2
|
|
|
77
3
|
## Support
|
|
78
4
|
|
|
79
|
-
If
|
|
80
|
-
|
|
81
|
-
## License
|
|
5
|
+
If this tool saves you time, consider supporting development:
|
|
82
6
|
|
|
83
|
-
|
|
7
|
+
- [Buy me a coffee](https://buymeacoffee.com/gl89tu25lp)
|
|
8
|
+
- [Tip via Stripe ($3)](https://buy.stripe.com/dRm8wP8R295Z9VyeN59Zm00)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-texttools",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "MCP server with 10 text transformation tools
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"description": "MCP server with 10 text transformation tools \u2014 case conversion, slug, word count, lorem ipsum, truncate, regex replace, markdown strip, character count, reverse, line sort",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"bin": {
|
|
@@ -34,5 +34,13 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@modelcontextprotocol/sdk": "^1.0.0"
|
|
37
|
+
},
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "https://github.com/hlteoh37/mcp-texttools.git"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://github.com/hlteoh37/mcp-texttools#readme",
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/hlteoh37/mcp-texttools/issues"
|
|
37
45
|
}
|
|
38
46
|
}
|