dfireballz / mcp-servers
CLAUDE.md4 starsChanged 9 months agoMITView on GitHub
Every server.py follows this structure: Server code is volume-mounted read-only. Restart the container to pick up changes: No image rebuild needed unless you modify a Dockerfile.
In this repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- complete-investigationSkill
- full-investigationSkill
- incident-responseSkill
- malware-analysisSkill
- memory-forensicsSkill
- network-forensicsSkill
- osint-domainSkill
- osint-personSkill
- phishing-investigationSkill
- ransomware-investigationSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
All subprocess calls MUST use subprocess.run(args_list, shell=False) — never shell=True
- Distinctive: line 6
All tool inputs MUST be validated with Pydantic models
- Very specific: line 7
All evidence access MUST create a chain_of_custody_log entry via the orchestrator API
- Very specific: line 8
All servers MUST use mcp.run(transport="stdio") — no HTTP, no SSE
- Very specific: line 9
Never log API keys or secrets — use * masking if you must log key presence
- Very specific: line 13
Every server.py follows this structure:
- Distinctive: line 35
No image rebuild needed unless you modify a Dockerfile.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
MCP Servers — Directory Rules
Mandatory
- All subprocess calls MUST use
subprocess.run(args_list, shell=False)— nevershell=True - All tool inputs MUST be validated with Pydantic models
- All evidence access MUST create a
chain_of_custody_logentry via the orchestrator API - All servers MUST use
mcp.run(transport="stdio")— no HTTP, no SSE - Never log API keys or secrets — use
***masking if you must log key presence
Server Pattern
Every server.py follows this structure:
from fastmcp import FastMCP
mcp = FastMCP("server-name")
@mcp.tool()
def tool_name(param: str) -> str:
"""Tool description."""
result = subprocess.run([...], shell=False, capture_output=True, text=True)
return result.stdout
if __name__ == "__main__":
mcp.run(transport="stdio")Testing Changes
Server code is volume-mounted read-only. Restart the container to pick up changes:
make restart-<service> # e.g. make restart-kaliNo image rebuild needed unless you modify a Dockerfile.
Path Conventions
- Evidence:
/evidence/(read-only) - Cases:
/cases/(read-write) - Reports:
/reports/(read-write) - Output:
/output/(read-write — host-visible investigation output)
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.

