Pi
Setup guide only, not run live
What Zyx serves and which gates apply: Use Zyx from your AI tool.
Pi has no MCP client of its own, by design. So Pi reaches Zyx over REST: the same tools, gates and
cards as /api/mcp.
With an API key and REST
Section titled “With an API key and REST”-
In Zyx, open Manage, API & MCP and make a key for the person Pi acts as.
-
export ZYX_KEY=<key>, and give Pi a skill (or anAGENTS.mdnote) with these calls:Terminal window # what Zyx offers this keycurl -s https://zyx.example.com/api/v1/tools -H "Authorization: Bearer $ZYX_KEY"# call one tool; the body is its input; add ?folder=<folder> to work in one foldercurl -s -X POST https://zyx.example.com/api/v1/tools/search_notes \-H "Authorization: Bearer $ZYX_KEY" \-H "content-type: application/json" \-d '{"query":"discount terms"}'Answer Means 200 the result 202 a card waits for a person; the approval runs the call, so do not call again. Read the result with zyx_cardorGET /api/v1/approvals/<card>403 refused 404 no such tool for this key 400 bad input
The input above is an example. GET /api/v1/tools returns each tool’s real schema.
With MCP
Section titled “With MCP”A community extension adds MCP to Pi. It is neither Zyx’s nor Pi’s own and was not reviewed or tried; treat it like any third-party code before installing it.
What was proven
Section titled “What was proven”- Nothing with Pi itself. The REST routes are covered by Zyx’s own tests.