Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
This plugin wires ssh-mcp into Claude Code and Codex as a bundled MCP server
plus the matching PreToolUse policy hook.
.mcp.json). Adds the ssh MCP server over
stdio with ssh-mcp serve.hooks/hooks.json -> tools/ssh-mcp-hook.sh). Routes
host-affecting MCP tool calls (exec, get, put, sync_get, sync_put)
through ssh-mcp hook, which asks the resident daemon for the strictest
policy decision.settings.json). Protects the
ssh-mcp trust-root files from agent edits, asks before raw ssh from
Bash, and asks before edits to the default ~/.local/bin/ssh-mcp binary.The hook deliberately does not gate list_hosts, list_agent_keys, trace,
or propose_host: those tools are read-only, inspect session-local state, or
write only disabled pending host entries that require a later manual edit.
ssh-mcp daemon is running as your user.ssh-mcp is available on the host runtime PATH.If the host runtime does not inherit your shell PATH, set SSH_MCP_BIN to an
absolute binary path before starting the host app, or edit plugin/.mcp.json
during local development.
From a published GitHub remote:
/plugin marketplace add naoto256/ssh-mcp
/plugin install ssh-mcp@naoto256-ssh-mcp
From a local checkout:
/plugin marketplace add /absolute/path/to/ssh-mcp
/plugin install ssh-mcp@naoto256-ssh-mcp
Restart the Claude Code session after installing so the MCP server, hook, and settings defaults are loaded. The standard hook trust review still applies.
Add the repo marketplace and install the plugin:
codex plugin marketplace add /absolute/path/to/ssh-mcp
codex plugin add ssh-mcp@naoto256-ssh-mcp
Then restart Codex. Codex reads the plugin from
plugin/.codex-plugin/plugin.json, the shared plugin/.mcp.json, and
plugin/hooks/hooks.json.
Codex plugin hooks are non-managed hooks, so Codex will skip them until you review and trust the current hook definition.
Remove the manual ssh MCP server entry and manual PreToolUse hook only
after the plugin has been installed and trusted.
Manual Claude Code entries that this plugin replaces:
{
"mcpServers": {
"ssh": {
"type": "stdio",
"command": "<path>/ssh-mcp",
"args": ["serve"],
"env": {},
"timeout": 900000
}
},
"hooks": {
"PreToolUse": [
{
"matcher": "mcp__ssh__(exec|get|put|sync_get|sync_put)",
"hooks": [
{ "type": "command", "command": "<path>/ssh-mcp hook" }
]
}
]
}
}
Manual Codex entries that this plugin replaces:
[mcp_servers.ssh]
command = "<path>/ssh-mcp"
args = ["serve"]
{
"hooks": {
"PreToolUse": [
{
"matcher": "mcp__ssh__(exec|get|put|sync_get|sync_put)",
"hooks": [
{ "type": "command", "command": "<path>/ssh-mcp hook" }
]
}
]
}
}
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub naoto256/ssh-mcp --plugin ssh-mcpPlugins from other owners that cover similar ground