35 releases (4 breaking)
Uses new Rust 2024
| new 0.5.0 | May 21, 2026 |
|---|---|
| 0.3.9 | May 1, 2026 |
| 0.3.1 | Mar 27, 2026 |
| 0.1.3 | Dec 27, 2025 |
#942 in Filesystem
26 downloads per month
Used in 2 crates
(via agentic-tools-registry)
1MB
26K
SLoC
coding_agent_tools
CLI + MCP tools for coding assistants. First tool: ls (gitignore-aware directory listing).
Installation
cargo install --path .
Usage
CLI Mode
# List current directory (depth 1)
coding-agent-tools ls
# List with options
coding-agent-tools ls --path src --depth 2 --show files --hidden
# Add custom ignore patterns
coding-agent-tools ls --ignore "*.log" --ignore "tmp/"
MCP Mode
coding-agent-tools mcp
Exposes the ls tool via MCP protocol for AI coding agents.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
path |
string | . |
Directory to list |
depth |
0-10 | 1 | 0=header only, 1=children, 2+=tree |
show |
all/files/dirs | all | Filter by type |
ignore |
string[] | [] | Additional glob patterns to ignore |
hidden |
bool | false | Include hidden files |
Features
- Gitignore-aware (respects .gitignore files)
- Built-in ignore patterns for common directories (node_modules, target, etc.)
- Implicit pagination for MCP (call again with same params for next page)
- Sorted output (directories first for
show=all)
Dependencies
~58–85MB
~1.5M SLoC