setup

setup is a command for coding agents from salatmaster/keenetic-mcp. It costs 8 tokens per session (436 once invoked), scanned A, original, MIT.

A setup wizard for connecting the Keenetic MCP server to your router. It asks for the router address and login, then stores the password in your operating system’s keychain.

In plain words
What is it for?
Run the initialization command in your own terminal, then verify the connection by retrieving the router model and firmware version.
Why use it?
It removes the need to find the router address or handle password storage manually.

Command

Part of the keenetic plugin — 4 skills, 1 command, 1 MCP server shipped together

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 commands/salatmaster/keenetic-mcp/setup
Clone the repo
git clone --depth 1 https://github.com/salatmaster/keenetic-mcp

Or install keenetic, the plugin that ships this one along with the rest of its 4 skills, 1 command, 1 MCP server.

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 setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/salatmaster/keenetic-mcp/setup.svg)](https://agentmods.dev/commands/salatmaster/keenetic-mcp/setup)
Your own site
<a href="https://agentmods.dev/commands/salatmaster/keenetic-mcp/setup"><img src="https://agentmods.dev/badge/commands/salatmaster/keenetic-mcp/setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 436 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00008 $0.00436
Opus 5 $0.00004 $0.00218
Sonnet 5 $0.00002 $0.00087
Haiku 4.5 $0.00001 $0.00044

Measured 4d ago against content hash 6bd94304e344, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup 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 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.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • setup — 100% identical, 0 lines differ
plugins/keenetic/commands/setup.md · 45 lines

What it actually says

The user wants to connect the Keenetic MCP server to their router.

The server needs three things: the router address, a login, and a password. It finds the address itself and stores the password in the operating system keychain, so the only thing you have to do is walk the user through running the wizard.

Do not ask the user for their password and do not run the wizard yourself. It reads the password from the terminal without echoing it, which only works when the user runs it. Tell them to run this in their own terminal:

npx -y keenetic-mcp init

Explain what will happen, so nothing is a surprise:

  1. It reads the default gateway and offers it as the router address. Pressing enter accepts it.
  2. It confirms the address really is a Keenetic before asking for anything else.
  3. The login defaults to admin.
  4. The password is typed without being shown, and is checked against the router immediately. Nothing is stored if the router rejects it.
  5. The password goes into the system keychain. The settings file holds only the address and the login.

Once they say it finished, verify it by calling get_system_info. It should return the model and firmware version. If it fails:

  • "No router configured" means the wizard did not complete. Ask them to run it again and read out any message it printed.
  • "the router rejected credentials" means the password is wrong. The router password is the one for its web interface, which is often not the Wi-Fi password.
  • "The router was unreachable" means this machine is not on the same network as the router, or the address is wrong.

If the user would rather not store anything, the server also reads KEENETIC_HOST, KEENETIC_USER and KEENETIC_PASSWORD from the environment, and those take precedence over the stored settings.

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 · 45 lines · 8 tokens per session scan A 6bd94304e344

Subscribe to this mod's changes

setup is a command published in the GitHub repository salatmaster/keenetic-mcp (19 stars, last pushed 25d ago), licensed MIT. It adds 8 tokens to every session and 436 once invoked, about $0.0000 per session on Opus 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-30.