25 releases
Uses new Rust 2024
| new 0.3.5 | Apr 15, 2026 |
|---|---|
| 0.3.4 | Apr 13, 2026 |
| 0.3.1 | Mar 27, 2026 |
| 0.2.9 | Mar 26, 2026 |
| 0.1.3 | Dec 27, 2025 |
#944 in Filesystem
Used in 2 crates
(via agentic-tools-registry)
1MB
24K
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
~49–76MB
~1.5M SLoC