Local-Workspace-MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Local-Workspace-MCP
A local, policy-controlled MCP server that gives AI assistants and agents explicitly authorized access to selected files and developer resources on a Windows workstation.
Status: Early foundation implementation. The initial server exposes read-only filesystem tools. Write, delete, Git, terminal, and PowerShell capabilities are not enabled yet.
Product plan and project direction
The agreed target is an independent Windows desktop application with its own management UI and a separately executable MCP Core. It must remain usable without ParsSynapse Chat or any other specific MCP client. External compatible MCP clients can launch the Core directly over stdio.
The product plan is documented here:
Product Blueprint — product vision, scope, screens, security boundaries, and acceptance criteria.
UI/UX Specification — navigation, screen behavior, workflows, and required UI states.
Implementation Roadmap — current baseline, delivery phases, and acceptance gates.
Architecture Decision Records — durable decisions and open technical validations.
Desktop Architecture — Electron security model, IPC contracts, policy persistence, process lifecycle, and delivery sequence.
Desktop UI Prototype — run instructions and prototype limitations.
Core Architecture — logical server components and security design.
Security Policy — vulnerability reporting and security requirements.
These documents describe the intended product. They do not imply that planned UI, desktop management, mutation tools, or future modules have already been implemented. Update the roadmap as implementation is verified.
Related MCP server: File Context MCP Server
Features in this foundation
MCP over local stdio; no network listener.
Explicit workspace roots and capability-based authorization.
Read-only tools:
list_files,read_file,get_file_info, andsearch_files.Canonical path validation and symlink/reparse-point escape checks.
Bounded file size, search depth, and result count.
Audit events written to stderr so stdout remains reserved for MCP JSON-RPC.
CI checks for type safety, lint, tests, build, dependency audit, and CodeQL.
Requirements
Node.js 22 or later
npm 10 or later
Local setup
npm install
Copy-Item config/permissions.example.json config/permissions.jsonEdit config/permissions.json and replace the sample root with a real, existing absolute directory. Grant only the capabilities you need. The initial implementation supports list, read, search, and metadata.
Start the server:
npm run devThe process waits for an MCP client over stdin/stdout. Do not type ordinary commands into the server terminal while it is running.
For a non-default configuration path:
$env:LWMCP_CONFIG = "F:\\AI-Config\\local-workspace-mcp.json"
npm run devMCP tools
Tool | Description |
| List direct entries in an authorized directory |
| Read a bounded UTF-8 text file |
| Read limited file/directory metadata |
| Search file names with bounded traversal |
Tool paths must be relative to a configured root. Absolute paths and traversal segments are rejected. The most specific matching configured root controls permissions for nested roots.
Checks
npm run typecheck
npm run lint
npm test
npm run build
npm audit --audit-level=highCI runs typecheck, lint, tests, build, and dependency audit. Dependency Review runs on pull requests; CodeQL runs on pushes, pull requests, and a weekly schedule.
Security notes
Run as the current user; do not use Administrator.
Keep
config/permissions.jsonprivate; it is ignored by Git.Do not configure broad roots such as an entire drive or user profile.
Do not expose the server through a network transport.
This initial implementation is read-only. Future write-capable modules require separate capabilities, tests, and review.
License
MIT. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Securely search and manage workspace context files for AI agents and teams.
Manage files and folders directly from your workspace. Read and write files, list directories, cre…
Safe folder access for ChatGPT and Claude: read, write and search files, risky tools opt-in.
Read and search folders on your own computer with explicit consent. Files are never uploaded.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Large Language Models to safely browse and interact with local file systems through secure directory listing, file reading, and content search capabilities. Built with comprehensive security controls and high-performance handling of large directories and files.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to read, search, and analyze local file systems with tools for reading file contents, listing directories, searching by patterns, and analyzing folder structures for context-aware queries.MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to safely interact with the file system through a set of tools for reading, writing, deleting, copying, moving files, and managing directories.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to safely list, read, and search files within a restricted local workspace, with safeguards against path traversal and configurable size limits.MIT