# Procfu — how to use (mcp.ai)

Connect your Procfu account and use 12 tools for developer tools straight from your AI agent. Connect with your own API key. ProcFu enhances Podio's capabilities by providing a suite of automation tools and functions, enabling users to create scripts, mini apps, and integrate with various services to streamline workflows.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_procfu?ms=1787293440000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `procfu_array_diff_del`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/procfu`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/procfu/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/procfu/array/diff/del` — Tool to return items removed when comparing two JSON arrays. Use when you have two arrays and need to know which elements were deleted.
  - body: { json_array_a: string|integer|number|boolean|object[], json_array_b: string|integer|number|boolean|object[] }
- `POST https://api.mcp.ai/api/procfu/array/diff/new` — Tool to return items added in the second JSON array. Use when you need to identify new elements between two list versions. Example: Compare [1,3,4] vs [1,3,6] to get [6].
  - body: { json_array_a: string|integer|number|boolean|object[], json_array_b: string|integer|number|boolean|object[] }
- `POST https://api.mcp.ai/api/procfu/array/diff/same` — Tool to get items present in both JSON arrays. Computes the intersection locally to avoid external API dependency. Rules: - Two items are considered equal if their JSON representations match (with sor
  - body: { json_array_a: string|integer|number|boolean|object[], json_array_b: string|integer|number|boolean|object[] }
- `POST https://api.mcp.ai/api/procfu/array/sort` — Tool to sort a JSON array of values. Use when you need to order elements ascending or descending.
  - body: { reverse?: boolean, json_array: string|integer|number|boolean|object[] }
- `POST https://api.mcp.ai/api/procfu/copy/podio/files/to/ftp` — Tool to copy files matching a pattern from a Podio item to an FTP server. Use when you need to transfer specific files from Podio to an external FTP/SFTP location based on file name patterns.
  - body: { pattern: string, conn_name: string, directory: string, podio_item_id: integer }
- `POST https://api.mcp.ai/api/procfu/dummy/data` — Tool to generate dummy data. Use when you need random emails, text, numbers, dates, people, addresses, or images for testing or placeholder data.
  - body: { type: string }
- `POST https://api.mcp.ai/api/procfu/google/drive/delete` — Tool to delete a Google Drive file or folder. Use after obtaining a valid Google Drive ID.
  - body: { google_id: string }
- `POST https://api.mcp.ai/api/procfu/open/ai/gpt` — Tool to ask a question to OpenAI GPT. Use when you need a conversational answer from GPT.
  - body: { model?: string, prompt: string }
- `POST https://api.mcp.ai/api/procfu/open/ai/image` — Tool to generate an image via OpenAI API. Use when you need programmatic image creation from a text prompt.
  - body: { prompt: string, orientation: string }
- `POST https://api.mcp.ai/api/procfu/sheets/get` — Tool to get sheet contents as array. Use when you need to retrieve Google Sheet data as an associative array.
  - body: { range: string, sheet_id: string }
- `POST https://api.mcp.ai/api/procfu/sheets/get/metadata` — Tool to retrieve metadata of a Google Sheets spreadsheet, including sheet names, IDs, and properties. Use when you need sheet-level details for a given spreadsheet ID.
  - body: { spreadsheet_id: string }
- `POST https://api.mcp.ai/api/procfu/upload/podio/item/image` — Tool to upload a remote image file by URL to a Podio item image field. Use when you need to attach an image from a web URL to a specific field in a Podio item.
  - body: { hook?: boolean, silent?: boolean, headers?: string, file_url: string, podio_item_id: integer, image_field_id: string }

## Example prompts
- "What can I do in Procfu?"
- "Show me a summary of my Procfu account"

## More
- Page: https://mcp.ai/procfu
- Agent spec (llms.txt): https://mcp.ai/procfu/llms.txt
- Postman collection: https://mcp.ai/procfu/postman.json
