mcp-server-tools

mcp-server-tools is a skill for Claude Code, Codex from samugit83/redamon. It costs 129 tokens per session (2,187 once invoked), scanned A, original, MIT.

Development guidance for tools on an inbound MCP server, an interface that lets outside AI agents call approved server operations. It covers the tool definitions, access scopes, and generated API reference for RedAmon's server.

In plain words
What is it for?
Use it when adding, removing, renaming, or changing an inbound tool, token scope, argument description, or annotation. It also covers regenerating and committing the server's API reference.
Why use it?
It helps keep the live tool list, published documentation, permissions, and safety annotations aligned. This reduces the risk that connected agents see stale documentation or receive misleading information about destructive operations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is npm run docs:mcp # rewrites ../redamon.wiki/MCP-API-Reference.md.

Good fit Use it when adding, removing, renaming, or changing an inbound tool, token scope, argument description, or annotation. It also covers regenerating and committing the server's API reference.

Compare 6 skills from other repositories ↓
About the project

RedAmon is an AI framework that connects reconnaissance, exploitation, and post-exploitation activities into an automated security-testing pipeline, while organizing findings and proposing code fixes. It is for authorized penetration testing, security research, and education. The catalogue entries provide skills and instructions for working with the framework.

samugit83/redamon · 3,553 stars · on GitHub · redamon.org

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/samugit83/redamon
agentmods
npx agentmods add skills/samugit83/redamon/mcp-server-tools

Made for: Claude Code, Codex.

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-server-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/samugit83/redamon/mcp-server-tools/github.svg)](https://agentmods.dev/skills/samugit83/redamon/mcp-server-tools)
Your own site
<a href="https://agentmods.dev/skills/samugit83/redamon/mcp-server-tools"><img src="https://agentmods.dev/badge/skills/samugit83/redamon/mcp-server-tools/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-server-tools

Your own site · 80×15
<a href="https://agentmods.dev/skills/samugit83/redamon/mcp-server-tools"><img src="https://agentmods.dev/badge/skills/samugit83/redamon/mcp-server-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,187 The whole file, excluding the scripts and references it only reads on demand.
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.00129 $0.02187
Opus 5.5 $0.00052 $0.00875
Sonnet 5.5 $0.00026 $0.00437
Haiku 4.5 $0.00013 $0.00219

Measured 16d ago against content hash 5153029b4bf5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-server-tools 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 16d 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.

skills/mcp-server-tools/SKILL.md · 140 lines

How it starts

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

When to Use

  • Adding, removing or renaming an inbound MCP tool, or changing its description, arguments, annotations or scopes.
  • Changing a token scope, its label or blurb, the expiry presets or the token prefix.

For a tool RedAmon's OWN agent calls (outbound, mcp/servers/), use agentic-tool-integration. For making a recon setting writable over MCP, use project-settings-cascade. The tools that exist are listed by the server itself and by the generated reference page, never by this skill.


Critical Rules

  • ALWAYS run npm run docs:mcp in webapp/ after any change this skill's trigger names, and commit MCP-API-Reference.md inside the redamon.wiki repo. A main-repo commit moves only the submodule pointer. The page is rendered by apiReference.ts; a hand edit is overwritten by the next run.
  • NEVER set destructiveHint: false on a tool that overwrites or aborts existing state. In the MCP spec false means only additive updates, and clients use it to decide when to ask the user first. No test checks this.
  • ALWAYS add an EXAMPLE_EXTRA_ARGS entry in apiReference.ts when a tool's body requires an argument its JSON Schema marks optional. The generated example sends only schema-required arguments, and the test calls every example.
  • ALWAYS give a new tool an ONBOARDING_PLAYBOOK entry and a capability area in playbook.ts. The Agent Onboarding pack is generated from the live tools/list, and a coverage test in onboarding.test.ts fails the moment a tool ships without whenToUse + gotchas, or sits in zero or two capability areas. Also decide whether any profile in profiles.ts should leansOn it; that half is editorial and is not enforced.
  • A tool that reads NO backend must be added to BACKEND_FREE_TOOLS in apiReference.test.ts. That file proves a tool's declared scopes are enough by calling it and expecting the generic database failure, because every Prisma model is mocked away. A tool derived purely from constants (describe_recon_settings, list_recon_presets) SUCCEEDS instead, and would otherwise read as a failure. Do not relax the assertion; name the tool.
  • When a capability flips from "cannot" to "can", sweep the old claims. Add the old claim's phrasing to STALE_CLAIMS in toolNameDrift.test.ts, and make sure every file carrying agent-facing strings is in its AGENT_FACING list: the "nothing here can mute" lines outlived the feature in server.ts and profiles.ts, which were outside it.
  • Keep agent op names out of agent-facing files. TOOL_SHAPED only knows the verbs it lists, so a new tool's verb goes there; an op literal such as list_muted or mute_many in an agent-facing file then reads as an unknown tool. Wrap ops in triageGraph.ts helpers instead.
  • Watch the bucket headroom. apiReference.test.ts calls every tool with ONE token inside one test. It raises the write and loop limits (MCP_RATE_WRITE_PER_MIN, MCP_RATE_LOOP_PER_MIN); a new tool on a tighter bucket (exec, query, start, compare) that overflows must raise that test's limit, not drop a call.
  • A tool behind a deployment switch is withdrawn at registration, and every test that lists tools stubs the switch on. The files that stub MCP_KALI_EXEC_ENABLED also stub AGENT_IN_THE_LOOP_ENABLED; a new switch joins both lists, or its tools vanish from tools/list, the counts and the generated reference.
  • A required ARRAY argument needs an EXAMPLE_EXTRA_ARGS entry. placeholderFor has no array branch, so the generated example would name no item (mute_findings' findingIds).
  • A new scope gates writes; reads go under an existing read scope. Every ScopeAccess in scopeCopy.ts is read or write except kali:exec, the one read-write scope. A tool that only reads what a write needs (get_finding_evidence for submit_finding_review) belongs under the read scope, so a read-only token can see what an agent would act on. A new scope also needs a registry permission whose mcpScopes names it (permissions.ts): every call keeps only the scopes the token's owner may use now (usableScopes, scopePermissions.ts), and an unmapped scope is never usable with the permissions switch on.
  • ALWAYS reach a project through assertMcpProjectAccess(ctx.token, projectId, level) (mcpAuth.ts). Pass the whole token (a bare user id never reaches a shared project) and the level of the permission behind the tool, as the app's route asks it; the default 'O' keeps the tool the owner's. The returned userId is the project's owner: the tenant of every graph, finding, mute and triage call, never ctx.token.userId (sharedTenant.test.ts). To tell the owner from a collaborator read mcpProjectAccess()'s access.level; an id comparison fails authzStaticGuard.test.ts (b54b78fe). The rest is the rbac-authz skill.
  • Order the body's checks: requireScope first, then no McpToolError before the first backend read. The apiReference test proves declared scopes by calling each example and expecting the mocked database failure; a refusal on the example's placeholder arguments ahead of that read looks like a scope gap. A tool that STARTS something checks access (and its own caps) before it spends a rate token, so a refused start costs the caller nothing.
  • Free text a caller writes goes in UNAUDITED_ARGS in server.ts. auditDetail copies every other string argument into the audit row, which also prints as a console line; a quote is target text, and a reason is recorded, better, by the tool that owns it.

Read the full file on GitHub · 140 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. 16d ago Changed · +12 lines 5153029b4bf5
  2. 27d ago Changed · +5 lines ac015e42a882
  3. 2mo ago Changed · +28 lines dff8a499a8bf
  4. 2mo ago First seen · 95 lines · 129 tokens per session scan A 6338bf41bbf5

Subscribe to this mod's changes

mcp-server-tools is a skill published in the GitHub repository samugit83/redamon (3,553 stars, last pushed yesterday), licensed MIT. It adds 129 tokens to every session and 2,187 once invoked, about $0.0005 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-09-15.

Related

mcp-server-tools compared with skills from other repositories

mcp-server-tools next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-server-toolssamugit83/redamonSkill3.6kyesterdayMITA129Claude Code, Codex
hunt-api-misconfigelementalsouls/Claude-BugHunterSkill28kyesterdayMITA207Claude Code
stripe-docsstripe/aiSkill2.1k5d agoMITA46Claude Code
detecting-api-enumeration-attacksxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A32Claude Code, Codex
exploiting-broken-function-level-authorizationxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A108Claude Code, Codex
exploiting-excessive-data-exposure-in-apixalgorix/xalgorixSkill1.5kyesterdayApache-2.0A114Claude Code, Codex
implementing-api-rate-limiting-and-throttlingxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A114Claude Code, Codex