# knewstimek/agent-tool [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/knewstimek/agent-tool  
**GitHub Stars:** 26  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/knewstimek-agent-tool

## Description
Encoding-aware, indentation-smart file tools for AI coding agents. 20+ tools including read/edit with automatic encoding detection, smart indentation conversion, SSH, SFTP, process management, and system utilities. Preserves file encoding (UTF-8, EUC-KR, ShiftJIS, etc.) and respects .editorconfig settings.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/knewstimek/agent-tool), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
agent-tool install
```

2. Install:

```sh
agent-tool install --safe-approve
```

3. Install:

```sh
agent-tool install --no-auto-approve
```

4. Add to your MCP client:

```sh
agent-tool install claude
```

5. Run:

```sh
agent-tool install claude --safe-approve
```

6. Install:

```sh
go build -trimpath -ldflags="-s -w" -o agent-tool .
```

## Documentation

## What knewstimek/agent-tool does

knewstimek/agent-tool is an MCP tool server for AI coding agents. It combines file manipulation, shell and process control, remote administration, network requests, database access, debugging, and static binary analysis in one executable. The file tools are designed for projects where ordinary agent edits can cause damage: they detect encodings such as UTF-8, EUC-KR, Shift-JIS, and GB18030, preserve line endings, and convert indentation to match the surrounding file.

Its file set includes read, write, edit, patch, diff, grep, glob, directory listing, metadata, checksums, encoding conversion, copy, rename, deletion, directory creation, multi-file reads, and regular-expression replacement. Read and search responses are bounded and expose continuation information when results are truncated. Configuration files can be queried by dot-notation paths in JSON, YAML, or TOML without loading the entire document into context.

## How it works

The server exposes profiles such as `core-lite`, `core`, `coding`, `remote`, `analysis`, and `full`. The smaller profiles reduce the number of schemas sent to the model. In particular, `core-lite` focuses on reading, writing, editing, searching, and the toolbox. The `toolbox` can describe one operation, return a schema handle, and then invoke that operation with compact arguments. This approach supports clients that do not dynamically refresh their tool list.

Responses that may contain substantial text default to a 32K-character limit and have a 128K ceiling. Pageable operations return a continuation offset or cursor, and truncation is reported. Relative paths use an explicit workspace and then the MCP client root.

## Tools and capabilities

- **Local development:** Execute commands with `ProcExec`, maintain persistent shell sessions with `Bash`, inspect processes with `ProcList`, and kill, suspend, or resume them with `ProcKill`.
- **Remote work:** Run commands through `SSH`, transfer and manage files through `SFTP`, and convert local private keys with `SSHKey`. SSH supports host-key verification, ProxyJump, IPv6, pooled sessions, and background jobs.
- **Web and networking:** Download files, make HTTP requests, inspect DNS and TLS details, check ports, and retrieve an external IP. Download and HTTP request operations include SSRF protection; downloads support HTTP/SOCKS5 proxies and atomic writes.
- **Data services:** Query MySQL or MariaDB with bounded tabular output and execute Redis commands with formatted responses and blocked dangerous commands.
- **Analysis and debugging:** Use the DAP-based `Debug` tool with compatible adapters, including dlv, debugpy, and codelldb, and use `Analyze` for static binary-analysis tasks such as disassembly, decompilation, function detection, and cross-references.

## Limitations and notes

File, search, process, and network responses are deliberately bounded, so callers may need to follow returned cursors or offsets. SFTP and downloads support transfers up to 2 GB. Shell sessions are pooled with a maximum of five sessions and a 30-minute idle timeout. The debugger depends on a DAP-compatible adapter; the documented tested adapters include dlv, debugpy, and codelldb. Microsoft’s vsdbg requires VS Code licensing and is not usable as a standalone adapter.

SSH key conversion writes files with mode 0600 and does not return key material. Sensitive process arguments are masked automatically. Destructive file and process operations, along with several file mutations, provide dry-run or preview modes where supported.

_Full upstream README: https://allmcps.com/mcp/knewstimek-agent-tool/readme_

