pi-wsl-mcp
by Guanzhw
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PI_WSL_MCP_DISTRO | No | WSL distro name used by the Windows launcher; default distro when unset. | |
| PI_WSL_MCP_LAUNCH | No | Guard flag for interactive rc-file banners, set by the Windows launcher. | |
| PI_WSL_MCP_PI_BIN | No | Pi command; resolved through the interactive zsh PATH unless set. | pi |
| PI_WSL_MCP_TOOLSET | No | MCP 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_DISTRO | No | Deprecated alias for PI_WSL_MCP_DISTRO. | |
| PI_LOCAL_MCP_LAUNCH | No | Deprecated alias for PI_WSL_MCP_LAUNCH. | |
| PI_LOCAL_MCP_PI_BIN | No | Deprecated alias for PI_WSL_MCP_PI_BIN. | pi |
| PI_LOCAL_MCP_TOOLSET | No | Deprecated alias for PI_WSL_MCP_TOOLSET. | core |
| PI_WSL_MCP_DEFAULT_CWD | No | Default workspace. | |
| PI_WSL_MCP_MAX_SESSIONS | No | Concurrent live Pi processes. | 3 |
| PI_WSL_MCP_RESULT_LIMIT | No | Bounds the final Pi answer in content[0].text and every nested diagnostic string; truncation is explicit. | 24000 |
| PI_WSL_MCP_SESSION_ROOT | No | Pi's saved-session store. | $HOME/.pi/agent/sessions |
| PI_LOCAL_MCP_DEFAULT_CWD | No | Deprecated alias for PI_WSL_MCP_DEFAULT_CWD. | |
| PI_WSL_MCP_ALLOWED_ROOTS | No | Semicolon-separated allowed workspace roots. | |
| PI_WSL_MCP_HISTORY_LIMIT | No | Bounded history entry count. | 80 |
| PI_LOCAL_MCP_MAX_SESSIONS | No | Deprecated alias for PI_WSL_MCP_MAX_SESSIONS. | 3 |
| PI_LOCAL_MCP_RESULT_LIMIT | No | Deprecated alias for PI_WSL_MCP_RESULT_LIMIT. | 24000 |
| PI_LOCAL_MCP_SESSION_ROOT | No | Deprecated alias for PI_WSL_MCP_SESSION_ROOT. | $HOME/.pi/agent/sessions |
| PI_LOCAL_MCP_ALLOWED_ROOTS | No | Deprecated alias for PI_WSL_MCP_ALLOWED_ROOTS. | |
| PI_LOCAL_MCP_HISTORY_LIMIT | No | Deprecated alias for PI_WSL_MCP_HISTORY_LIMIT. | 80 |
| PI_WSL_MCP_MAX_WAIT_SECONDS | No | Cap for pi_wait/pi_task wait blocking, kept below Codex's 300s tool timeout. | 285 |
| PI_LOCAL_MCP_MAX_WAIT_SECONDS | No | Deprecated alias for PI_WSL_MCP_MAX_WAIT_SECONDS. | 285 |
| PI_WSL_MCP_COMMAND_TIMEOUT_MS | No | Individual Pi RPC acknowledgement timeout. | 30000 |
| PI_WSL_MCP_MAX_SAVED_SESSIONS | No | Saved sessions returned by pi_sessions at most. | 100 |
| PI_WSL_MCP_STARTUP_TIMEOUT_MS | No | Pi startup acknowledgement timeout. | 45000 |
| PI_LOCAL_MCP_COMMAND_TIMEOUT_MS | No | Deprecated alias for PI_WSL_MCP_COMMAND_TIMEOUT_MS. | 30000 |
| PI_LOCAL_MCP_MAX_SAVED_SESSIONS | No | Deprecated alias for PI_WSL_MCP_MAX_SAVED_SESSIONS. | 100 |
| PI_LOCAL_MCP_STARTUP_TIMEOUT_MS | No | Deprecated 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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