file-tools-mcp CLAUDE.md

Project instructions for an MCP file-tools server, including coding guidance, project structure, available tools, and how to inspect the current directory.

In plain words
What is it for?
Use them when implementing or updating the file-tools MCP server, especially when reviewing its structure or reading several files.
Why use it?
They give a coding agent the project context and working rules it needs before changing the server.

Instructions file

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 instructions/bumpyclock/file-tools-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/BumpyClock/file-tools-mcp
Per session 996 This file is loaded in full into every session.
When invoked 996 The same file — it is already loaded in full.
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.00996 $0.00996
Opus 5 $0.00498 $0.00498
Sonnet 5 $0.00199 $0.00199
Haiku 4.5 $0.00100 $0.00100

Measured yesterday against content hash 0e46b91675cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

file-tools-mcp CLAUDE.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 yesterday.

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.

CLAUDE.md · 147 lines

How it starts

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

CLAUDE.md

please follow the coding guidance mentioned in ~/.claude/docs/writing-code.md Follow additional guidance mentioned in ~/.claude/docs/python.md & ~/.claude/docs/using-uv.md

Use the available MCP tools for searching up the latest documentation on MCP server implementation and follow the best practices outlined there. We will be using the official python-sdk for MCP servers. Use context7 mcp server to get the latest documentation and examples when implementing the server.

Project Overview

This is an MCP (Model Context Protocol) server implementation for file tools. The goal is provide tools to LLMs and coding agents to quickly get context of a project by getting project structure and contents of multiple files in a single request.

Available Tools

project_structure

Generates a tree view of a directory structure while respecting .gitignore patterns.

Parameters:

  • path (str, optional): Directory path to analyze (default: current working directory)
  • max_depth (int, optional): Maximum depth to traverse (default: None for unlimited)
  • show_hidden (bool, optional): Include hidden files and directories (default: False)

Example usage:

# Get structure of current directory
result = await session.call_tool("project_structure", {})

# Get structure with depth limit
result = await session.call_tool("project_structure", {
    "path": "/path/to/project",
    "max_depth": 3
})

# Include hidden files
result = await session.call_tool("project_structure", {
    "show_hidden": True
})

read_multiple_files

Reads multiple files and returns their contents in a single response with clear separation.

Parameters:

  • paths (list[str], required): List of file paths to read (absolute or relative paths)

Features:

  • Each file's content is clearly separated with headers showing the file path and size
  • Handles errors gracefully (file not found, permission denied, binary files)
  • Returns all results in a single response for efficient LLM processing

Read the full file on GitHub · 147 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. yesterday First seen · 147 lines · 996 tokens per session scan A 0e46b91675cb

Subscribe to this mod's changes

file-tools-mcp CLAUDE.md is an instructions file published in the GitHub repository BumpyClock/file-tools-mcp (0 stars, last pushed 1y ago), licensed MIT. It adds 996 tokens to every session, about $0.0050 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-31.