Integration guide

apifare for JetBrains (Junie)

Give JetBrains (Junie) one prepaid key for every API it needs. There is no separate provider account or provider API key for eligible capabilities, and it all runs under hard caps and a kill switch.

Get a key

1 · Get a key

Create an account at /start: email in, token out (shown once). Save the token somewhere safe.

2 · Add apifare to JetBrains (Junie)

Junie, the JetBrains coding agent, runs MCP servers. In your IDE open Settings | Tools | Junie | MCP Settings and add this server, or put it in ~/.junie/mcp/mcp.json yourself. A .junie/mcp/mcp.json inside a repo applies to that project only, so keep your token out of files you commit. The Junie CLI reads the same file.

{
  "mcpServers": {
    "apifare": {
      "command": "npx",
      "args": ["-y", "apifare-mcp"],
      "env": { "APIPAY_TOKEN": "<your-token>" }
    }
  }
}

Replace <your-token> with your token. Check the Status column in MCP Settings and expand the server to see its tools; in the Junie CLI, /mcp shows it as Active. JetBrains AI Assistant has separate MCP settings; this guide uses Junie because its docs show where the token goes.

3 · Try it

Ask Junie to search the web for X, then to fetch a URL, then what's the weather in London. Every call is debited from your balance and lands on your signed, exportable audit chain.

4 · Stay in control

Set daily or monthly caps per agent, and keep the kill switch ready. Both are checked before a call is dispatched. When the balance runs out, your agent gets an HTTP 402 with a top-up link it can hand you; the error catalog lists every stop and what unblocks it.

What JetBrains (Junie) can call

Everything on the key: search, filings, registries, weather, and ready-to-run tools, plus any provider key you vault yourself. Exact per-call prices are on /capabilities.

Config checked against JetBrains (Junie)'s MCP docs on 2026-09-13. Markdown version: /integrations/jetbrains.md.

More integrations

Claude Code · Claude Desktop · Cursor · Windsurf · Zed · Cline · GitHub Copilot (VS Code) · OpenAI Codex CLI · Gemini CLI · Hermes Agent · Kimi CLI · Qwen Code · Warp · Raycast · n8n · Dify · LangChain · LangGraph · CrewAI · Vercel AI SDK · LobeHub · AnythingLLM · OpenClaw · OpenAI Agents SDK · LlamaIndex · Mastra · Goose · LibreChat

Model guides

Calling a model's API directly instead? Give it apifare tools with a plain tool loop: DeepSeek · Kimi · Qwen · OpenAI GPT · Gemini.