In the terminal
Adding an extension to Claude Code
Checked on
Working with Claude Code in the terminal? Then you add every kind of extension with a command or a folder in the right place.
MCP servers and skills you add in Claude Code stay on this computer.
From Claude Marketplace
You add a connector from Claude Marketplace on claude.ai or in the Claude app. Sign in to Claude Code with the same Claude account and it is there too.
Type /mcp in Claude Code to see it. If you sign in with an API key, it isn’t there.
With an address
Copy the MCP address from the extension’s page and run this command in the terminal. Replace NAME with a short name without spaces and ADDRESS with the address:
claude mcp add --transport http NAME ADDRESSThat puts the server in the folder you run the command in only, and for you only. For all your projects, add --scope user:
claude mcp add --transport http NAME --scope user ADDRESSDo not choose --scope project: that puts the server in a .mcp.json in the folder, and that file is shared with your project.
If the service asks for an account, sign in through your browser:
claude mcp login NAMEIf the maker asks for an API key, follow the maker’s instructions. Type /mcp in Claude Code to see whether the server is connected.
To remove it again, stored sign-in included:
claude mcp remove NAMESkill
A skill is a folder with a SKILL.md file in it. There is no command to add one: you put the folder in the right place.
- In
~/.claude/skills/for all your projects. - In
.claude/skills/inside a project, for that project only.
Or let Claude Code do it: copy the link to the maker’s page, paste this request and replace SOURCE_LINK with that link. Claude Code first asks whether the skill goes in this folder only or in all your projects.
Add the skill from SOURCE_LINK following the maker’s instructions. First ask which skill and where: this folder or all my projects. Give me the skill name.Type /skills in Claude Code to see whether the skill is listed.
If the maker ships the skill as a plugin, follow the steps for a plugin from a marketplace.
Removing it is deleting the folder again.
Plugin from a marketplace
First add the maker’s marketplace, with OWNER/REPO as the maker names it:
claude plugin marketplace add OWNER/REPOThen the plugin, with the plugin’s name and the marketplace’s. You see the marketplace’s name with claude plugin marketplace list:
claude plugin install PLUGIN@MARKETPLACEOr both in one command:
claude plugin install PLUGIN --marketplace OWNER/REPOThat puts the plugin in all your projects; with --scope local in this folder only. It takes effect after a restart or /reload-plugins.
To remove it again:
claude plugin uninstall PLUGIN@MARKETPLACELocal MCP server
What has to be on your computer first is under Requires on the extension’s page. The command is behind the Go to the maker button. Put claude mcp add NAME -- in front of it, with a name of your choice:
claude mcp add NAME -- COMMANDThat puts the server in the folder where you give the command only, and only for you. For all your projects, put --scope user right after claude mcp add: claude mcp add --scope user NAME -- COMMAND.
If the server asks for an account or API key, follow the maker’s instructions. Type /mcp in Claude Code to see whether the server is connected.
To remove it again, with the name you chose:
claude mcp remove NAMEThe maker’s work folder
Get the folder the way the maker describes, go into it and start Claude Code. Replace FOLDER with that folder’s name:
cd FOLDER
claudeClaude Code then reads that folder’s CLAUDE.md, or its AGENTS.md if there is no CLAUDE.md, and the skills in its .claude/skills/. Type / to see them.
Using a CLI
A CLI is a command Claude Code runs itself on your computer. Install it with the maker’s steps. Does the service ask for a login or a key? Then log in yourself, in your own terminal, and never type a password or API key into the conversation.
After that, Claude Code does not know yet that the command is there. Say so in your conversation, with the sentence you copy on the extension’s page. Where this says NAME, that page has the command’s name:
Use the `NAME` command. Run `NAME --help` first to see what it can do.Done? Then Claude Code first runs NAME --help and then uses the command for your question.
Rather not say it again in every conversation? Put the sentence in the file ~/.claude/CLAUDE.md. Claude Code reads that file at the start of every conversation, in every folder.
Working in a cloud session, for example at claude.ai/code? Then Claude Code runs on one of Anthropic’s computers and the command is not there yet. Open the environment’s settings: put the maker’s install steps in the Setup script and the service’s domain under Allowed domains. Keep an API key with the environment, not in the conversation. The ~/.claude/CLAUDE.md file on your computer does not come along, so say the sentence in your message.