Agent Tool logo

Agent Tool

by knewstimek

Encoding-aware file editing, remote access, process control, databases, debugging, and reverse-engineering tools for coding agents.

Install Agent Tool

Run the project’s own setup commands, in order.

Setup steps from the project

knewstimek/agent-tool installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    agent-tool install
    
  2. 2. Install
    agent-tool install --safe-approve
    
  3. 3. Install
    agent-tool install --no-auto-approve
    
  4. 4. Add to your MCP client
    agent-tool install claude
    
  5. 5. Run
    agent-tool install claude --safe-approve
    
  6. 6. Install
    go build -trimpath -ldflags="-s -w" -o agent-tool .
    

Overview

knewstimek/agent-tool bundles encoding-aware file operations, process management, remote SSH/SFTP access, network utilities, database queries, debugging, and binary analysis behind MCP. Its read, write, edit, patch, and search tools preserve encodings, line endings, and project indentation conventions such as tabs versus spaces. Profiles expose a smaller tool schema by default, while the toolbox can load individual operations on demand for clients with fixed tool bindings. Reach for it when an agent needs more than basic file editing, especially in legacy-encoding projects, remote environments, or reverse-engineering workflows.

Use cases

  • Edit legacy EUC-KR or Shift-JIS files without changing their encoding
  • Run commands and manage processes on local or remote systems
  • Transfer files and inspect remote hosts over SSH and SFTP
  • Query MySQL, MariaDB, Redis, JSON, YAML, and TOML data
  • Debug programs or inspect compiled binaries through agent tools

Key features

  • Encoding- and indentation-aware file editing
  • Bounded, pageable reads and searches
  • SSH, SFTP, persistent shell, and process management
  • HTTP, download, DNS, TLS, and port diagnostics
  • MySQL and Redis query tools
  • DAP debugging and static binary analysis

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 110d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars26Stargazers on the source repository.
Last commit2d agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Agent Tool works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agent Tool

knewstimek/agent-tool is an MCP server that connects AI coding agents to local files, processes, shells, remote SSH/SFTP hosts, HTTP services, MySQL/MariaDB, Redis, debuggers, and binaries. Its main tools cover encoding-aware read/write/edit operations, command execution, remote file transfer, database queries, debugging, and static analysis.

It detects and retains supported file encodings during reads and edits, including UTF-8, EUC-KR, Shift-JIS, and GB18030. Its editing tools also preserve line endings and can convert indentation to match the file’s existing style. A separate conversion tool handles deliberate encoding changes and BOM operations.

knewstimek/agent-tool supports Claude Code, Codex CLI, Cursor, Windsurf, Cline, Gemini CLI, and other MCP-compatible agents. Its toolbox can load individual operation schemas on demand, which also supports clients with fixed tool bindings such as Codex.

Yes. SSH runs remote commands and supports background jobs, host-key verification, ProxyJump, IPv6, and pooled authentication-aware sessions. SFTP reuses SSH sessions to upload, download, list, inspect, create, remove, change permissions, and rename remote files, with transfers capped at 2 GB.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgent Tool AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/knewstimek-agent-tool?style=directory)](https://allmcps.com/mcp/knewstimek-agent-tool)
HTML Embed
<a href="https://allmcps.com/mcp/knewstimek-agent-tool"><img src="https://allmcps.com/api/badge/knewstimek-agent-tool?style=directory" alt="Agent Tool on AllMCPs" /></a>