Line Sort MCP tool
MCP
findutils:line_sort Sort lines alphabetically, numerically, by length, or shuffle them randomly. Ascending or descending, case-sensitive or not.
Arguments
application/json-
text
string required
Newline-separated input.
-
order
string optional
Sort direction. Ignored when mode is "random". One of
asc · desc. Default"asc". -
mode
string optional
Comparison mode, or "random" to shuffle. One of
alpha · numeric · length · random. Default"alpha". -
case_sensitive
boolean optional
Case-sensitive comparison. Defaults to false. Default
false. -
ignore_leading_whitespace
boolean optional
Sort on the line without its indentation. Defaults to true. Default
true.
Example arguments
Verified{
"text": "banana\napple\ncherry"
} More Text tools
- Bookmarks Diff Compare two Netscape bookmarks.html exports (before and after) and list the links that were added, removed, or changed.
- Case Convert Convert a string between camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE, Title Case, Sentence case, lower, UPPER.
- Citation Generator Generate a reference-list citation in APA 7, MLA 9, Chicago, or Harvard style for a book, website, journal, or article.
- Code Diff Checker Returns a line-by-line diff of two code snippets: each line marked added, removed or unchanged with its original and modified line numbers…
- Code Highlight Html Returns syntax-highlighted HTML for a code snippet: HTML-escaped text wrapped in <span style="color: ..."> elements using one of six colour…
- Dedupe Bookmarks Remove duplicate links from a Netscape bookmarks.html export (Chrome, Firefox, Edge, Safari) and return a clean bookmarks.html plus a CSV…