MCP Workspace Server: A secure Model Context Protocol server providing file, git, and GitHub tools for AI assistants within a sandboxed project directory.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"filesystem": {
"args": [
"--project-dir",
"C:\\path\\to\\your\\specific\\project",
"--reference-project",
"docs=C:\\path\\to\\documentation",
"--reference-project",
"examples=C:\\path\\to\\examples",
"--log-level",
"INFO"
],
"command": "mcp-workspace"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A simple Model Context Protocol (MCP) server providing file system operations. This server offers a clean API for performing file system operations within a specified project directory, following the MCP protocol design.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'git' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked git against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Manage Supabase projects — databases, auth, storage, and edge functions
MCP server for using the GitLab API
MCP Security Weekly
Get CVE alerts and security updates for Mcp Workspace and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A simple Model Context Protocol (MCP) server providing file system operations. This server offers a clean API for performing file system operations within a specified project directory, following the MCP protocol design.
This MCP server enables AI assistants like Claude (via Claude Desktop) or other MCP-compatible systems to interact with your local file system. With these capabilities, AI assistants can:
All operations are securely contained within your specified project directory, giving you control while enabling powerful AI collaboration on your local files.
By connecting your AI assistant to your filesystem, you can transform your workflow from manual coding to a more intuitive prompting approach - describe what you need in natural language and let the AI generate, modify, and organize code directly in your project files.
list_directory: List all files and directories in the project directoryread_file: Read the contents of a filesave_file: Write content to a file atomicallyappend_file: Append content to the end of a filedelete_this_file: Delete a specified file from the filesystemedit_file: Make selective edits using exact string matchingmove_file: Move or rename files and directories within the projectget_reference_projects: Discover available reference projectslist_reference_directory: List files in reference projectsread_reference_file: Read files from reference projectsStructured Logging: Comprehensive logging system with both human-readable and JSON formats# Clone the repository
git clone https://github.com/MarcusJellinghaus/mcp-workspace.git
cd mcp_workspace
# Create and activate a virtual environment (optional but recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies using pip with pyproject.toml
pip install -e .
Once installed, you can use the mcp-workspace command directly:
mcp-workspace --project-dir /path/to/project [--reference-project NAME=/path/to/reference]... [--log-level LEVEL] [--log-file PATH]
--project-dir: (Required) Directory to serve files from--reference-project: (Optional) Add reference project in format name=/path/to/dir (repeatable, auto-renames duplicates)--log-level: (Optional) Set logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)--log-file: (Optional) Path for structured JSON logs. If not specified, logs to mcp_workspace_{timestamp}.log in project_dir/logs/.The server uses FastMCP for operation. The project directory parameter (--project-dir) is required for security reasons. All file operations will be restricted to this directory. Attempts to access files outside this directory will result in an error.
The server provides flexible logging options:
project_dir/logs/mcp_workspace_{timestamp}.log or custom path with --log-file)--console-only to disable file loggingReference projects allow you to provide AI assistants with read-only access to additional codebases or directories for context and reference. This feature enables the LLM to browse and read files from multiple projects