Skip to main content
Glama
3230390742

local-agent-mcp

by 3230390742

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENT_DEBUGNoWhen true, full prompts are written to the stderr debug log.false
AGENT_ALLOW_WRITENoWhen true, permits codex_run workspace_write and opencode_run auto_approve.false
AGENT_ALLOWED_ROOTSYesComma-separated absolute directories agents may access.
AGENT_MAX_CONCURRENCYNoMax simultaneous agent runs.3
AGENT_MAX_OUTPUT_BYTESNoMax combined stdout+stderr bytes captured per run.5000000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
agent_healthA

Report the local agent environment: Node version, Git availability, Codex/OpenCode install status and versions, allowed working directories, whether writes are permitted, and current concurrency usage.

codex_runA

Run the locally installed, logged-in Codex CLI non-interactively in a sandboxed working directory. Defaults to read-only. Use workspace_write only when writes are enabled server-side. Returns the final agent message plus command/file-change/error summaries.

opencode_runA

Run the locally installed, logged-in OpenCode CLI non-interactively in a sandboxed working directory. auto_approve enables side-effecting actions and requires server-side write permission. Supports session continuation and agent/model selection.

agent_compareA

Run Codex and OpenCode against the same prompt in READ-ONLY mode and return both results verbatim. Does not judge which is better; the caller synthesizes the conclusion. One agent failing does not suppress the other.

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/3230390742/local-agent-mcp'

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