Skip to main content
Glama
LJLCarrien

Local Ops MCP

by LJLCarrien

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOCAL_OPS_ROOTYesThe root directory that defines the workspace. All file and git operations are restricted to this directory.
LOCAL_OPS_GIT_PULLNoControls the git_pull tool (fast-forward only) when LOCAL_OPS_GIT_REMOTE is enabled.false
LOCAL_OPS_GIT_PUSHNoControls the git_push tool (current branch non-force push) when LOCAL_OPS_GIT_REMOTE is enabled.false
LOCAL_OPS_GIT_READNoControls read-only Git tools: git_status, git_diff_unstaged, git_diff_staged, git_log, git_show, git_branch.true
LOCAL_OPS_GIT_FETCHNoControls the git_fetch tool when LOCAL_OPS_GIT_REMOTE is enabled.true
LOCAL_OPS_GIT_WRITENoControls Git write tools: git_add, git_commit, git_amend_message.true
LOCAL_OPS_MAX_BYTESNoMaximum size in bytes for file reads and command output.2097152
LOCAL_OPS_GIT_REMOTENoMaster switch for all remote Git tools.false
LOCAL_OPS_GIT_TIMEOUT_MSNoTimeout in milliseconds for local Git commands.30000
LOCAL_OPS_GIT_REMOTE_TIMEOUT_MSNoTimeout in milliseconds for remote Git commands.60000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_directoryA

List files and directories below the configured local workspace root.

read_fileA

Read a UTF-8 text file below the configured workspace root and return its SHA-256 hash.

write_fileA

Write a UTF-8 text file below the configured workspace root. Existing files require overwrite=true; expected_sha256 can prevent lost updates.

create_directoryA

Create a directory below the configured workspace root. Set recursive=true to also create missing parent directories.

delete_directoryA

Delete a directory below the configured workspace root. Non-empty directories require recursive=true. The workspace root itself can never be deleted.

delete_fileA

Delete a regular file below the configured workspace root.

copy_fileA

Copy a regular file within the configured workspace root. Existing destinations require overwrite=true.

move_fileA

Move a regular file to a new workspace-relative path. The destination must not already exist.

rename_fileA

Rename a regular file without moving it to another directory. The new name must not already exist.

git_statusB

Show the concise Git working-tree status for a repository below the configured workspace root.

git_diff_unstagedA

Show unstaged Git changes for a repository below the configured workspace root.

git_diff_stagedA

Show staged Git changes for a repository below the configured workspace root.

git_logA

Show recent Git commits for a repository below the configured workspace root.

git_showA

Show one Git revision without invoking external diff helpers.

git_branchA

List local, remote, or all Git branches.

git_addA

Stage an explicit list of repository-relative files. Arbitrary Git options are not accepted.

git_commitA

Create a local Git commit from already staged changes. This does not stage files or contact a remote.

git_amend_messageA

Rewrite only the most recent local commit message without including staged or working-tree changes. This rewrites local history and does not contact a remote.

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/LJLCarrien/local-ops-mcp'

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