sftp-manager: Instructions file for Codex

AGENTS.md

sftp-manager AGENTS.md is an instructions file for Codex, OpenCode from Gus2708/sftp-manager. It costs 2,568 tokens per session, scanned A, original, MIT.

A set of repository instructions for Gus2708/sftp-manager, an MCP server that lets an AI agent safely manage game servers over SFTP. It covers setup, diagnosis, dependencies, and the repository's purpose.

In plain words
What is it for?
Checking the environment, installing dependencies, configuring the server, and understanding how its SFTP access works.
Why use it?
It explains what the project does and the required installation order, reducing setup mistakes before the server can run.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is Gus2708/sftp-manager's own configuration. It tells Codex and OpenCode how to work on sftp-manager 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 sftp-manager configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Gus2708/sftp-manager. 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/Gus2708/sftp-manager/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Gus2708/sftp-manager

Made for: Codex, OpenCode.

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 sftp-manager AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/gus2708/sftp-manager/agents-md/github.svg)](https://agentmods.dev/instructions/gus2708/sftp-manager/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/gus2708/sftp-manager/agents-md"><img src="https://agentmods.dev/badge/instructions/gus2708/sftp-manager/agents-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 sftp-manager AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gus2708/sftp-manager/agents-md"><img src="https://agentmods.dev/badge/instructions/gus2708/sftp-manager/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,568 This file is loaded in full into every session.
When invoked 2,568 The same file — it is already loaded in full.
Security scan A 0 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.02568 $0.02568
Opus 5.5 $0.01027 $0.01027
Sonnet 5.5 $0.00514 $0.00514
Haiku 4.5 $0.00257 $0.00257

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

Security

Grade A, and why

sftp-manager AGENTS.md scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 236 lines

How it starts

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

AGENTS.md

Instructions for an AI agent that has been handed this repository.

This file follows the AGENTS.md convention and is read automatically by Codex, Cursor, Jules, Copilot, Zed and others. Claude Code reads CLAUDE.md, which points here.


What this repo is

sftp-manager is a stdio MCP server. It gives an AI agent sandboxed SFTP access to game servers (Pterodactyl / TaroHosting panels and any plain SFTP host) so configs can be read and edited, addons installed, backups restored and the server restarted — without a shell.

It is not a library to import and not a service to deploy. The deliverable is a process launched over stdio by an MCP client:

<python> <repo>/mcp_server.py

Everything else in this file exists to get that command running correctly.


Installing it (do this in order)

install_mcp.py is the install and diagnosis surface. It uses only the standard library, so it runs before any dependency is installed, and every subcommand prints JSON so you can branch on the result instead of parsing prose.

Step 1 — Diagnose

python install_mcp.py check

Returns Python version, missing dependencies, whether config exists, the exact command/args to register, and a siguiente_paso field telling you what to do next. Read siguiente_paso and follow it. If listo is true, skip to step 4.

Step 2 — Dependencies

python install_mcp.py deps

Requires Python 3.10+. If the environment is externally managed (PEP 668) this fails; create a virtualenv and use its interpreter for every later step:

python -m venv .venv
.venv/bin/python install_mcp.py deps        # Windows: .venv\Scripts\python.exe

Only paramiko, python-dotenv and mcp are needed to run the server. nbtlib unlocks the two level.dat tools; anthropic is only for the optional standalone CLI.

Step 3 — Credentials

python install_mcp.py init

This copies servers.example.json → servers.json and .env.example → .env. Both are git-ignored. It never overwrites an existing file.

Read the full file on GitHub · 236 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 · 236 lines · 2,568 tokens per session scan A 61b25492c160

Subscribe to this mod's changes

sftp-manager AGENTS.md is an instructions file published in the GitHub repository Gus2708/sftp-manager (0 stars, last pushed 2mo ago), licensed MIT. It adds 2,568 tokens to every session, about $0.0103 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

sftp-manager AGENTS.md compared with instructions from other repositories

sftp-manager AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sftp-manager AGENTS.mdGus2708/sftp-managerInstructions file02mo agoMITA2,568Codex, OpenCode
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