Skip to content

Connect a tool

Wire your favorite coding tool to HeyEly in minutes with one base URL and API key, or connect via MCP.

Want your coding agent to check balances, run models inside a spend cap, and manage its own scoped keys? Start with the MCP server.

Base URLs

OpenAI format
https://heyely.si/v1 Most SDKs and tools
Anthropic format
https://heyely.si Claude Code and the Anthropic SDK

Anthropic clients add /v1/messages themselves, so their base URL has no /v1. A doubled or missing /v1 returns 404.

Free credit. 3 requests from a coding tool, across 2 sessions, add $0.50 of free credit. How free credit works

Building directly with an SDK or HTTP client? Head to SDKs and clients.

Tools

Almost every setup guide (aside from Gemini CLI) follows the exact same three-step flow: generate a key, plug HeyEly into your tool, and verify the first call in Credit and usage. Using Aider, Roo Code, or another client that accepts a custom OpenAI or Anthropic endpoint? Check Other tools.

Operating a seat in the IMD agent swarm? Its worker wraps your local Claude Code or Codex install, so those guides apply with extra swarm notes in IMD worker.

MCP server

Connect the MCP server to Claude Code, Cursor, VS Code, or any remote MCP client supporting OAuth.

MCP tools

Browse every tool, prompt, and resource exposed by HeyEly's MCP server along with its parameters and scope rules.

Docs for agents

Feed these docs directly to your coding agent as clean Markdown instead of raw HTML.

Markdown twins

Append .md to any HeyEly documentation URL to fetch its Markdown twin.

curl https://heyely.si/docs/quickstart.md
curl https://heyely.si/docs/api-reference/chat-completions.md

The root docs index lives at https://heyely.si/docs.md. Each twin includes the page title, description, and full body in plain Markdown with expanded tables, parameter lists, and sequential tabbed snippets. Every HTML docs page also advertises its .md twin in the document head.

llms.txt

AddressReturns
/llms.txtA structured directory of every docs page grouped by section, complete with one-line summaries and URLs
/llms-full.txtThe complete documentation set concatenated as Markdown in reading order
curl https://heyely.si/llms.txt

Point an agent at /llms.txt when you want it to pick specific pages on demand, or load /llms-full.txt to drop the whole reference into a single context window.

Copy page

Click Copy page in the docs header to grab the current page as Markdown. The dropdown arrow beside it gives quick links to the .md twin and llms.txt so you can paste clean context straight into your agent.

What an agent needs to know

  • Use https://heyely.si/v1 for OpenAI-compatible clients and https://heyely.si for Anthropic-compatible clients.
  • Authenticate with HEYELY_API_KEY via either Authorization: Bearer or x-api-key.
  • GET /v1/models returns the full model catalog with pricing and requires no key.
  • GET /v1/key reports your key's limit, available backed credit, and any free credit along with its expiration date (credit_available excludes free credit).
  • Every POST inference response includes x-request-id. Once a request is accepted for a model, it shows up in Credit and usage under that ID even if the upstream provider times out; requests rejected before a hold opens do not appear.
  • Agents can also mint, rotate, and revoke scoped keys directly over the MCP server.
  • Check Errors for every status code and recommended fix.