convez.ai
MCP Server
MukundaKatta

textsanity-mcp

MukundaKatta/textsanity-mcp

Ver no GitHub
InicialPluginScore · de 0 a 100

MCP server: fast unicode/whitespace/encoding cleanup before LLM input. NFKC, zero-width strip, smart-punctuation conversion.

Instalação

$npx convez-ai MukundaKatta/textsanity-mcp

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
0
Saúde
42%
Último commit
há 2 meses
Versão
—
Issues abertas
4
Contribuidores
1

README

A tradução para o português deste README ainda está na fila.

textsanity-mcp

npm mcp license

An MCP server that gives AI assistants the ability to clean up messy unicode, whitespace, zero-width characters, and smart punctuation before feeding text to a downstream model.

Works with Claude Desktop, Cursor, Cline, Windsurf, Zed, and any other MCP client.

Operations

  • NFKC unicode normalization (fi → fi, full-width digits → ASCII).
  • Strip zero-width code points (ZWSP, ZWJ, ZWNJ, BOM, RTL/LTR marks).
  • Strip control chars (C0/C1) except \n and \t.
  • Collapse whitespace runs to single spaces.
  • Trim leading/trailing whitespace.
  • ASCII punctuation: “”‘’–—… → ""''-/-....
  • Strip emoji (optional).
  • ASCII-only mode (optional, applied after smart-punctuation conversion).

Tools exposed

sanitize

Clean a string with the chosen pipeline.

{
  "text": "  Hello​   World  —  with  fi  and  smart “quotes” ",
  "ascii_punctuation": true
}

→

{ "clean": "Hello World - with fi and smart \"quotes\"" }

Configure your MCP client

Claude Desktop's claude_desktop_config.json:

{
  "mcpServers": {
    "textsanity": {
      "command": "npx",
      "args": ["-y", "@mukundakatta/textsanity-mcp"]
    }
  }
}

License

MIT.

Ver o original no GitHub

Bom para

Relacionados