Skip to main content

For AI agents: docs.octen.ai/integrations/pi.md

The extension connects to the hosted Octen MCP Server and adds the octen-search-guide skill, which tells Pi which Octen tool fits a request.

Get API Key

Create a key from the API Platform.

npm

The @octen.ai/pi-extension package.

GitHub

View the extension source.

Install

You’ll need an Octen API key first. Create one from the API Platform.
Requires Pi 0.99.0 or later.
1

Install the extension

2

Sign in to Octen

In a Pi session, run /mcp login octen, or open /mcp, select octen, and choose Sign in. On the Octen consent page, choose the account and API key the connection uses, then click Allow.Sign in from a Pi session, not the shell: pi mcp login and pi mcp list do not load extensions, so they do not see the octen server.
3

Confirm the install

The list shows npm:@octen.ai/pi-extension.
The extension exposes every Octen MCP tool. To use an API key instead of signing in, export it in your shell profile (~/.zshrc or ~/.bashrc):

Last modified on November 24, 2026