Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

File Tools Server

БесплатноНе проверен

Provides file system operations (read, search, list) and time queries, enabling Claude to interact with files and get time in any timezone.

GitHubEmbed

Описание

Provides file system operations (read, search, list) and time queries, enabling Claude to interact with files and get time in any timezone.

README

An MCP (Model Context Protocol) server that provides file system and utility tools for Claude.

Features

Tools

  • get_time: Get current time in any timezone
  • search_files: Search for files by pattern in a directory
  • read_file: Read file contents (with optional line limit)
  • list_directory: List directory contents
  • file_info: Get detailed file/directory information
  • run_command: Run safe shell commands (limited set)

Resources

  • env://system: System and environment information

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

npm install

Usage

Development

npm run dev

Production

npm run build
npm start

Testing with Inspector

npm run inspect

This opens a web UI to test your tools interactively.

Connecting to Claude

Claude Code

Add to ~/.claude/config.json:

{
  "mcpServers": {
    "file-tools": {
      "command": "npx",
      "args": ["tsx", "/absolute/path/to/src/index.ts"]
    }
  }
}

Claude Desktop

Add to your Claude Desktop config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "file-tools": {
      "command": "npx",
      "args": ["tsx", "/absolute/path/to/src/index.ts"]
    }
  }
}

Example Prompts

Once connected, try these with Claude:

  • "What time is it in Tokyo?"
  • "Find all TypeScript files in my project"
  • "Read the package.json file"
  • "Show me what's in the src directory"
  • "Get info about this file: ./tsconfig.json"

Project Structure

├── src/
│   └── index.ts     # Main MCP server
├── package.json
├── tsconfig.json
└── README.md

Technologies

  • @modelcontextprotocol/sdk: Official MCP SDK
  • Zod: Schema validation
  • TypeScript: Type safety

Security Notes

  • The run_command tool only allows a whitelist of safe commands
  • File operations are limited to what the process has permission to access
  • Consider running with appropriate permissions in production

License

MIT

Article

Read the full tutorial: [Link to Medium article]

from github.com/ivmarcos/ai-article-build-mcp-server-claude

Установка File Tools Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/ivmarcos/ai-article-build-mcp-server-claude

FAQ

File Tools Server MCP бесплатный?

Да, File Tools Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для File Tools Server?

Нет, File Tools Server работает без API-ключей и переменных окружения.

File Tools Server — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить File Tools Server в Claude Desktop, Claude Code или Cursor?

Открой File Tools Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare File Tools Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai