Pi agent for MCP
by Maxmilite
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Host address for the relay to listen on; stays on loopback behind nginx. | 127.0.0.1 |
| PORT | No | Port for the relay to listen on; stays on loopback behind nginx. | 18810 |
| READ_ONLY | No | Restrict the MCP surface to pi_status and pi_ask. | 0 |
| STATE_DIR | No | Directory for the OAuth client and token store. | /var/lib/pi-bridge |
| PUBLIC_URL | Yes | Public origin for the relay; must be an https:// URL. | |
| AGENT_TOKEN | Yes | Token that a pi session presents to connect to the relay. | |
| MAX_WAIT_SEC | No | Maximum time a tool call blocks before returning a task id. | 240 |
| TASK_TTL_SEC | No | How long finished tasks remain fetchable. | 3600 |
| AGENT_TTL_SEC | No | Lease length; an agent silent this long is considered gone. | 40 |
| FEISHU_APP_ID | Yes | Feishu app ID used as the identity provider. | |
| POLL_HOLD_SEC | No | How long an agent poll is held; 0 degrades to short polling. | 25 |
| ALLOWED_OPEN_ID | No | The only account allowed to authorize. Set it. | |
| DEFAULT_WAIT_SEC | No | How long a tool call blocks before returning a task id. | 45 |
| FEISHU_APP_SECRET | Yes | Feishu app secret used as the identity provider. | |
| MCP_ALLOW_NO_AUTH | No | Disables MCP authentication for local experiments. Anyone who learns the URL can drive the connected machine, so do not use it on the public internet. |
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
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 | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues