pi-glean-mcp
v0.1.4
Published
Bridge Glean MCP server tools into Pi with configurable server URL and auto-connect.
Maintainers
Readme
pi-glean-mcp
Pi extension that bridges a Glean MCP server into Pi tools.
Install
pi install npm:pi-glean-mcpConfigure
Get your Glean MCP URL from:
- https://app.glean.com/settings/connected-apps
On first session start, the extension will ask for the server URL if it is not configured yet.
You can also configure it manually:
/glean-setup https://<your-glean-host>/mcp/defaultYou can also choose scope:
/glean-setup https://<your-glean-host>/mcp/default global
/glean-setup https://<your-glean-host>/mcp/default projectCommands
/glean <message>— explicitly call the Glean MCP chat tool (glean_chat) and return the raw response in-session/glean-setup <serverUrl> [global|project]— save URL and enable auto-connect/glean-connect— connect now and register tools/glean-reconnect— reconnect and refresh tools/glean-off— disableglean_*tools for this session/glean-autoconnect <on|off> [global|project]— toggle auto-connect/glean-config— show effective config
Behavior
- No default server URL is baked in.
- On first initialization (when URL is missing), it prompts for server URL in TUI.
- Auto-connects on session start when
autoConnect=trueand URL is configured. - Global config:
~/.pi/agent/glean-mcp.json - Project override:
.pi/glean-mcp.json - Registered tools are prefixed as
glean_<toolName> glean_chatis always registered as the canonical chat entry point
/glean usage
/glean summarize the latest Android TV playback incidents from the last weekThis hook directly invokes the MCP chat tool and prints the tool output back to the session.
