Console

Connect AI assistants to Effing Cloud

Effing Cloud has a built-in MCP server that gives AI assistants access to your account's reporting data: renders, function runs, errors, usage volumes, and estimated cost. Once connected, you can ask "how many renders failed yesterday?" or "which customer tag drove the most usage this month?" and the assistant pulls the numbers straight from your account. It can also manage the files in your account's asset storage (ASS): upload a soundtrack or an image, list what is stored, and delete files you no longer need. And, if you allow it, it can deploy your fn projects.

The server lives at https://cloud.effing.dev/mcp and works with any MCP client: Claude, ChatGPT, coding agents, or your own applications. Reporting is read-only: a connected assistant can read your reporting data but cannot render or change anything. Uploading and deleting assets, and deploying fn projects, are the only changes it can make, and only with your permission (see Uploading assets and Deploying fn projects). Every connection is scoped to a single account.

Connect from claude.ai

  1. In claude.ai, go to Settings → Connectors and choose Add custom connector.
  2. Paste https://cloud.effing.dev/mcp as the server URL and add the connector.
  3. Click Connect. claude.ai sends you to Effing Cloud, where you log in, pick the account to share, and approve access.

Connect from ChatGPT

  1. In ChatGPT, turn on Developer mode under Settings → Security and login, then open the Plugins page and click the + button to add your own.
  2. Paste https://cloud.effing.dev/mcp as the server URL and pick OAuth authentication.
  3. Connect. ChatGPT sends you through the same Effing Cloud login and approval flow.

Managing connections

Assistant connections use your Effing Cloud login, so there are no keys to copy. Each connection is pinned to the one account you picked when approving it; to switch accounts, disconnect and connect again. You can review and revoke connections under Connected apps on your profile page. Membership is checked on every request, so if someone removes you from an account, your connections to it stop working right away.

Connect from Claude Code and other MCP clients

Coding agents, scripts, and CI have no browser to log in with, so they use an API key instead. Create one on the Credentials page of the console. The key decides which account's data the client sees. For Claude Code:

claude mcp add --transport http effing-cloud https://cloud.effing.dev/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Any other MCP client that takes a server URL plus custom headers works the same way. Use the HTTP transport and send an Authorization: Bearer YOUR_API_KEY header.

Connect from the Claude or OpenAI API

Your own applications can attach the server through the Claude and OpenAI APIs. The Claude API's MCP connector needs three things on a Messages API request: the anthropic-beta: mcp-client-2025-11-20 header, the server in mcp_servers, and a matching mcp_toolset entry in tools:

"mcp_servers": [
  {
    "type": "url",
    "url": "https://cloud.effing.dev/mcp",
    "name": "effing-cloud",
    "authorization_token": "YOUR_API_KEY"
  }
],
"tools": [
  {
    "type": "mcp_toolset",
    "mcp_server_name": "effing-cloud"
  }
]

With the OpenAI API, use the mcp tool type of the Responses API and put the API key in the authorization field.

What the assistant can see and do

The server exposes 16 tools. These 12 are read-only:

ToolWhat it returns
fn_overviewOperational overview of fn: runs, errors, average and p95 wall-clock time, daily series.
fn_usageBillable fn usage: runs, output bytes, and billable CPU time over the last 7, 30 or 90 days or a from/to date range, optionally broken down by project, module or kind (each with error counts), or tag.
fn_list_projectsYour fn projects with their latest deployed version and recent-run info.
fn_list_deploymentsOne fn project's deployments, newest first: version, size, when and with which API key it was deployed, and which one is active with its modules.
fn_list_runsIndividual fn runs, filterable by project, module, kind, or tag.
fn_list_errorsIndividual fn run errors with error code and message, filterable by project, module, kind, or date range.
ffs_overviewOperational overview of ffs: renders, errors, render times, daily series.
ffs_usageBillable ffs usage: rendered pixels and render counts over the last 7, 30 or 90 days or a from/to date range, optionally broken down by API key or tag.
ffs_list_rendersIndividual ffs renders with dimensions, timing, and tags, filterable by tag.
ffs_list_errorsIndividual ffs render errors with error code and message, filterable by date range.
list_tag_namesThe tag names in recent use, so the assistant can discover what to filter by.
ass_list_assetsYour stored assets with their public URLs, plus storage used, reserved by uploads and deletions in progress, and your quota.

When your account has contracted rates, the usage tools also include estimated cost. Estimated from the account's contracted rates over this reporting window. Estimates exclude base fees and minimums and don't align with billing periods — never an invoice amount. Amounts are rounded independently, so breakdown rows may not sum exactly to the total.

These 3 change your account's asset storage:

ToolWhat it does
ass_create_uploadStarts an upload: reserves storage and returns a signed URL the assistant uploads the file to.
ass_complete_uploadFinishes an upload: checks the uploaded file and publishes it at its public URL.
ass_delete_assetDeletes an asset. Its URL stops working, so anything that still uses it breaks.

And this one lets the assistant deploy:

ToolWhat it does
fn_create_deploy_keyCreates a 15-minute API key limited to one fn project (creating the project if it is new), which the assistant uses to deploy with the effing-cloud CLI.

Uploading assets

ASS (asset storage) keeps the files your functions and effies use, such as soundtracks, images, video clips, and fonts, at stable public URLs on ass.effing.dev. Ask the assistant to upload a file and it starts an upload, sends the file straight to storage, and finishes the upload, after which it can give you the file's URL. Sending the file is a plain HTTP upload, so the assistant needs a way to make one: coding agents such as Claude Code do it with curl. Assistants that can't run commands, such as claude.ai in the browser, can still list and delete assets.

  • Files can be up to 100 MiB each, and an account can store 10 GiB unless agreed otherwise. Uploads in progress count toward that until they finish or expire, and so do deletions until the file is removed.
  • Allowed file types: audio/mpeg, audio/wav, audio/ogg, audio/mp4, audio/aac, audio/flac, image/png, image/jpeg, image/webp, image/gif, image/avif, image/qoi, video/mp4, video/webm, video/quicktime, font/ttf, font/otf, font/woff, font/woff2. Web pages, SVG, JSON, and other types are rejected.
  • Files are public to anyone who has the URL, and the URLs are hard to guess. Every upload gets a new URL, so to replace a file, upload the new version and delete the old one.
  • Deleting an asset frees its storage as soon as the file is removed, which is normally right away. If an upload of that asset may still be finishing, the storage stays counted until that upload can no longer land (at most an hour), and is then freed by your next upload or by deleting the asset again; until then the listing keeps showing it as reserved. If a deletion fails, the asset stays listed and counted, and you can simply delete it again. Its URL stops working within an hour, and any deployed function or effie that still uses it breaks.

Permission. API keys can use every tool. Connections made through claude.ai or ChatGPT ask for permission to upload and delete assets on the approval screen, as a checkbox next to reporting access; untick it to connect with reporting access only. Connections approved before asset storage existed, or with the checkbox unticked, keep their reporting access but can't upload or delete. To grant that later, disconnect the Effing Cloud connector in your assistant, connect it again, and leave the checkbox ticked.

Deploying fn projects

An assistant that can run commands, such as Claude Code, can deploy an fn project for you. It asks the server for a deploy key, an API key that works for one project and expires after 15 minutes, and then runs npx effing-cloud deploy with it in your project directory. The CLI builds and uploads the project exactly as it does when you run it yourself.

  • A deploy replaces what the project's production URLs serve within seconds. There is no rollback; the way back is to deploy the previous source again.
  • Deploying to a project that doesn't exist yet creates it, and projects can't be deleted, so check the project name the assistant proposes.
  • Deploy keys show up on the console's Credentials page, where you can revoke one before it expires. For connections made through claude.ai or ChatGPT, asking for a new key for the same project revokes the previous one, and revoking the connection under Connected apps on your profile page revokes every key it created. Removing the connector in the assistant alone doesn't revoke anything.
  • A deploy key can't read the project's URL secret from the API, so it can't be used to sign URLs with effing-cloud urls; the deploy prints signed preview URLs. Code it deploys does run with that secret, though, so only allow deploys for assistants you trust with the project.

Permission. API keys can use this tool. Connections made through claude.ai or ChatGPT can only deploy if you tick Deploy fn projects on the approval screen. That checkbox is never ticked for you. To allow deploys on an existing connection, disconnect the Effing Cloud connector in your assistant, connect it again, and tick the checkbox.

How to read the numbers

The tools follow the same two window conventions as the console's reporting pages:

  • Overview tools answer operational questions. Their window is rolling and hour-snapped — the last N×24 hours up to the current hour, INCLUDING today so far.
  • Usage tools answer billing questions. Their window is whole complete days — the last N days ending at last midnight, EXCLUDING today. Instead of a number of days, you can ask for an explicit date range of whole days, such as one calendar month.

So an overview total and a usage total for the "same" period will differ. That is the window convention at work, not a data problem. Both families share the same freshness caveat: Backed by hourly rollups (refreshed every hour, so data can lag up to ~1 hour) covering the last 100 days. The list tools read raw rows and are near-real-time.