claude-work-mcp
A local MCP server that connects Claude Code to your work environment through auditable tools for file operations, API calls, and command execution, with safety gates and configuration.
README
Claude Work MCP
Local MCP server for connecting Claude Code to your work environment through explicit, auditable tools.
What it exposes
list_work_tools: shows the active config, workspace root, links, endpoints, and safety gates.list_work_files: lists files underworkspaceRoot.read_work_file: reads UTF-8 text files underworkspaceRoot.search_work_files: searches text files underworkspaceRoot.write_work_file: writes files only whenallowWrite=true.read_handoff/append_handoff: shared Codex-Claude notes.call_work_api: calls only HTTP endpoints defined inconfig/work-tools.local.json.run_work_command: runs only allowlisted commands and only whenallowCommands=true.
Install dependencies
cd "C:\Users\Peruano Pinto\Documents\Codex\2026-07-09\necesito\work\claude-work-mcp"
npm install
npm run build
npm run smoke
Register with Claude Code on Windows
After installing Claude Code, run:
cd "C:\Users\Peruano Pinto\Documents\Codex\2026-07-09\necesito\work\claude-work-mcp"
.\scripts\register-claude.ps1
Manual equivalent:
claude mcp add --scope user --transport stdio --env "WORK_MCP_CONFIG=C:\Users\Peruano Pinto\Documents\Codex\2026-07-09\necesito\work\claude-work-mcp\config\work-tools.local.json" claude-work-mcp -- node "C:\Users\Peruano Pinto\Documents\Codex\2026-07-09\necesito\work\claude-work-mcp\dist\server.js"
claude mcp list
If you prefer JSON config, copy claude-code.mcp.json.example into a Claude Code project as .mcp.json, then start Claude Code and approve the project MCP server.
Register with Claude Code on Linux/macOS
cd /path/to/claude-work-mcp
npm install
npm run build
./scripts/register-claude.sh
Configure your tools
Edit config/work-tools.local.json.
Add a direct API endpoint:
{
"id": "crm_lookup",
"name": "CRM contact lookup",
"method": "GET",
"url": "https://api.example.com/contacts?email=${params.email}",
"headers": {
"Authorization": "Bearer ${env:CRM_API_TOKEN}"
}
}
Then set the token before starting Claude Code:
$env:CRM_API_TOKEN = "..."
Command execution and file writes are off by default. Turn them on only when you want Claude Code to make changes:
{
"allowWrite": true,
"allowCommands": true,
"commandAllowlist": [{ "command": "git" }, { "command": "npm" }]
}
Suggested Claude prompt
Use the claude-work-mcp MCP server. First call list_work_tools, then read_handoff. Work only inside the configured workspace. If you need to change files or run commands and the tool is disabled, tell me exactly what config change you need.
Safety model
This server does not call arbitrary URLs. It only calls endpoints listed in config.
It does not access arbitrary filesystem paths. All workspace file tools stay inside workspaceRoot.
It does not run shell commands unless allowCommands=true, and even then only command names in commandAllowlist. Interpreter commands (node, py, bash, etc.) are additionally blocked from running with inline-eval flags (-e, -c, --eval, ...) even when allowlisted, since those flags bypass the workspaceRoot sandbox.
Single-file reads and writes also resolve symlinks and reject any target whose real path falls outside workspaceRoot, so a symlink planted inside the workspace cannot be used to read or write files elsewhere on disk.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.