# apifare for Dify One prepaid, capped key for every API your agent needs, under hard caps and a kill switch. 1. Get a token: https://apifare.com/start?origin=page:integrations-dify (shown once). 2. Go to Integrations → Tools, choose MCP, and click Add MCP Server (HTTP). Fill in these fields; the header goes on the Headers tab (Add Header). Type the word Bearer and a space before your token. Custom headers need Dify 1.9.0 or later. ``` Server URL: https://apifare.com/mcp Name & Icon: apifare Server Identifier: apifare Header Name: Authorization Header Value: Bearer ``` Replace with your token. Click Add & Authorize: Dify imports the apifare tools, and the server card shows how many it included. Use them in an Agent app, or in a Workflow or Chatflow as a Tool node. 3. Try it: "search the web for X", then "fetch a URL", then "what's the weather in London". 4. Caps and the kill switch are checked before dispatch. An empty balance returns HTTP 402 with a top-up link (see /errors.md). Prices: https://apifare.com/capabilities. Config checked against https://docs.dify.ai/en/cloud/use-dify/workspace/tools#mcp on 2026-09-13.