Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FORGEGUARD_COMMANDSNoComma-separated executables permitted through the generic process_run tool. Empty by default.
FORGEGUARD_ALLOWED_ROOTSNoDirectories below which projects may be registered. If missing, project_register is denied.

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
project_registerA

Register a project directory. The directory must be inside a locally configured allowed root.

project_listA

List project workspaces registered for this ForgeGuard process.

project_infoB

Get one registered project by id.

file_readA

Read a UTF-8 file inside a registered workspace. Traversal, symlink escapes, sensitive files, and known secret patterns are guarded.

file_writeA

Create or replace one UTF-8 file inside a registered workspace. Sensitive paths and symlink targets are rejected.

file_patchA

Replace exactly one matching text block in a UTF-8 project file. Fails when the match is missing or ambiguous.

directory_treeA

List a bounded directory tree inside a registered workspace while hiding sensitive files.

code_searchA

Search UTF-8 project files for an exact text fragment, ignoring generated/vendor directories and sensitive files.

git_statusA

Run git status --short inside a registered project without invoking a shell.

git_diffB

Run a non-mutating git diff inside a registered project.

process_runA

Run one explicitly allowlisted executable in a project workspace using argv directly (no shell). Disabled by default until FORGEGUARD_COMMANDS is configured.

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/KatoteshiKuka/forgeguard-mcp'

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