vader-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@vader-mcp From now on, answer me in Darth Vader's voice whenever Star Wars comes up."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
vader-mcp
A local stdio MCP server, written in TypeScript, that makes Claude answer as Darth Vader whenever you mention Star Wars.
How the trigger actually works
An MCP server cannot intercept your messages — it exposes tools, and the model decides when to call them. So the persona fires from two things working together:
Server instructions. On connect, the server sends an
instructionsblock that Claude Code injects into its system prompt. It tells Claude to callsense_disturbanceon any message that might mention Star Wars, and to stay in voice whileengageis true.The
sense_disturbancetool. Deterministic keyword matching over ~120 Star Wars terms, returning the matched keywords, an intensity level, and the persona directive.
This is best-effort by design — the model chooses to call the tool. If you want
it guaranteed, use the vader_mode prompt (/vader_mode) to pin the persona on
for the whole conversation.
Related MCP server: elevenlabs-voice-mcp
Tools
Tool | Purpose |
| Scan text for Star Wars keywords. Returns |
| Restyle a message in Vader's register — no contractions, formal phrasing, framed by an opening and closing line. Takes |
| Return a canonical Vader line, optionally by topic ( |
Prompt
vader_mode — force the persona on for the rest of the conversation.
Install
npm install # `prepare` builds dist/ automaticallyRegister with Claude Code (user scope, available in every project):
claude mcp add vader --scope user -- node /Users/gabrielestes/vader_mcp/dist/index.jsRemove it with claude mcp remove vader --scope user.
The registered server runs compiled JavaScript from
dist/, so it has no dependency on experimental Node features. Re-runnpm run buildafter editingsrc/or the running server keeps serving the old build.
Scripts
Command | What it does |
|
|
| Typechecks |
| Unit tests for the voice engine, run straight from |
| Builds, then drives every tool over real JSON-RPC against |
| Runs the server straight from |
npm test and npm run dev rely on Node's native type stripping (Node ≥ 22.18),
which prints an experimental warning. The build path does not.
TypeScript setup
tsconfig.json— strict base config,noEmit, coverssrc/test/scripts.tsconfig.build.json— extends it, emitssrc/todist/.
Relative imports are written with .ts extensions so Node can run the sources
directly; rewriteRelativeImportExtensions turns them into .js on build.
erasableSyntaxOnly keeps the source compatible with type stripping, so the
same files run both ways.
Strictness beyond strict: noUncheckedIndexedAccess,
exactOptionalPropertyTypes, noImplicitOverride, noUnusedLocals,
noUnusedParameters, verbatimModuleSyntax.
Layout
src/vader.ts— keyword detection, quotes, and text styling. Pure functions, no I/O.src/index.ts— MCP wiring: tool registration and stdio transport.test/vader.test.ts— unit tests for the voice engine.scripts/probe.ts— spawns the built server and exercises every tool over real JSON-RPC.
Available Tools
3 toolssense_disturbanceSense a disturbance in the ForceA
Scan text for Star Wars keywords. Call this on the user's message whenever Star Wars might have come up. If it returns engage: true, respond in Darth Vader's voice.
Inputs: text (required).
vader_quoteSummon a canonical Vader quoteA
Return a real Darth Vader line. Optional topic, one of: father, faith, power, destiny, failure, deal, teacher, circle, impressive, escape, join, breathing.
Inputs: topic.
vader_speakSpeak as VaderA
Restyle a message in Darth Vader's voice — formal register, no contractions, framed by an opening and closing line. Pass the plain version of what you want to say and use the result verbatim.
Inputs: message (required), intensity.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clear, non-overlapping role: one detects whether Vader mode should activate, one restyles an arbitrary message, and one returns a canned quote. There is little chance an agent would confuse them.
The names are readable and all snake_case, but they follow different patterns: sense_disturbance is verb_noun, vader_speak is noun_verb, and vader_quote is noun_noun. Two share a vader_ prefix while the third does not, making the convention inconsistent.
Three tools is appropriate for a narrow Vader roleplay server. Each tool earns its place and there is no bloat or redundancy.
The server covers the full intended workflow: detect when Vader's voice should engage, restyle a message into that voice, and provide authentic quotes. No obvious gaps or dead ends exist for the stated domain.
Maintenance
Related MCP Connectors
Your own WhatsApp in Claude and ChatGPT: read chats, draft replies, send messages you approve.
Turn Claude into a creative studio: DNA-locked characters, images, video, voiceover — 55 tools.
Your Telegram, WhatsApp, Instagram, mail and calendar in Claude or ChatGPT. Never sends messages.
Give Claude only the Google Drive files you choose. Every action logged.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables users to query the Star Wars universe through the SWAPI (Star Wars API) directly in Claude Desktop. Supports searching for characters, planets, and films, as well as retrieving detailed information about the Star Wars saga.415MIT
- AlicenseAqualityDmaintenanceEnables Claude to speak responses out loud using ElevenLabs text-to-speech API, with tools to list voices and convert text to speech.2MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude to generate, rewrite, de-AI, and transform text into a specific human voice, primarily the operator's own, using stylometric and AI-detector gates.1 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude to act as a personal assistant in Telegram by providing tools to read new messages, send replies, and manage tasks/reminders/notes in a Supabase-backed memory.-