Skip to main content
Glama
local-tools-mcp-server

local-tools-mcp-server

by fenhuayue

local-tools-mcp-server

A minimal, production-ready MCP server that gives AI assistants access to local file system tools — file search, directory listing, system info, and file metadata.

Built for WorkBuddy and any MCP-compatible client.

Tools

Tool

Description

localtools_search_files

Search files by name pattern / extension with recursive depth control

localtools_system_info

OS, CPU, memory, uptime, user, Node.js version

localtools_list_directory

List directory contents with pagination and hidden-file toggle

localtools_get_file_info

File/directory metadata + text file preview (first 1000 bytes)

All tools are read-only. No files are ever created, modified, or deleted.

Related MCP server: ab_mcp

Quick Start

Prerequisites

  • Node.js >= 18

  • npm >= 9

Install & Build

git clone https://github.com/YOUR_USERNAME/local-tools-mcp-server.git
cd local-tools-mcp-server
npm install
npm run build

Configure in WorkBuddy

Add to ~/.workbuddy/mcp.json:

{
  "mcpServers": {
    "local-tools": {
      "command": "node",
      "args": ["E:/path/to/local-tools-mcp-server/dist/index.js"]
    }
  }
}

Then activate the connector in WorkBuddy's Connector Management page.

Configure in Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "local-tools": {
      "command": "node",
      "args": ["/path/to/local-tools-mcp-server/dist/index.js"]
    }
  }
}

Usage Examples

Once connected, the AI can use these tools naturally:

"Search my D drive for all .py files, max depth 5"

"How much free memory does my system have?"

"List the contents of my Downloads folder"

"Get info on C:\projects\config.json"

Project Structure

local-tools-mcp-server/
├── src/
│   └── index.ts          # All 4 tools + server entry point (~730 lines)
├── dist/                 # Compiled JS output (gitignored)
├── package.json
├── tsconfig.json
└── README.md

Tech Stack

  • Runtime: Node.js

  • Language: TypeScript

  • Validation: Zod

  • Protocol: MCP TypeScript SDK

  • Transport: stdio (local process, zero network config)

Security

  • All file system access is read-only

  • Paths are resolved and validated before any operation

  • Permission errors are caught and reported gracefully

  • No external dependencies beyond the MCP SDK and Zod

License

MIT

Available Tools

1 tool
localtools_system_infoGet System InformationA
Read-onlyIdempotent

Retrieve basic system information including OS, CPU, memory, uptime, and user details.

Useful for understanding the environment the AI is running in. All information is read-only and comes from the Node.js os module.

Args:

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

Returns:

  • OS type, platform, release version

  • CPU model and core count

  • Total and free memory

  • System uptime

  • Current user and home directory

  • Hostname

Inputs: response_format.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no ambiguity. The tool's purpose is clearly defined.

    Naming Consistency5/5

    Single tool name is consistent with itself, using a clear snake_case pattern. No inconsistency to evaluate.

    Tool Count2/5

    The server name 'local-tools-mcp-server' implies multiple tools, but only one is provided. This feels thin for the apparent scope.

    Completeness2/5

    The single tool covers basic system info, but the domain of 'local tools' is much broader. Obvious gaps exist (e.g., file operations, process management).

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A lightweight, stdio-based MCP server enabling AI assistants to perform local file system operations like reading, writing, searching, and executing commands.
      5,198 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A file system MCP server that confines AI assistant file tools to a single folder, with read-only by default and optional write access.
      7
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      A read-only MCP server that exposes a local code workspace to AI clients via stdio, providing file browsing and text search capabilities with path safety rules.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A read-only MCP server for code reading with intelligent caching, line-range selection, and language detection, enabling AI assistants to efficiently and safely explore file systems.
      197 PyPI
      MIT