local-tools-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@local-tools-mcp-serverSearch for .pdf files in my Documents folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
| Search files by name pattern / extension with recursive depth control |
| OS, CPU, memory, uptime, user, Node.js version |
| List directory contents with pagination and hidden-file toggle |
| 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 buildConfigure 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.mdTech 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 toollocaltools_system_infoGet System InformationARead-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
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate readOnlyHint, idempotentHint, and destructiveHint. The description adds explicit detail: 'All information is read-only and comes from the Node.js os module.' This reinforces the annotations and provides source context, though there is no additional behavioral nuance beyond what annotations already cover.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a clear lead sentence, a usage sentence, and separated Args and Returns sections. It is concise without extraneous text, though the Returns section could be slightly more streamlined. It earns a 4 for good structure and front-loading of purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only tool with one optional parameter and no output schema, the description fully covers the return values by listing all expected fields (OS, CPU, memory, etc.). It also explains the source and behavior. There are no gaps given the tool's simplicity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with a description for the single parameter. The description repeats the parameter meaning ('Output format: markdown or json') in the Args section. This adds no new meaning beyond the schema, so a baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it retrieves basic system information (OS, CPU, memory, etc.) with a specific verb 'Retrieve'. It distinguishes the tool's purpose from any siblings (none present) and covers the full scope of what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides a clear usage context: 'Useful for understanding the environment the AI is running in.' While it doesn't explicitly state when not to use it or list alternatives, there are no sibling tools to compare against, so this is sufficient guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
v1.0.0- First observed
localtools_system_info
TDQS
With only one tool, there is no ambiguity. The tool's purpose is clearly defined.
Single tool name is consistent with itself, using a clear snake_case pattern. No inconsistency to evaluate.
The server name 'local-tools-mcp-server' implies multiple tools, but only one is provided. This feels thin for the apparent scope.
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Read-only MCP server exposing a user ORANO library to their own AI agent.
1An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA lightweight, stdio-based MCP server enabling AI assistants to perform local file system operations like reading, writing, searching, and executing commands.5,122MIT
- AlicenseAqualityCmaintenanceA file system MCP server that confines AI assistant file tools to a single folder, with read-only by default and optional write access.7MIT
- FlicenseBqualityCmaintenanceA 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-
- AlicenseNot gradedqualityBmaintenanceA 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.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/fenhuayue/local-tools-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server