# apifare for AnythingLLM 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-anythingllm (shown once). 2. Add this to plugins/anythingllm_mcp_servers.json in AnythingLLM's storage folder: ~/Library/Application Support/anythingllm-desktop/storage/ on macOS, %APPDATA%\anythingllm-desktop\storage\ on Windows, ~/.config/anythingllm-desktop/storage/ on Linux, or $STORAGE_LOCATION in Docker. The file appears once you open Settings → Agent Skills. ``` { "mcpServers": { "apifare": { "command": "npx", "args": ["-y", "apifare-mcp"], "env": { "APIPAY_TOKEN": "" } } } } ``` Replace with your token. Click Refresh on Settings → Agent Skills: apifare appears in the list, with any error shown on its card. Start a message with @agent to use the tools. The desktop app needs Node.js (for npx); the Docker image ships it. 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.anythingllm.com/mcp-compatibility/overview on 2026-09-13.