Skip to main content
Glama

MCP Filesystem Server

MIT License
42
  • Apple
  • Linux

compare_files

Identify differences between two text files by providing file paths, encoding, and output format ('text' or 'json') for clear comparison results on the MCP Filesystem Server.

Instructions

Compare two text files and show differences.

Args: file1: First file path file2: Second file path encoding: Text encoding (default: utf-8) format: Output format ('text' or 'json') ctx: MCP context Returns: Comparison results

Input Schema

NameRequiredDescriptionDefault
encodingNoutf-8
file1Yes
file2Yes
formatNotext

Input Schema (JSON Schema)

{ "properties": { "encoding": { "default": "utf-8", "title": "Encoding", "type": "string" }, "file1": { "title": "File1", "type": "string" }, "file2": { "title": "File2", "type": "string" }, "format": { "default": "text", "title": "Format", "type": "string" } }, "required": [ "file1", "file2" ], "title": "compare_filesArguments", "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/safurrier/mcp-filesystem'

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