Command Palette

Search for a command to run...

Весь каталог
MCP-сервер № 46671

WorkspaceGuard

Structured workspace runtime for long-running coding agents, providing controlled workspace capabilities with task state, snapshots, checkpoints, drift detectio

Бесплатно
GitHubEmbed

Установка WorkspaceGuard

Сборка из исходников

У сервера нет опубликованного npm/PyPI-пакета — склонируй репозиторий и собери по его README, затем добавь получившуюся команду в свой клиент.

Открыть репозиторий
github.com/majiayu000/workspaceguard-mcp

Описание

Structured workspace runtime for long-running coding agents, providing controlled workspace capabilities with task state, snapshots, checkpoints, drift detection, verification evidence, audit logs, and structured handoff.

README

Structured workspace runtime for long-running coding agents.

WorkspaceGuard exposes a real local development workspace through MCP while adding the missing operational layer: task state, snapshots, checkpoints, drift detection, verification evidence, audit logs, and structured handoff.

It is host-neutral by design. ChatGPT, Claude, Gemini, Grok, and custom MCP clients should all use the same core tool contracts.

What This Is

WorkspaceGuard is not a coding model and not a hidden local agent. The MCP host does the reasoning. WorkspaceGuard provides controlled workspace capabilities:

  • open an allowed workspace
  • read, search, edit, and write files
  • run terminal commands under policy
  • inspect git status and diffs
  • create snapshots and checkpoints
  • detect workspace drift
  • run verification and store evidence
  • hand off task state across hosts or sessions

Design Docs

Recommended Build Path

Implemented in the current skeleton:

  • MCP server over stdio and Streamable HTTP
  • split MCP tool registration modules
  • workspace allowlist and instruction loading
  • canonical path containment with symlink escape tests
  • file read/search/list/write/edit tools
  • structured shell runner with timeout and redaction
  • git status/diff helpers
  • in-memory task runtime tools
  • file-manifest snapshots
  • checkpoint and drift MCP tools
  • verification command execution and freshness checks
  • append-only JSONL audit log
  • failed MCP tool-call audit events
  • required bearer-token and Origin helper for remote HTTP
  • OAuth-dev protected resource metadata and PKCE authorization-code flow
  • secure HTTP proxy for tunnel/public entrypoints
  • shared runtime context across HTTP sessions
  • MCP integration test using the SDK in-memory transport

Next build path:

  1. Add SQLite-backed state instead of in-memory registries.
  2. Replace OAuth-dev with production OAuth issuer integration.
  3. Add before/after audit envelopes for every tool call.
  4. Verify against ChatGPT, Claude, Gemini, and Grok host profiles.

Development

npm install
npm test
npm run build
npx tsc --noEmit

Remote HTTP security knobs:

WORKSPACEGUARD_TOKEN=long-random-token
WORKSPACEGUARD_ALLOWED_ORIGINS=https://chatgpt.com,https://example.com

WORKSPACEGUARD_TOKEN or --bearer-token is required when --transport http is used.

ChatGPT developer-mode HTTP can use the built-in OAuth-dev profile:

WORKSPACEGUARD_OAUTH_APPROVAL_CODE=local-human-code \
workspaceguard serve \
  --transport http \
  --auth-mode oauth-dev \
  --public-base-url https://your-tunnel.example.com \
  --allowed-roots ~/work

Or keep WorkspaceGuard private on localhost and expose a separate proxy:

WORKSPACEGUARD_TOKEN=inner-local-token \
workspaceguard serve --transport http --allowed-roots ~/work

WORKSPACEGUARD_PROXY_TARGET_TOKEN=inner-local-token \
WORKSPACEGUARD_OAUTH_APPROVAL_CODE=local-human-code \
workspaceguard proxy \
  --target-url http://127.0.0.1:8787/mcp \
  --auth-mode oauth-dev \
  --public-base-url https://your-tunnel.example.com

oauth-dev is for single-user developer-mode testing. Production deployments should replace it with a real OAuth issuer and durable token storage.

Security Baseline

WorkspaceGuard exposes local machine capabilities. It must default to narrow filesystem roots, localhost binding, explicit remote authentication, canonical path checks, command policy, redacted logs, and auditable tool calls.

Shell and worktrees are workflow boundaries, not security sandboxes.

from github.com/majiayu000/workspaceguard-mcp

FAQ

WorkspaceGuard MCP бесплатный?

Да, WorkspaceGuard MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для WorkspaceGuard?

Нет, WorkspaceGuard работает без API-ключей и переменных окружения.

WorkspaceGuard — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить WorkspaceGuard в Claude Desktop, Claude Code или Cursor?

Открой WorkspaceGuard на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

№ 28516

Notion

NotionNotion

Read and write pages in your workspace

notionwikidocs
ПровереноУстановить
№ 26688

Linear

LinearLinear

Issues, cycles, triage — from Claude

lineartaskspm
ПровереноУстановить
№ 77795
Pro

Google Drive

GoogleGoogle

Search and read your Drive files

googledrivedocs
Установить
№ 84434

mindsdb/mindsdb

mindsdbmindsdb

Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).

mindsdbnameaggregators
Установить
№ 36155

fulcradynamics/fulcra-context-mcp

fulcradynamicsfulcradynamics

Access personal health and biometric data (sleep stages, heart rate, HRV, glucose, workouts), calendar and location via the Fulcra Life API.

fulcradynamicsfulcracontext
Установить
№ 22351

rinadelph/Agent-MCP

rinadelphrinadelph

Framework for building multi-agent systems that coordinate over MCP, with task management, shared context and RAG.

rinadelphagentmcp
Установить
№ 80089

WhenLabs-org/when

WhenLabs-orgWhenLabs-org

Developer toolkit: stack detection for AI context files, port conflicts, .env schema validation, docs drift, dependency license audits and task timing.

whenlabsorgwhen
Установить
№ 18345

Beltran12138/wecom-docs-mcp-server

Beltran12138Beltran12138

WeCom (Enterprise WeChat) document operations via MCP: create, read, and edit Docs and Smartsheets (9 tools). Fills the doc-CRUD gap — existing WeCom MCP server

beltran12138wecomdocs
Установить
№ 21456

freema/mcp-gsheets

freemafreema

Google Sheets API integration for reading, writing, formatting and sheet management.

freemamcpgsheets
Установить
№ 77871

mattijsdp/dbt-docs-mcp

mattijsdpmattijsdp

dbt-core (OSS) project metadata, model and column-level lineage, and dbt documentation.

mattijsdpdbtdocs
Установить

Сравнить WorkspaceGuard с

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории productivity