mcp-ssh: Instructions file for Claude Code

CLAUDE.md

mcp-ssh CLAUDE.md is an instructions file for Claude Code from AiondaDotCom/mcp-ssh. It costs 3,346 tokens per session, scanned B, original, MIT.

A project guide for working on an MCP SSH server, a program that lets AI assistants perform SSH operations on remote computers. It documents the repository, commands, tests, and development scripts.

In plain words
What is it for?
Use it when developing the server, compiling TypeScript, running lint and tests, checking types, or starting the application.
Why use it?
It gives an unfamiliar developer the project rules and commands needed to build, check, test, and run the server.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is AiondaDotCom/mcp-ssh's own configuration. It tells Claude Code how to work on mcp-ssh itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-ssh configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AiondaDotCom/mcp-ssh. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AiondaDotCom/mcp-ssh/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/AiondaDotCom/mcp-ssh

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-ssh CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aiondadotcom/mcp-ssh/claude-md/github.svg)](https://agentmods.dev/instructions/aiondadotcom/mcp-ssh/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/aiondadotcom/mcp-ssh/claude-md"><img src="https://agentmods.dev/badge/instructions/aiondadotcom/mcp-ssh/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-ssh CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aiondadotcom/mcp-ssh/claude-md"><img src="https://agentmods.dev/badge/instructions/aiondadotcom/mcp-ssh/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,346 This file is loaded in full into every session.
When invoked 3,346 The same file — it is already loaded in full.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.03346 $0.03346
Opus 5.5 $0.01338 $0.01338
Sonnet 5.5 $0.00669 $0.00669
Haiku 4.5 $0.00335 $0.00335

Measured 2mo ago against content hash 2717af52ce2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

mcp-ssh CLAUDE.md scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- The server enforces `chmod 600` on config files containing `@password` annotations

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- Node.js built-ins: `child_process`, `fs/promises`, `os`, `path`
CLAUDE.md · 222 lines

How it starts

The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

This is MCP SSH Agent (@aiondadotcom/mcp-ssh) - a Model Context Protocol (MCP) server that provides SSH operations for AI assistants like Claude Desktop. The project uses native SSH commands (ssh, scp) rather than JavaScript SSH libraries for maximum reliability and compatibility.

Development Commands

Basic Operations

  • npm start - Start the MCP server (same as npm run dev)
  • npm run dev - Start the MCP server with debug output
  • npm run build - Compile src/ to dist/ (tsc -p tsconfig.build.json)
  • npm run typecheck - tsc --noEmit for src/ (strict) and for the tests (relaxed)
  • npm run lint / npm run lint:fix - ESLint with type-aware rules
  • npm test - Run the vitest suite with coverage
  • npm run test:watch - Vitest in watch mode

The compiled output must exist before the server can run. npm install builds it via the prepare script; after editing src/ run npm run build (or npm test, which reads src/ directly and needs no build).

Development Scripts

  • ./start.sh - Start the server with debug output
  • ./start-silent.sh - Start the server in silent mode (no debug output)
  • node bin/mcp-ssh.js - Direct server execution. It loads dist/server.js and fails with a clear message if the build is missing. Do not add an is this module run directly? check to the server module: that heuristic compared process.argv[1] against forward-slash suffixes, never matched on Windows, and made the server exit silently (issue #8, regression in 1.3.8)

Publishing

  • npm version patch|minor|major - Bump version and create git tag
  • npm publish - Publish to npm (see PUBLISHING.md for details)
  • npm pack - Create tarball for testing

MCP Bundle Building

  • npm run build:mcpb - Build the installable MCP Bundle (.mcpb) into build/
  • ./scripts/build-mcpb.sh - Direct build script execution

Read the full file on GitHub · 222 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 222 lines · 3,346 tokens per session scan B 2717af52ce2a

Subscribe to this mod's changes

mcp-ssh CLAUDE.md is an instructions file published in the GitHub repository AiondaDotCom/mcp-ssh (105 stars, last pushed 2mo ago), licensed MIT. It adds 3,346 tokens to every session, about $0.0134 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

mcp-ssh CLAUDE.md compared with instructions from other repositories

mcp-ssh CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-ssh CLAUDE.mdAiondaDotCom/mcp-sshInstructions file1052mo agoMITB3,346Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode