mcp-ssh CLAUDE.md

mcp-ssh CLAUDE.md is an instructions file for coding agents 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/aiondadotcom/mcp-ssh/claude-md
Clone the repo
git clone --depth 1 https://github.com/AiondaDotCom/mcp-ssh

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.03346 $0.03346
Opus 5 $0.01673 $0.01673
Sonnet 5 $0.00669 $0.00669
Haiku 4.5 $0.00335 $0.00335

Measured 4d ago against content hash 2717af52ce2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 (96 stars, last pushed 24d ago), licensed MIT. It adds 3,346 tokens to every session, about $0.0167 per session on Opus 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.