File Tools Server
FreeNot checkedProvides file system operations (read, search, list) and time queries, enabling Claude to interact with files and get time in any timezone.
About
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_commandtool 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]
Installing File Tools Server
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/ivmarcos/ai-article-build-mcp-server-claudeFAQ
Is File Tools Server MCP free?
Yes, File Tools Server MCP is free — one-click install via Unyly at no cost.
Does File Tools Server need an API key?
No, File Tools Server runs without API keys or environment variables.
Is File Tools Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install File Tools Server in Claude Desktop, Claude Code or Cursor?
Open File Tools Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare File Tools Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
