mcp-tool-control

v1.3.1
mcp-tool-control Checked 1 day ago Published 1 month ago

A small TypeScript MCP foundation for controlled tool execution.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

inspect-text

Inspect text without changing external state. Returns bounded structural metadata and never returns the submitted text.

ParameterTypeDescription
text *stringText to inspect (maximum 100,000 characters)

plan-changes

Build a reviewable file-change plan without writing to disk. Returns proposed writes, conflicts, and an announcement so a host can request approval before applying changes.

ParameterTypeDescription
description *stringShort, human-readable description of what this plan accomplishes.
files *arrayFiles to write. Paths are interpreted relative to the target repo root.
existing_filesarrayCurrent contents of any files in `files` that already exist in the target repo.
suggested_commitstringSuggested commit message the host can show alongside the diff.

apply-changes

Request execution of a pending change plan. The server independently verifies trusted approval before accepting the request.

ParameterTypeDescription
plan_id *stringIdentifier returned by plan-changes