Local Workspace Orchestrator
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 Orchestrator
An MCP (Model Context Protocol) client-server system that connects Anthropic Claude to your local filesystem through a set of workspace tools. The orchestrator lets Claude read files, analyse CSVs, execute scripts, generate plots, and more — all from an interactive chat interface.
Architecture
┌───────────────────────────┐ stdio ┌──────────────────────────┐
│ orchestrator_client.py │ ◄──────────────────► │ workspace_server.py │
│ (MCP Client + Anthropic) │ MCP protocol │ (FastMCP Server) │
│ │ │ │
│ • Connects to 1+ servers │ │ Tools: │
│ • Streams Claude output │ │ • list_workspace_files │
│ • Retries failed calls │ │ • summarize_csv_dataset│
│ • Saves chat history │ │ • execute_python_script│
│ │ │ • write_file │
│ │ │ • run_shell_command │
│ │ │ • plot_column_distrib. │
│ │ │ │
│ │ │ Resources: │
│ │ │ • workspace://files │
│ │ │ • workspace://schema/* │
└───────────────────────────┘ └──────────────────────────┘Related MCP server: ai-distiller-mcp
Quick Start
1. Clone & install
git clone <your-repo-url>
cd local-workspace-orchestrator
# Using uv (recommended)
uv sync
# Or using pip
pip install -r requirements.txt2. Set up your API key
cp .env.example .env
# Edit .env and paste your Anthropic API key3. Run the orchestrator
# Using uv
uv run orchestrator_client.py
# Or directly
python orchestrator_client.pyYou'll see the interactive prompt:
======================================================
Local Workspace Orchestrator Active
Type queries, or /help for commands, 'quit' to exit.
======================================================
Orchestrator >4. Try some queries
Orchestrator > list all files in this workspace
Orchestrator > summarize the sample_consumer.csv dataset
Orchestrator > plot the distribution of SpendingScore in sample_consumer.csv
Orchestrator > run the run_analysis.py scriptServer Configuration
The orchestrator reads server_config.json to know which MCP servers to launch. The format uses the standard MCP mcpServers structure:
{
"mcpServers": {
"workspace_orchestrator": {
"command": "uv",
"args": ["run", "workspace_server.py"]
}
}
}Adding more servers
You can connect multiple servers — each will have its tools auto-discovered and registered:
{
"mcpServers": {
"workspace_orchestrator": {
"command": "uv",
"args": ["run", "workspace_server.py"]
},
"my_other_server": {
"command": "python",
"args": ["other_server.py"]
}
}
}Chat Commands
Command | Description |
| List all registered tools by server |
| Save conversation history to JSON file |
| Load a saved conversation |
| Reconnect to a dropped server |
| Show conversation message count |
| Clear conversation history |
| Show all available commands |
| Exit the orchestrator |
Available Tools
Read-only tools
Tool | Description |
| List files and subdirectories in a workspace path |
| Return shape, columns, dtypes, and summary statistics for a CSV |
| Execute an allowlisted shell command (ls, cat, grep, etc.) |
Destructive tools
Tool | Description |
| Create or overwrite a file in the workspace |
| Run a Python script and return stdout/stderr |
| Generate a histogram PNG for a CSV column |
Resources
URI | Description |
| Lists all files in the workspace root |
| Column names + dtypes for a CSV file |
Security
Path traversal protection: All file-accepting tools validate paths using
os.path.realpath()+pathlib.Path.resolve()to prevent directory traversal attacks.Shell command allowlist:
run_shell_commandonly permits a curated set of read-only commands (ls,cat,grep,head,tail, etc.).Script sandboxing:
execute_python_scriptruns scripts in a subprocess with a 30-second timeout, restricted to the workspace directory viacwd. Note: this is not a true sandbox — the subprocess has the same OS permissions as the server process.Tool annotations: Each tool carries
readOnlyHint/destructiveHintannotations so MCP clients can reason about safety.
CLI Options
python orchestrator_client.py --help
options:
--log-level {DEBUG,INFO,WARNING,ERROR} Set logging verbosity (default: INFO)
--system-prompt TEXT Custom system prompt for Claude
--config PATH Path to server_config.jsonEnvironment Variables
Variable | Description | Default |
| Your Anthropic API key (required) | — |
| Logging verbosity |
|
Project Structure
local-workspace-orchestrator/
├── orchestrator_client.py # MCP client + Anthropic integration
├── workspace_server.py # FastMCP server with workspace tools
├── server_config.json # MCP server connection configuration
├── main.py # Stub entry point
├── run_analysis.py # Example analysis script
├── sample_consumer.csv # Sample dataset
├── pyproject.toml # Project metadata + dependencies
├── requirements.txt # Pinned pip dependencies
├── .env.example # API key template
├── .gitignore # Git ignore rules
└── README.md # This fileLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Creative workspace. Public MCP: outline previews for Codex and Claude Code; media in the web app.
Work on your own computers from Claude or ChatGPT: run commands, edit and search files.
Shared memory and actions for Claude, Kiro, OpenAI, Cursor, and other MCP-compatible AI clients.
Related MCP Servers
- AlicenseAqualityAmaintenanceAllows Claude desktop app to execute terminal commands and edit files on your computer through MCP, with features including command execution, process management, and diff-based file editing.25640,833 npm10,181MIT
- FlicenseNot gradedqualityDmaintenanceProvides filesystem access to Claude via the MCP protocol, enabling local file operations through natural language.-
- AlicenseNot gradedqualityAmaintenanceEnables ChatGPT to inspect and edit local projects through a secure MCP interface, offering workspace management, file operations, git integration, and safe command execution.6MIT
- FlicenseNot gradedqualityBmaintenanceEnables Claude Desktop or other MCP clients to execute shell commands, read/write files, and list directories on the local machine. Includes basic safety guardrails to block obviously destructive operations.-