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

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Native · 94/100Policy: allow
Agent surface
Any MCP/CLI agent
Kind
Mcp
Install
Binary|Mcp
Trust
Trust: Established
Entrypoint
agent-tool install --safe-approve
Universal CLI install command
npx tokrepo install ecce188d-d7be-5c01-995d-256baccaf7ed
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