Documentation
Use piap from your assistant
Connect Claude, Cursor or another AI assistant and ask the network from there.
What it is
If you use an AI assistant like Claude or Cursor, you can connect it to piap. That way your assistant can make requests to the network for you, follow their progress and check your credits.
This connection is called MCP: a standard way for assistants to use other tools.
With the app (recommended)
Copy this into your assistant's settings. The app needs to be open and uses the same sign-in. Your request is protected on your computer before it leaves.
{
"mcpServers": {
"piap": {
"command": "piap",
"args": ["mcp"]
}
}
}Without installing anything
If you don't want to install the app, copy this. The first time, your browser opens so you can sign in.
In this case your request is protected on piap's servers, not on your computer. If your request is sensitive, use the app.
{
"mcpServers": {
"piap": {
"url": "https://mcp.piap.io/mcp"
}
}
}For advanced users
The usual settings files are claude_desktop_config.json (Claude) and .cursor/mcp.json (Cursor). For assistants you set up from the terminal:
claude mcp add --transport http piap https://mcp.piap.io/mcp| Tool | What it does |
|---|---|
| pedir | Sends a request with your budget. |
| estado | Shows the progress of a request. |
| saldo | Checks your credits. |
| modelos | Shows what's available in the network and its price. |
Each request from your assistant costs the same as from the web. In your account you can set a daily spending limit for your assistant.