MCP server · Audited from source
SSH Agent MCP server
by aiondadotcom/mcp-sshMIT licenceAudited 7 Oct 2026 · source 73fc6fef7754
Is it safe? Yes — SAFE, grade B (89/100). It exposes 7 tools: 7 read, 0 write and 0 destructive. The audit recorded 16 findings (0 critical, 0 high, 0 medium, 11 low). Maintainer's description: A Model Context Protocol (MCP) server for managing and controlling SSH connections.
Cite
Cite this page
ModelsAtlas. “SSH Agent MCP server (aiondadotcom/mcp-ssh)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/aiondadotcom/ssh-agent
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
16 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | PASS 11 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 5 findings |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
aiondadotcomOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
@aiondadotcom/mcp-sshat version 1.3.9 - LicenceMITFrom the repository, as read at the audited commit.
- Last push57 days agoActivity of the repository when we read it.
- Source commit read73fc6fef7754The audit covers exactly this commit, read on 7 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory7 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (16)
Sorted by severity
LOWFilesystem / pathfs.credential_store · src/ssh-client.test.ts:1097
['authorized_keys', join(sshDir, 'authorized_keys')],
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/ssh-client.test.ts:1098
['a private key', join(sshDir, 'id_ed25519')],
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/ssh-client.test.ts:1107
it('should refuse a traversal path that lands in ~/.ssh', async () => {- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/ssh-client.test.ts:1114
it('should refuse a relative path that resolves into ~/.ssh', async () => {- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/ssh-client.test.ts:1126
it('should still allow uploadFile to read from ~/.ssh', async () => {- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.system_paths · src/ssh-client.test.ts:984
const result = await client.downloadFile('test', '/etc/passwd', localPath);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.system_paths · src/ssh-client.test.ts:999
expect(await client.downloadFile('test', '/etc/passwd', '')).toBe(false);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.system_paths · src/ssh-client.test.ts:1010
const result = await client.downloadFile('test', '/etc/passwd', localPath);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.system_paths · src/ssh-client.test.ts:1037
expect(await client.downloadFile('test', '/etc/passwd', 'C:\\Users\\me\\out.txt')).toBe(true);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.system_paths · src/ssh-client.test.ts:1043
expect(await client.downloadFile('test', '/etc/passwd', '\\\\server\\share\\out.txt')).toBe(true);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, glob, ssh-config, @anthropic-ai/mcpb, @eslint/js, @types/node, @vitest/coverage-v8, eslint
- Why
- 12 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOPrompt injectionprompt.credential_read · CLAUDE.md:115
- The `# @password:` annotation is read locally — the password **never** reaches the LLM or cloud provider
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · README.md:202
- The `# @password:` annotation is read **locally** by the MCP server — the password **never** reaches the AI model or any cloud provider
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · README.md:472
cat ~/.ssh/id_ed25519.pub | ssh user@hostname "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · README.md:475
cat ~/.ssh/id_ed25519.pub
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · README.md:593
- **`uploadFile` and `downloadFile` give the LLM access to the local filesystem** with the privileges of the user running the MCP server. The LLM can read any file the process can read (including `~/.
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
7 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
checkConnectivity | read | Checks if an SSH connection to the host is possible |
downloadFile | read | Downloads a file from an SSH host |
getHostInfo | read | Returns all configuration details for an SSH host |
listKnownHosts | read | Returns a consolidated list of all known SSH hosts, prioritizing ~/.ssh/config entries first, then additional hosts from ~/.ssh/known_hosts |
runCommandBatch | read | Executes multiple shell commands sequentially on an SSH host |
runRemoteCommand | read | Executes a shell command on an SSH host. For long-running commands, increase the timeout parameter. |
uploadFile | read | Uploads a local file to an SSH host |
Install
Package version 1.3.9 · audited commit 73fc6fe
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.3.9. The audit covers commit 73fc6fe only.
claude mcp add mcp-ssh -- npx -y @aiondadotcom/[email protected]
{
"mcpServers": {
"mcp-ssh": {
"command": "npx",
"args": [
"-y",
"@aiondadotcom/[email protected]"
]
}
}
}The command pins the package version recorded in the source (1.3.9); the audit covers commit 73fc6fef7754. Transport: stdio. No environment variables required.
Audit history
- ✓SAFE B 89 / 100
First audit ·
73fc6fef7754
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/aiondadotcom/ssh-agent/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about SSH Agent MCP server
What is the SSH Agent MCP server?
What tools does SSH Agent expose?
Is SSH Agent safe to connect to an agent?
What credentials does SSH Agent need?
How does SSH Agent run?
How current is this page?
Sources
- aiondadotcom/mcp-ssh on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 73fc6fef7754Observed · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the SSH Agent MCP server?
- What tools does SSH Agent expose?
- Is SSH Agent safe to connect to an agent?