Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PI_WSL_MCP_DISTRONoWSL distro name used by the Windows launcher; default distro when unset.
PI_WSL_MCP_LAUNCHNoGuard flag for interactive rc-file banners, set by the Windows launcher.
PI_WSL_MCP_PI_BINNoPi command; resolved through the interactive zsh PATH unless set.pi
PI_WSL_MCP_TOOLSETNoMCP tool surface: core registers the 9 daily-agent workflow tools; full registers the complete 20-tool surface. Invalid values are rejected at startup.core
PI_LOCAL_MCP_DISTRONoDeprecated alias for PI_WSL_MCP_DISTRO.
PI_LOCAL_MCP_LAUNCHNoDeprecated alias for PI_WSL_MCP_LAUNCH.
PI_LOCAL_MCP_PI_BINNoDeprecated alias for PI_WSL_MCP_PI_BIN.pi
PI_LOCAL_MCP_TOOLSETNoDeprecated alias for PI_WSL_MCP_TOOLSET.core
PI_WSL_MCP_DEFAULT_CWDNoDefault workspace.
PI_WSL_MCP_MAX_SESSIONSNoConcurrent live Pi processes.3
PI_WSL_MCP_RESULT_LIMITNoBounds the final Pi answer in content[0].text and every nested diagnostic string; truncation is explicit.24000
PI_WSL_MCP_SESSION_ROOTNoPi's saved-session store.$HOME/.pi/agent/sessions
PI_LOCAL_MCP_DEFAULT_CWDNoDeprecated alias for PI_WSL_MCP_DEFAULT_CWD.
PI_WSL_MCP_ALLOWED_ROOTSNoSemicolon-separated allowed workspace roots.
PI_WSL_MCP_HISTORY_LIMITNoBounded history entry count.80
PI_LOCAL_MCP_MAX_SESSIONSNoDeprecated alias for PI_WSL_MCP_MAX_SESSIONS.3
PI_LOCAL_MCP_RESULT_LIMITNoDeprecated alias for PI_WSL_MCP_RESULT_LIMIT.24000
PI_LOCAL_MCP_SESSION_ROOTNoDeprecated alias for PI_WSL_MCP_SESSION_ROOT.$HOME/.pi/agent/sessions
PI_LOCAL_MCP_ALLOWED_ROOTSNoDeprecated alias for PI_WSL_MCP_ALLOWED_ROOTS.
PI_LOCAL_MCP_HISTORY_LIMITNoDeprecated alias for PI_WSL_MCP_HISTORY_LIMIT.80
PI_WSL_MCP_MAX_WAIT_SECONDSNoCap for pi_wait/pi_task wait blocking, kept below Codex's 300s tool timeout.285
PI_LOCAL_MCP_MAX_WAIT_SECONDSNoDeprecated alias for PI_WSL_MCP_MAX_WAIT_SECONDS.285
PI_WSL_MCP_COMMAND_TIMEOUT_MSNoIndividual Pi RPC acknowledgement timeout.30000
PI_WSL_MCP_MAX_SAVED_SESSIONSNoSaved sessions returned by pi_sessions at most.100
PI_WSL_MCP_STARTUP_TIMEOUT_MSNoPi startup acknowledgement timeout.45000
PI_LOCAL_MCP_COMMAND_TIMEOUT_MSNoDeprecated alias for PI_WSL_MCP_COMMAND_TIMEOUT_MS.30000
PI_LOCAL_MCP_MAX_SAVED_SESSIONSNoDeprecated alias for PI_WSL_MCP_MAX_SAVED_SESSIONS.100
PI_LOCAL_MCP_STARTUP_TIMEOUT_MSNoDeprecated alias for PI_WSL_MCP_STARTUP_TIMEOUT_MS.45000

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/Guanzhw/pi-wsl-mcp'

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