Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WORKSPACEGUARD_TOKENNoBearer token for HTTP authentication. Required when --transport http is used.
WORKSPACEGUARD_ALLOWED_ORIGINSNoComma-separated list of allowed origins for CORS.
WORKSPACEGUARD_OAUTH_APPROVAL_CODENoApproval code for OAuth-dev mode. Required when --auth-mode oauth-dev is used.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
workspaceguard_infoB

Return WorkspaceGuard runtime configuration summary.

policy_describeA

Show the current local policy profile for this WorkspaceGuard server.

echoA

Development smoke-test tool.

task_startC

Start an in-memory task under an open workspace.

task_updateC

Update task status or append a note.

task_statusA

Return one task by id, or all known in-memory tasks.

snapshot_createC

Create a file manifest snapshot for an open workspace.

checkpoint_createA

Record a named checkpoint for an existing snapshot id. This creates metadata only; restore is not implemented and snapshot existence is not validated yet.

drift_checkB

Create a fresh snapshot and compare it with the previous drift_check snapshot for the workspace. The first call records the baseline and reports no drift.

verification_runC

Run a structured verification command inside an open workspace.

workspace_openA

Open an allowed local checkout workspace and return a workspaceId.

workspace_statusB

Return a known workspace by id, or list open workspaces when workspaceId is omitted.

shell_runA

Run a structured command array inside an open workspace. This is real local execution.

git_statusA

Run git status --porcelain=v1 inside an open workspace.

git_diffC

Run git diff --no-color inside an open workspace.

file_readB

Read a UTF-8 file inside an open workspace.

directory_listC

List a directory inside an open workspace.

search_textB

Search for a literal text pattern inside an open workspace.

file_writeB

Create or overwrite a UTF-8 file inside an open workspace.

file_editA

Replace an exact text block that appears exactly once in a workspace file.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/majiayu000/workspaceguard-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server