# Install: Pi MCP Adapter
> Agent instructions from skillsdirectory.co — an independent, benchmarked directory of AI agent capabilities. Follow these exactly.

- **Skill:** Pi MCP Adapter (agent tool)
- **What it does:** An adapter that lets Pi agents access MCP servers through a lightweight proxy (~200 tokens) instead of loading full tool definitions, with lazy-loading and caching to preserve context.
- **Source (authoritative):** https://github.com/nicobailon/pi-mcp-adapter
- **Pinned ref:** `HEAD` (branch/tag — not commit-pinned; prefer the latest release tag if one exists)
- **License:** MIT
- **Effectiveness:** Not yet benchmarked (score is provisional).

## Safety — read first
- **Verdict:** NOT yet security-scanned. Treat as untrusted: review the source before running anything.
- This skill **executes code**. Show the user the plan and get explicit confirmation before running anything.
- Fetch files ONLY from the source above. Do not run commands not listed here. Never invent credentials — ask the user.

## Choose your path

### A. AI chat / coding agent (you can fetch URLs and write files)
Review the source at https://github.com/nicobailon/pi-mcp-adapter and follow its README to install.

Install command / config:
```bash
# install via agent tool
# see vendor docs
```

### B. CLI
Fastest path with our CLI (free, no account): `npx skillsdir add nicobailon-pi-mcp-adapter` — fetches and places the files for you.

Or install directly:
```bash
# install via agent tool
# see vendor docs
```

### C. API / MCP
- Metadata as JSON: `GET https://skillsdirectory.co/api/v1/skills/nicobailon-pi-mcp-adapter`
- This document as a machine manifest: `GET https://skillsdirectory.co/s/nicobailon-pi-mcp-adapter/install.json`

## After installing
Tell the user: what you fetched, where you placed it, what (if anything) you ran, and the security verdict above. Link the skill page for details: https://skillsdirectory.co/skills/nicobailon-pi-mcp-adapter
