Clean Paste AI MCP
A remote MCP server that detects and removes over 450 invisible Unicode characters, em-dashes, and Markdown formatting. It allows agents to scan text for hidden characters, strip invisible Unicode while protecting emojis and code blocks, convert Markdown to plain text, and clean HTML from rich sources.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://cleanpasteai.com/mcpWhat its tools do
4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Scan text for 450+ hidden Unicode characters
- Strip invisible Unicode and normalize punctuation
- Convert Markdown to plain text or TSV
- Clean rich HTML into clean Markdown
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- clean-paste-ai 1.0.0
- MCP protocol negotiated in check
- 2025-06-18
- Tools
- 4 advertised
- Resources
- 1 advertised
- Resource templates
- 0 advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
4 advertised
scan_text_residue — Scan Text for Invisible Unicode & Punctuation Residue
Inspect text for 450+ invisible/hidden Unicode characters (zero-width spaces, narrow no-break spaces U+202F, Unicode tag characters, bidi controls) and em-dash / smart-quote counts without modifying the text. Reports objective character residue only (not statistical sampling watermark detection).
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "The text to inspect (up to 200,000 characters)."
},
"include_cjk_punctuation": {
"type": "boolean",
"description": "Optional. When true, also counts CJK full-width quotation marks and dashes in punctuation stats. Defaults to false."
}
},
"additionalProperties": false
}{
"title": "Scan Text Residue",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}clean_invisible_text — Clean Invisible Unicode Characters & Em-Dashes
Remove 450+ invisible/hidden Unicode characters from pasted AI or web text while protecting composite Emoji (ZWJ/FE0F), RTL script marks, CJK punctuation, and code blocks. Optionally replaces em-dashes (—) and curly smart quotes in the same pass.
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "The text to clean (up to 200,000 characters)."
},
"em_dash_style": {
"enum": [
"spaced-hyphen",
"comma",
"space",
"hyphen"
],
"type": "string",
"description": "How to replace em-dashes when normalize_punctuation is true: \"spaced-hyphen\" (\" - \", default), \"comma\" (\", \"), \"space\" (\" \"), or \"hyphen\" (\"-\")."
},
"remove_invisible": {
"type": "boolean",
"description": "Remove hidden Unicode characters. Defaults to true."
},
"normalize_unicode": {
"type": "boolean",
"description": "Normalize Unicode to NFC form. Defaults to true."
},
"preserve_paragraphs": {
"type": "boolean",
"description": "Keep blank lines between paragraphs. Defaults to true."
},
"normalize_whitespace": {
"type": "boolean",
"description": "Collapse redundant inline spaces while preserving code indentation. Defaults to true."
},
"normalize_punctuation": {
"type": "boolean",
"description": "Replace em-dashes, en-dashes, curly smart quotes, and ellipsis outside code blocks. Defaults to false."
},
"normalize_cjk_punctuation": {
"type": "boolean",
"description": "When true, also normalize CJK punctuation marks. Defaults to false (protects CJK punctuation)."
}
},
"additionalProperties": false
}{
"title": "Clean Invisible Text",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}strip_markdown — Strip Markdown to Clean Plain Text, Docs HTML, or Sheets TSV
Clean Markdown via AST parsing while protecting code blocks and LaTeX math, stripping ChatGPT/Perplexity citation markers, and optionally removing invisible Unicode characters and em-dashes. Supports Plain text, Docs & Word (clean semantic HTML without gray shading), and Sheets & Excel (TSV tables) presets.
{
"type": "object",
"required": [
"markdown"
],
"properties": {
"preset": {
"enum": [
"plain",
"docs",
"sheets"
],
"type": "string",
"description": "Output preset: \"plain\" (clean plain text, default), \"docs\" (also returns clean transparent-background HTML for Word/Google Docs), or \"sheets\" (TSV-formatted tables for Excel/Sheets)."
},
"markdown": {
"type": "string",
"description": "Markdown input text (up to 200,000 characters)."
},
"bullet_char": {
"type": "string",
"description": "Bullet character for unordered lists (e.g. \"•\", \"-\", or \"\"). Defaults to \"•\"."
},
"include_html": {
"type": "boolean",
"description": "Include clean semantic HTML (for Word/Google Docs paste without gray shading). Automatically true when preset is \"docs\"."
},
"em_dash_style": {
"enum": [
"spaced-hyphen",
"comma",
"space",
"hyphen"
],
"type": "string",
"description": "Em-dash replacement style when normalize_punctuation is true. Defaults to \"spaced-hyphen\"."
},
"keep_link_url": {
"type": "boolean",
"description": "Keep URLs in parentheses like \"label (https://...)\". Defaults to false (keeps link text only)."
},
"strip_citations": {
"type": "boolean",
"description": "Strip AI chat citation markers (such as [1], citeturn0search1) outside code blocks. Defaults to true."
},
"strip_invisible": {
"type": "boolean",
"description": "Also remove invisible Unicode characters in the same pass. Defaults to true."
},
"normalize_punctuation": {
"type": "boolean",
"description": "Also replace em-dashes and smart quotes outside code blocks. Defaults to false."
}
},
"additionalProperties": false
}{
"title": "Strip Markdown",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}html_to_clean_markdown — Convert Pasted Rich HTML to Clean Markdown
Convert rich HTML copied from ChatGPT, Google Docs, Word, or web pages into clean, shading-free Markdown, optionally stripping invisible Unicode characters in the same pass.
{
"type": "object",
"required": [
"html"
],
"properties": {
"html": {
"type": "string",
"description": "Raw HTML string to convert (up to 200,000 characters)."
},
"em_dash_style": {
"enum": [
"spaced-hyphen",
"comma",
"space",
"hyphen"
],
"type": "string",
"description": "Em-dash replacement style when normalize_punctuation is true. Defaults to \"spaced-hyphen\"."
},
"strip_invisible": {
"type": "boolean",
"description": "Also remove invisible Unicode characters from the resulting Markdown. Defaults to true."
},
"normalize_punctuation": {
"type": "boolean",
"description": "Also replace em-dashes and smart quotes outside code blocks. Defaults to false."
}
},
"additionalProperties": false
}{
"title": "HTML to Clean Markdown",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
1 advertised
Clean Paste inspector card
Interactive card with hidden Unicode counts, punctuation stats, a cleaned-text preview, and a copy button.
ui://cleanpasteai/inspector-card.html30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 1025 ms
- 95th percentile latency
- 1025 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1025 ms · metadata changed · 4 tool(s), 1 resource(s), 0 resource template(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http clean-paste-ai-mcp https://cleanpasteai.com/mcpCodex
codex mcp add clean-paste-ai-mcp --url https://cleanpasteai.com/mcpCursor
{
"mcpServers": {
"clean-paste-ai-mcp": {
"url": "https://cleanpasteai.com/mcp"
}
}
}Cline
{
"mcpServers": {
"clean-paste-ai-mcp": {
"type": "streamableHttp",
"url": "https://cleanpasteai.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"clean-paste-ai-mcp": {
"type": "http",
"url": "https://cleanpasteai.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http clean-paste-ai-mcp https://cleanpasteai.com/mcpClaude Desktop
https://cleanpasteai.com/mcpWindsurf
{
"mcpServers": {
"clean-paste-ai-mcp": {
"serverUrl": "https://cleanpasteai.com/mcp"
}
}
}Let your agent find its tools
Find servers like Clean Paste AI MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.