Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
Find and remove invisible Unicode: zero-width, tag smuggling, bidi, homoglyphs. Offline.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"ghostchars": {
"command": "npx",
"args": [
"-y",
"ghostchars",
"mcp"
]
}
}
}ターミナルでこれを実行します
claude mcp add ghostchars -- npx -y ghostchars mcpプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"ghostchars": {
"command": "npx",
"args": [
"-y",
"ghostchars",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"ghostchars": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ghostchars",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント ghostchars で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.0.2)がレジストリに届いたのは37 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Spec Driven Development, Remote Desktop Commander, LickityClick
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Create, edit and track LickityClick short links, campaigns and click stats from your AI assistant.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Find and remove invisible Unicode characters and machine-writing punctuation, in text and in documents. Everything runs on your machine: no network, no telemetry, no account, and zero runtime dependencies.
npx ghostchars clean -i notes.md # clean a file in place, atomically
cat draft.md | npx ghostchars inspect # what is hiding: line:col, codepoint, name npx ghostchars check --bar text # the gate: exit 1 if the tree is dirty npx ghostchars report draft.md # habits that make a draft read as machine written npx ghostchars clean -i essay.docx # documents too: .docx, .odt, .html
Needs Node 22 or newer. The whole package is a launcher and three bundles: the CLI, the document reader, and the MCP server. Only the first is loaded unless you name a document or start the server.
clean reads stdin or the files you name, writes the cleaned text to stdout, or rewrites each file in place with -i. With --check it writes nothing and exits 1 if anything would change.
inspect lists every suspicious character with its line, column, codepoint, Unicode name and the flag that would act on it. It changes nothing and exits 1 when it finds something.
report measures the habits that make a draft read as machine written: sentence length uniformity, stock transitions, tell words, dash density, tricolons, hedging, missing specifics. It is not a detector and emits no probability.
check holds a whole tree to a bar and prints every file that would change, with exact character positions. This is the command for CI and for a pre-commit hook. Configure surfaces and pins in ghostchars.json.
mcp runs a Model Context Protocol server on stdin and stdout, so an agent can call clean_text, inspect_text, style_report and check_paths as tools instead of shelling out.
help prints the commands, help prints one command's flags, and help --json prints the whole surface as one machine-readable document. version prints the version.
The thirteen cleaning switches, their spellings and their meanings are exactly the Python reference CLI's, because it is the same engine underneath.
| flag | what | why it is not default |
|---|---|---|
| (default) | zero-width space, word joiner, byte-order mark, soft hyphen, invisible math operators, bidi overrides, free-floating tag characters, noncharacters, reserved default-ignorable codepoints, every other format control | |
-a, --aggressive | glue characters even when they are load-bearing | breaks emoji sequences, Persian, Indic, subdivision flags |
-s, --spaces | no-break and other exotic spaces to a plain space | |
-n, --newlines | CRLF, CR, NEL, LS and PS to a plain newline | changes line endings |
--bidi | bidi marks and isolates even next to right-to-left text | breaks mixed Hebrew and Arabic |
--controls | C0 and C1 control characters, keeping tab and the line endings | |
--pua | private-use characters | breaks icon-font glyphs |
--punct | em and en dashes, curly quotes, ellipsis and minus to ASCII | typography, not hiding |
--confusables | look-alike Cyrillic and Greek letters to Latin, only inside mixed-script words | rewrites letters; opt in on principle |
--nfc, --nfkc | Unicode normalisation before anything else runs | NFKC rewrites letters and is lossy |
--gutters | the quote bar a terminal draws at the start of a line (U+258C to U+258F, U+2502, U+2503) and one space after it, keeping indentation and box-drawn table rows | a directory tree or a drawn box can start a line with the same bar |
--trailing | trailing spaces and tabs at the end of every line | markdown hard breaks |
--collapse | a run of two or more spaces inside a line to one | |
--max | all of the above except --nfc, which --nfkc supersedes |
Default cleaning is context aware. It strips a zero-width joiner sitting between two Latin letters and keeps the one inside a family emoji or a Persian word. It strips free tag characters, which is how text is smuggled into a message, and keeps a complete subdivision flag. It strips a left-to-right mark in English text and keeps one next to Hebrew. -a turns that judgement off.
An option can only be turned on. There is no way to turn one off, because the reference CLI has none either.
A bar is a named set of options, so a person or an agent picks one word instead of thirteen booleans.
| bar | options | use it for |
|---|---|---|
default | none | invisible characters only. Nothing legitimately needs them |
text | -s --punct | anything a person will read. This is the bar for your own prose |
max | the twelve of --max | everything, including confusables and NFKC. Lossy |
Resolution order is fixed, so the result is always predictable:
--bar,--max if given,So --bar text --collapse is -s --punct --collapse, and --bar max --punct is still just max.
max folds look-alike Cyrillic and Greek letters and applies NFKC, which rewrites letters. Do not run it over text you did not write. It is not offered as a gate bar at all: see check below.
clean and inspect recognise a document by its extension and handle it structurally.
| extension | how | extra flags |
|---|---|---|
.docx | the package is unzipped, every text node is cleaned, the zip is rewritten | --metadata, --rsids |
.odt | the same, through the ODF parts | --metadata |
.html, .htm | text nodes only. Tags, attributes, script and style are untouched | |
| anything else | plain text |
--as text forces plain-text treatment of any path, which is what the Python reference CLI does with an .html file.
Without -i, a cleaned document is written to .clean beside the original, or to the path you give with -o.
inspect on a document prints the character report over the concatenated document text, then what hides around that text: hidden runs, white-on-white and tiny runs, tracked changes, comments, the count of distinct rsid editing-session ids, metadata fields, macros, media. --metadata blanks the authoring fields and drops custom properties; --rsids removes the editing-session fingerprint.
Hidden runs, comments and tracked changes are reported and never removed. Deleting them changes the document, and that stays a human call.
Out of scope here: PDF, images, .pptx, .xlsx, .rtf, .doc, .epub and .pages. check does not open documents at all.
ghostchars check [--bar default|text] [option flags]
[--config ] [--no-config] [--git|--no-git] [--max-bytes N] [--limit N] [--fix] [--json] [--verbose] [paths...]
--bar accepts exactly default and text. There is deliberately no max gate bar: max turns on confusables and NFKC, which target scripts and symbols rather than typography, and a gate that condemns legitimate Cyrillic, Greek and emoji content gets deleted by the people who installed it. The default bar is default, for the same reason: typography is a house style and has to be opted into.
With no path arguments, check finds files with git ls-files, so it honours the same ignore rules your repository already has and still sees files that are new and not yet added. Outside a repository, or with --no-git, it walks the tree instead and skips node_modules, build output, virtual environments and every directory whose name starts with a dot, except the ones coding agents read instructions from (.cursor, .github, .claude, .agents, .windsurf, .devin, .gemini, .codex, .clinerules, .continue, .kiro, .roo). --git makes a git that cannot be used a hard error, whether or not you named paths, so CI cannot silently switch strategy between one container and another. Path arguments are always walked rather than looked up in git, so --git asserts that git was available and reports "discovery": "walk". Results are sorted by path, so the output never depends on directory order. A directory the walk cannot open is an error on stderr and exit 2, never a silent omission.
A file is skipped, silently and without failing the run, when its extension is a known binary one, when it is larger than --max-bytes (2 MiB by default), when one of its first 8192 bytes is NUL, or when it is not valid UTF-8. A file you name on the command line is different: you asserted it is text, so both content checks stop applying to it, the strict decode decides, and a decode failure is an error that exits 2.
check finds 's own ghostchars.json even when you run it from somewhere else: with no config beside the working directory, the search moves up from each path you named, stopping at that path's repository root. Two paths governed by two different config files is an error, because one run has one root and a pin is written relative to it. --verbose prints which config was used.
Put it at the root of the tree, or point at it with --config.
{
"version": 1, "surfaces": [ { "id": "invisibles", "bar": "default", "include": ["**/*"], "exclude": ["vendor/"] }, { "id": "prose", "bar": "text", "include": ["/*.md", "src/messages/*.ts"], "decodeEscapes": true, "pins": { "docs/glyphs.md": 12 } } ], "maxBytes": 2097152 }
A surface names a bar (or an options list, one of the two, never both), the globs it covers, and its pins. A file that matches no surface is not checked at all. An exclusion wins over everything, including a path you named explicitly. An unknown key is an error that lists the known keys, so a typo in pins is never silently ignored.
The glob subset is ** for any run of path segments, * for any run inside one segment, and ? for one character. No braces, no character classes.
decodeEscapes resolves \uXXXX and \u{XXXX} to the characters they render before the file is checked. Turn it on for a source file whose strings a person reads, and leave it off everywhere else: a table of codepoints is full of escapes that match characters rather than ship them.
A pin says a file changes by exactly N characters on purpose. It is enforced in both directions.
| pinned | measured | result |
|---|---|---|
| none | 0 | passes, silently |
| none | N greater than 0 | FAIL changed, every character listed |
| N | N | passes |
| N | M, and M is not N | FAIL pin-mismatch: changes M characters, but exactly N are pinned |
| N greater than 0 | 0 | FAIL pin-stale: pinned as deliberately dirty but now changes nothing. Unpin it |
That last row is the one people forget. It catches a pin that went stale when somebody quietly fixed the file.
docs/post.md: the text bar would change this file:
docs/post.md:1:26 U+2014 EM DASH Ghostchars is a text tool it finds what a reader cannot see. docs/post.md:2:43 U+200B ZERO WIDTH SPACE There is a zero width space in this one.
ghostchars: 1 file would change, 3 scanned
The two placeholders stand for the real characters. This file is held to the text bar itself, so it names a codepoint where it would otherwise print one.
One path:line:col U+XXXX NAME line per offending character, and the source line printed once per distinct line number. Exit 1. When everything passes, one line: ghostchars: 3 files pass the text bar. --verbose also names the files that passed.
npx -y ghostchars check --bar text
That is the whole step. Never pass --fix in CI. --fix cleans the failing files in place and then re-checks, which turns a red build green without anyone reading what changed. It also skips pinned files and names them, because fixing one would inv
冒頭だけを表示しています。続きはリポジトリで読めます