MCP ConfigsMay 13, 2026·2 min read

agent-tool — Encoding-Safe MCP Tools for Agents

agent-tool is an MCP tool server with encoding-aware, indentation-safe file tools and an `install` command for Claude Code, Codex, Cursor, and more.

Agent ready

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 17/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
Mcp Config
Install
Stage only
Trust
Trust: Established
Entrypoint
Asset
Safe staging command
npx -y tokrepo@latest install ecce188d-d7be-5c01-995d-256baccaf7ed --target codex

Stages files first; activation requires review of the staged README and plan.

Intro

agent-tool is an MCP tool server with encoding-aware, indentation-safe file tools and an install command for Claude Code, Codex, Cursor, and more.

Best for: repos with mixed encodings or strict indentation rules (tabs/.editorconfig)

Works with: any MCP-capable agent; auto-install supports Claude Code/Codex/Cursor/Cline (per README)

Setup time: 5-12 minutes

Key facts (verified)

  • GitHub: 17 stars · 2 forks · pushed 2026-05-05.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-verified entrypoint: agent-tool install --safe-approve.

Main

  • Use agent-tool install --safe-approve to register with detected agents while limiting auto-approval to local file tools (README lists the safety tiers).

  • When encoding matters (EUC-KR / Shift-JIS / GB18030), set a fallback encoding via --fallback-encoding or env var as shown in README.

  • Treat it as a tool unifier: README frames it as bundling many tools into one install so agents stop reconfiguring per-project utilities.

Source-backed notes

  • README lists auto-install commands: agent-tool install, --safe-approve, and --no-auto-approve.
  • README includes manual MCP config examples for Claude Code/Cursor/Codex (mcpServers JSON or [mcp_servers.*] TOML).
  • README explains it addresses indentation and encoding corruption issues in built-in file tools.

FAQ

  • Is safe mode recommended?: README recommends --safe-approve when you only want local file tools auto-approved.
  • Can I configure it manually?: Yes — README shows JSON/TOML examples for different clients.
  • How do I handle non-UTF-8 repos?: Set --fallback-encoding or AGENT_TOOL_FALLBACK_ENCODING as shown in README.
🙏

Source & Thanks

Source: https://github.com/knewstimek/agent-tool > License: MIT > GitHub stars: 17 · forks: 2

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets