Skip to main content
Glama
Pi agent for MCP
by Maxmilite

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHost address for the relay to listen on; stays on loopback behind nginx.127.0.0.1
PORTNoPort for the relay to listen on; stays on loopback behind nginx.18810
READ_ONLYNoRestrict the MCP surface to pi_status and pi_ask.0
STATE_DIRNoDirectory for the OAuth client and token store./var/lib/pi-bridge
PUBLIC_URLYesPublic origin for the relay; must be an https:// URL.
AGENT_TOKENYesToken that a pi session presents to connect to the relay.
MAX_WAIT_SECNoMaximum time a tool call blocks before returning a task id.240
TASK_TTL_SECNoHow long finished tasks remain fetchable.3600
AGENT_TTL_SECNoLease length; an agent silent this long is considered gone.40
FEISHU_APP_IDYesFeishu app ID used as the identity provider.
POLL_HOLD_SECNoHow long an agent poll is held; 0 degrades to short polling.25
ALLOWED_OPEN_IDNoThe only account allowed to authorize. Set it.
DEFAULT_WAIT_SECNoHow long a tool call blocks before returning a task id.45
FEISHU_APP_SECRETYesFeishu app secret used as the identity provider.
MCP_ALLOW_NO_AUTHNoDisables 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

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