Authorization: Bearer <token> for MCP Farm requests and other authenticated Pinkfish API calls.
This runtime token is the bearer credential for the MCP Farm. The same token also authenticates other Pinkfish API calls — for example PinkConnect connection management (see Connecting to MCPs).
Create API Credentials
- Settings → API Credentials → Create Credential
- Copy the Client ID and Client Secret immediately (the secret is shown once)
- Note your Organization ID (shown on the same page)
New credentials may take up to 60 seconds to activate.
OAuth 2.0 Client Credentials (Recommended)
Exchange your Client ID and Client Secret for an access token using the standard OAuth 2.0 Client Credentials grant (RFC 6749 Section 4.4).Authorization: Basic header:
Response:
Legacy API Key Exchange
The original token exchange endpoint is still available for backward compatibility.
Response:
{ "token": "eyJhbGciOi..." }
Example Call to Weather MCP
Use the token to call an MCP server. Here’s an example calling the Weather service to get a forecast:Bootstrap Script
Get token and export it. Requirescurl and jq.

