Skip to main content
Glama

Claude Desktop Commander MCP

by StrawHatAI

edit_block

Perform precise text replacements in files using diff-based edits. Specify search and replace blocks to modify content, with automatic verification after changes. Ideal for small, targeted file updates.

Instructions

Apply surgical text replacements to files. Best for small changes (<20% of file size). Multiple blocks can be used for separate changes. Will verify changes after application. Format: filepath, then <<<<<<< SEARCH, content to find, =======, new content, >>>>>>> REPLACE.

Input Schema

NameRequiredDescriptionDefault
blockContentYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "blockContent": { "type": "string" } }, "required": [ "blockContent" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/StrawHatAI/claude-dev-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server