mcp-server-tools
Skill2.9k starsChanged 9 months agoMITView on GitHub
Adding, removing or changing a tool on RedAmon's INBOUND MCP server, where external agents connect in with a personal access token. The wiki API reference is generated from the server's live tools/list and goes stale silently, and each tool's annotations and declared scopes are published to connected clients. Trigger: editing a registerTool call in webapp/src/lib/mcp/server.ts; editing tools.ts, writeTools.ts, scopeCopy.ts or apiReference.ts in webapp/src/lib/mcp/; changing the scope list, default scopes, expiry presets or token prefix in webapp/src/lib/mcpAuth.ts.
Trending
More talk lately.thin dataabout the whole repository
Who's talking about samugit83/redamon
- @agentwire.thecompound.tech“https://github.com/samugit83/redamon more like this: https://agentwire.thecompound.tech/aw/s7ukpg”Bluesky · Oct 2, 2026 · 1 likes
- raphabot/awesome-cybersecurity-agentic-ai“Add RedAmon to Tools”GitHub · Oct 1, 2026
- kyrolabs/awesome-langchain“Add RedAmon to Agents”GitHub · Oct 1, 2026
- enaqx/awesome-pentest“Add RedAmon to Multi-paradigm Frameworks”GitHub · Oct 1, 2026
- The-Art-of-Hacking/h4cker“Add RedAmon to AI Agentic Tools for Cybersecurity”GitHub · Oct 1, 2026
The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 7
Talked about on GitHub and Bluesky (7 times).
On GitHub · 6
- Oct 1, 2026Add RedAmon to Tools — raphabot/awesome-cybersecurity-agentic-ai0 reactions
- Oct 1, 2026Add RedAmon to Agents — kyrolabs/awesome-langchain0 reactions
- Oct 1, 2026Add RedAmon to Multi-paradigm Frameworks — enaqx/awesome-pentest0 reactions
- Oct 1, 2026Add RedAmon to AI Agentic Tools for Cybersecurity — The-Art-of-Hacking/h4cker0 reactions
- Oct 1, 2026Add RedAmon to Pentest & Red-Team Agents — scadastrangelove/awesome-ai-security-tools0 reactions · 1 comment
1 more on GitHub
- Jun 6, 2026[Add] RedAmon (samugit83/redamon) — PyTorchKR/landscape0 reactions
On Bluesky · 1
- Oct 2, 2026https://github.com/samugit83/redamon more like this: https://agentwire.thecompound.tech/aw/s7ukpg — @agentwire.thecompound.tech1 likes and repost
In this repository24 other files it gives its agents.
- agentic/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- recon/AGENTS.mdAGENTS.md
- recon_orchestrator/AGENTS.mdAGENTS.md
- webapp/AGENTS.mdAGENTS.md
- agentic/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- recon/CLAUDE.mdCLAUDE.md
- recon_orchestrator/CLAUDE.mdCLAUDE.md
- webapp/CLAUDE.mdCLAUDE.md
- add-community-skillSkill
- add-partial-reconSkill
- agentic-tool-integrationSkill
- builtin-agent-skillSkill
- graph-db-writesSkill
- llm-provider-integrationSkill
- orchestrator-container-spawnSkill
- priority-board-triageSkill
- project-settings-cascadeSkill
- recon-ai-enrichmentSkill
- recon-tool-integrationSkill
- redamon-testingSkill
- supply-chain-scanSkill
- traffic-captureSkill
The file
Files
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:mcpinwebapp/after any change this skill's trigger names, and commitMCP-API-Reference.mdinside theredamon.wikirepo. 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: falseon a tool that overwrites or aborts existing state. In the MCP specfalsemeans only additive updates, and clients use it to decide when to ask the user first. No test checks this. - ALWAYS add an
EXAMPLE_EXTRA_ARGSentry 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_PLAYBOOKentry and a capability area in playbook.ts. The Agent Onboarding pack is generated from the livetools/list, and a coverage test in onboarding.test.ts fails the moment a tool ships withoutwhenToUse+ gotchas, or sits in zero or two capability areas. Also decide whether any profile in profiles.ts shouldleansOnit; that half is editorial and is not enforced. - A tool that reads NO backend must be added to
BACKEND_FREE_TOOLSin 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_CLAIMSin toolNameDrift.test.ts, and make sure every file carrying agent-facing strings is in itsAGENT_FACINGlist: the "nothing here can mute" lines outlived the feature inserver.tsandprofiles.ts, which were outside it. - Keep agent op names out of agent-facing files.
TOOL_SHAPEDonly knows the verbs it lists, so a new tool's verb goes there; an op literal such aslist_mutedormute_manyin an agent-facing file then reads as an unknown tool. Wrap ops in triageGraph.ts helpers instead. - Watch the
writebucket headroom. apiReference.test.ts calls every tool with ONE token inside one test, against thewritelimit (10/min by default). A new write tool that overflows it must raise that test's limit, not drop a call. - A required ARRAY argument needs an
EXAMPLE_EXTRA_ARGSentry.placeholderForhas 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
ScopeAccessin scopeCopy.ts isreadorwriteexceptkali:exec, the oneread-writescope. A tool that only reads what a write needs (get_finding_evidenceforsubmit_finding_review) belongs under the read scope, so a read-only token can see what an agent would act on. - Order the body's checks:
requireScopefirst, then noMcpToolErrorbefore 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_ARGSin server.ts.auditDetailcopies 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.
Pattern: registering a tool
Copy the shape of an existing registerTool call in
server.ts: annotations,
_meta: scopesMeta({ required, conditional }) naming exactly the scopes the tool body
enforces with requireScope, and inputSchema. A scope that applies only to a
particular argument goes under conditional, and the arguments that trigger it need a
CONDITIONAL_TRIGGERS entry in
apiReference.test.ts.
Commands
cd webapp
npm run docs:mcp # rewrites ../redamon.wiki/MCP-API-Reference.md
npx vitest run src/lib/mcp/ # scope, example-call, onboarding-coverage and stale-page checks
cd ../redamon.wiki
git add MCP-API-Reference.md
git commit -m "docs: regenerate MCP API reference"Resources
- MCP-Server.md, section "Regenerating the API reference" - what the page is built from, and the stale-page test
- README.MCP.SERVER.md - security model, settings allowlist, deploy wiring; §3.1-3.2 cover Agent Profiles (never an authorization input) and how the onboarding pack is generated
- Related skills:
agentic-tool-integration,project-settings-cascade,redamon-testing
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

