19 November 2026
أضف خادم MCP إلى Claude Code بدون ما يظهر الـ token في الـ terminalAdd an MCP server to Claude Code without leaking its token
You will add an MCP server that needs a token to Claude Code with add-json, and pass the JSON through stdin instead of the command line, so the token never lands in your shell history.
Who this guide is for
Developers and founders who connect Claude Code to outside tools over MCP and want secrets out of their terminal history.
Key terms
- MCP server
- A program that gives Claude Code ready made tools, like reading support tickets or sending a message. Claude talks to it over a protocol called MCP.
- Token
- A secret key that proves you may use a service. Anyone who has it can use your account.
- stdin
- A channel a command reads text from, passed in by another command or a file, instead of typing the text on the command line itself.
- Scope
- Where Claude Code saves the server setup. local is this project only, project is the shared .mcp.json file, and user covers all your projects.
The rest is locked
5 full steps, with the ready prompts and the takeaway
Secure, encrypted payment via Stripe
Bought this before? Restore your access
Your access is tied to your email. Enter it here and the content opens right away, any time, on any device
Most value
Start building with me now
We sit together, break down your problem, and I build the AI solution with you step by step
60minutes
- A private session with you
- Real building during the session
- Results you take with you when we finish
100% free
A free consultation about your problem
