Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LTMCP_HOSTNoHTTP bind host127.0.0.1
LTMCP_PORTNoHTTP bind port8000
LTMCP_ROOTNoDirectory the server is confined tocwd
LTMCP_INBOXNoStaging folder (ideally a repo subdir like incoming) to import files FROM; enables the import tools
LTMCP_TIMEOUTNoPer-command timeout (seconds)120
LTMCP_MCP_PATHNoPath the MCP endpoint is served at; for path auth, end it with a long random segment/mcp
LTMCP_AUTH_MODENoHTTP auth mode: bearer (header) or path (secret in URL)bearer
LTMCP_TRANSPORTNoTransport mode: stdio or httpstdio
LTMCP_AUTH_TOKENNoBearer token (required for bearer mode)
LTMCP_ALLOW_WRITENoEnable write_file, write_file_base64, generate_imagefalse
LTMCP_ALLOWED_HOSTSNoComma-separated Host header allowlist (e.g. your tunnel hostname)
LTMCP_APPROVALS_DIRNoDirectory to coordinate approvals in file mode
LTMCP_APPROVAL_MODENoAsk before running non-allowlisted commands: none/tty/filenone
LTMCP_IMAGE_GEN_CMDNoLocal image generator template ({prompt}/{output}); enables generate_image
LTMCP_IMAGE_TIMEOUTNoImage generation timeout (seconds)300
LTMCP_ALLOWLIST_FILENoJSON file that "always allow" appends to
LTMCP_ALLOW_COMMANDSNoComma-separated allowlist patterns (e.g. git *,rg *)read-only set
LTMCP_INBOX_TTL_DAYSNoAuto-delete inbox files older than N days (0 = never); use only with a dedicated staging folder0
LTMCP_APPROVAL_TIMEOUTNoSeconds to wait for a decision60
LTMCP_MAX_OUTPUT_BYTESNoOutput truncation limit100000
LTMCP_CONTAIN_PATH_ARGSNoWhether to confine command path-args to the root (set to false to disable)true

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
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
run_commandA

Run a single allowlisted command inside the project root and return its output. Exactly one program per call: pipes, chaining (&&, ;), redirects (>) and command substitution are not allowed. Allowed programs: cat, diff, echo, file, find, git, grep, head, ls, pwd, rg, stat, tail, tree, wc. Optionally set 'cwd' to a subdirectory of the root.

read_fileA

Read a UTF-8 text file located inside the project root.

list_directoryB

List the entries of a directory inside the project root.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 3 tools

Disambiguation4/5

The three tools have mostly clear roles, but run_command's allowlist includes cat, ls, find, and grep, which functionally overlaps with read_file and list_directory. An agent could read a file or list a directory via either path, though the dedicated tools are clearly documented as the simpler option.

Naming Consistency5/5

All three names follow a clean verb_noun snake_case pattern (run_command, read_file, list_directory) with no deviations or mixed conventions.

Tool Count4/5

Three tools is on the lean side, but the server is deliberately a narrow, sandboxed read-only surface, so each tool earns its place and nothing is redundant padding.

Completeness3/5

The read surface is coherent, but there is no write, create, edit, or delete capability anywhere in the set, and redirects/chaining are blocked in run_command, so agents hit a hard dead end for any mutation task. This may be intentional sandboxing but leaves the lifecycle incomplete.

Maintenance

ActivityMaintained
ResponsivenessNo issues