MCP Workspace Server
MCP Workspace Server
Ein leichtgewichtiger Python-MCP-Server, der KI-Agenten einen sicheren, strukturierten Zugriff auf Dateien innerhalb eines kontrollierten lokalen Workspace bietet.
Übersicht
KI-Agenten benötigen häufig Zugriff auf Projektkontext, der in lokalen Dateien gespeichert ist. Einem Agenten uneingeschränkten Dateisystemzugriff zu gewähren, stellt ein unnötiges Sicherheitsrisiko dar.
Dieses Projekt nutzt das Model Context Protocol (MCP), um eine kleine Reihe kontrollierter Workspace-Tools bereitzustellen und den Zugriff dabei auf ein konfiguriertes Verzeichnis zu beschränken.
Related MCP server: Files MCP Server
MCP-Tools
Der Server stellt drei Tools bereit:
list_workspace_files
Listet die Dateien auf, die im konfigurierten Workspace verfügbar sind.
read_text_file
Liest UTF-8-Textdateien mit konfigurierbaren Größenbegrenzungen.
search_text
Durchsucht Workspace-Dokumente und gibt übereinstimmende Dateinamen, Zeilennummern und Text zurück.
Sicherheit
Der Server prüft angeforderte Pfade gegen einen festgelegten Workspace-Root und verhindert Path Traversal außerhalb dieses Verzeichnisses.
Weitere Schutzmaßnahmen umfassen:
Beschränkter Workspace-Zugriff
Eingabevalidierung
Dateigrößengrenzen
UTF-8-Handhabung
Schutz vor Path Traversal
Automatisierte Sicherheitstests
Projektstruktur
mcp-workspace-server/
├── src/
│ └── mcp_workspace_server/
│ ├── __init__.py
│ └── server.py
├── tests/
│ └── test_paths.py
├── workspace/
│ └── example.txt
├── pyproject.toml
└── README.mdThis server cannot be installed
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 Servers
- FlicenseNot 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.
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to safely explore directories, read files, search content by pattern or filename, and edit files with checksum verification and dry-run preview within sandboxed filesystem access.1375ISC
- FlicenseNot gradedqualityDmaintenanceProvides secure filesystem access for AI assistants with optimizations like file reading limits and depth-limited traversal to improve token efficiency. It enables AI models to read, write, and search files within explicitly allowed directories while automatically skipping large system folders.3
- AlicenseNot gradedqualityCmaintenanceProvides a secure, constrained filesystem workspace for LLM agents to manage files, notes, and code artifacts via stdio or remote HTTP. It features granular access controls, including extension whitelisting, storage quotas, and immutable paths for safe automated file operations.BSD 3-Clause
Related MCP Connectors
Securely search and manage workspace context files for AI agents and teams.
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
File uploads for AI agents. Upload, list, and manage files. No signup required.
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/sivanlm-commits/mcp-workspace-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server