worker-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WORKER_MCP_PI_PATH | No | Absolute path to the `pi` coding-agent binary (defaults to searching PATH for `pi`). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tasks | {
"list": {},
"cancel": {},
"requests": {
"tools": {
"call": {}
}
}
} |
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| spawn_pi_sessionB | Spawn a new pi coding agent session in the specified workspace directory. |
| send_pi_commandB | Send a prompt or slash command to a running session. |
| cancel_pi_commandA | Abort the currently running command in a session. Sends abort to the agent; force-terminates after 2s if it doesn't settle. |
| terminate_pi_sessionA | Stop a session and remove it, freeing its id for reuse. Use this to clear a session that has crashed, wedged, or is no longer needed. |
| list_pi_sessionsA | List all active sessions and their status. |
| get_pending_actionsA | Retrieve details of a tool call or action currently awaiting approval. |
| approve_actionC | Approve an intercepted tool execution. |
| reject_actionA | Deny an intercepted tool execution and feed feedback/refusal back to the agent. |
| set_risk_policyA | Update the risk-based auto-approval policy for a session at runtime. Controls which actions are auto-approved based on risk level. |
| get_auto_approved_logA | Retrieve the audit log of actions that were auto-approved by the risk policy. Useful for reviewing what the worker did without coordinator intervention. |
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/noosxe/worker-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server