Skip to main content
Pi has a built-in MCP client. Add AIsa as a remote MCP server, authenticated with your AIsa API key, and Pi’s agent can discover and call AIsa capabilities — web research, finance, social, SEO, sales, and more. AIsa MCP endpoint:

Prerequisites

Before you start, make sure you have:

1. Export your AIsa key

Pi reads the key from an environment variable, so it never lands in the config file. Add this to ~/.zshrc or ~/.bashrc:
Open a new terminal, or source the file, before starting Pi.

2. Ask Pi to connect AIsa

Start pi and send:
Pi reads AIsa’s agent-facing instructions and registers the AIsa MCP server globally, using your AISA_API_KEY.
Prefer to do it yourself? Run the same command Pi runs:

3. Verify and reload

Check the connection:
You should see:
If you added the server from inside a running Pi session, type /reload so the session picks up the new tools.

4. Use AIsa capabilities

Ask Pi for anything AIsa can fetch, for example:
Pi searches the AIsa catalog, reads the matching operation’s schema, then runs it and reports the cost. The five tools work as follows:

Quick reference

Troubleshooting

Use AIsa in Claude Code

Run Claude models through AIsa in Claude Code.

Authentication

API key creation, rotation, and storage best practices.

Agent Skills

Browse the capabilities AIsa exposes to agents.