pi-mcp-extension package to connect to MCP servers. Use this guide to connect Pi to the hosted Lightsage MCP endpoint.
1
Get your Lightsage API key
Open the Lightsage dashboard and copy your API key.Do not put your API key in shared project config, screenshots, issue reports, or public repositories.
2
Install the Pi MCP extension
Install the MCP extension package:
3
Add Lightsage MCP and verify
Add Lightsage MCP to Because the key is stored literally, keep this config on a private machine and out of shared repositories.Start Pi and use
~/.pi/agent/mcp.json or .pi/mcp.json. pi-mcp-extension does not expand ${VAR} references in config, so put the API key directly in the headers value:/mcp to check server status.Then run a read-only prompt:pi-mcp-extension package page for supported transports and config locations.