---
title: "Pi"
description: "Add Klint to Pi through the MCP adapter."
---

> Documentation Index
> Fetch the complete documentation index at: https://tryklint.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Pi

Minimal, extensible agent harness. Pi reaches MCP servers through
`pi-mcp-adapter`.

1. **Install the adapter**

   ```bash
   pi install npm:pi-mcp-adapter
   ```
2. **Add the server**

   In `~/.pi/agent/mcp.json`, or `.mcp.json` in your project:

   ```json
   {
     "mcpServers": {
       "klint": {
         "url": "https://mcp.tryklint.ai/mcp"
       }
     }
   }
   ```
3. **Sign in to Klint**

   Restart Pi, or run `/reload` in a running session, and sign in when Pi
   asks.
4. **Ask it something**

   ```text
   Ask Klint who is shaping the AI agent debate on TikTok right now.
   ```

   The first answer takes a few minutes, because Klint is reading real posts.

## If it doesn't work

- **No Klint tools appear.** Restart the agent, or start a new session, after
  saving its settings.
- **The agent answers without Klint.** Name Klint in your question and ask the
  agent which tool it called.
- **No answer yet.** A run often takes 3 to 10 minutes. Let the agent keep
  checking.

More fixes, the tools and how a run works are on
[Any MCP client](https://tryklint.ai/docs/agent-setup/any-mcp-client/).

Source: https://tryklint.ai/docs/agent-setup/pi/index.mdx
