Get Started
Before you can make API calls, you need an API key and your Organization ID.Create a Pinkfish account
Sign up at pinkfish.ai if you don’t have an account.
Create an API key
Go to Settings → API Keys → Create. Copy the key immediately — it’s only shown once.

New API keys may take up to 60 seconds to activate.
How It Works
Every API call follows two steps:- Authenticate — Exchange your API key for a short-lived runtime token (JWT, 60 min)
- Call a tool — Send a JSON-RPC 2.0 request to the MCP Farm with your token
Quick Start
Requirescurl and jq. Replace YOUR_API_KEY and YOUR_ORG_ID with the values from the steps above.
To use application MCPs like Google or Microsoft services (Gmail, Slack, Google Drive, etc.), you will additionally need to retrieve a PCID. See the Connecting to MCPs documentation to learn how.
Key Concepts
| Concept | Description |
|---|---|
| API Key | Account credential. Exchange for a runtime token. |
| Runtime Token | JWT from /auth/token. Bearer token for all MCP requests (60 min). |
| MCP Farm | JSON-RPC 2.0 gateway over HTTPS. |
| Server | Tool collection (e.g. gmail, web-search). |
| Tool | Callable action (e.g. search_googlesearch, gmail_search_emails). |
| PCID | Connection ID. Required for OAuth integrations (Gmail, Slack). |
Base URLs
| Service | URL |
|---|---|
| Platform API | https://app-api.app.pinkfish.ai |
| MCP Farm | https://mcp.app.pinkfish.ai |
| PinkConnect | https://proxy.pinkfish.ai |
Learn More
| Page | Description |
|---|---|
| Authentication | API keys and runtime tokens |
| MCP Protocol | Request format, list servers, call tools |
| Connecting to MCPs | PCIDs and external integrations |
| Discovery | Find tools using natural language |
| Discover, Install, and Invoke | Find tools at runtime, add to agent, call them |
| Bring Your Own Agent | System prompt for connecting your own agent |
| Pinkfish Agents | Create, invoke, and manage Pinkfish agents |
| Code Execution | Sandboxed JavaScript for chaining tools |
| Browser Automation | Natural language browser automation |
| Workflows | Automations with triggers and scheduling |

