-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
vkmtx edited this page Jun 22, 2026
·
1 revision
veil-mcp is an MCP server over stdio. It needs Node ≥ 18.
claude mcp add veil -- npx -y veil-mcp
npx -y veil-mcp init # writes the "prefer sh_run" nudge into this project's CLAUDE.mdnpx fetches and runs the published package — no clone, no global install.
Add to the agent's MCP server config:
claude mcp add veil -- npx -y github:vkmtx/veil-mcpThe prepare script builds dist/ on install, so this works directly from the repo.
git clone https://github.com/vkmtx/veil-mcp && cd veil-mcp
npm install # builds dist/ via the prepare script
claude mcp add veil -- node "$(pwd)/dist/index.js"
# dev, no build step: npm run dev (tsx src/index.ts)veil is opt-in and complementary to Bash — its value only lands when the agent reaches
for sh_run. Two levers:
-
The nudge —
veil initwrites a short block into the project'sCLAUDE.md. -
The guard hook —
hooks/veil-guard.shis aPreToolUseguard that steers verbose/dangerous Bash tosh_runwhile letting interactive/long-running/background commands through. Fail-open, with aVEIL_BYPASS=1escape.
See FAQ for the honest adoption caveats.
{ "mcpServers": { "veil": { "command": "npx", "args": ["-y", "veil-mcp"] } } }