Перейти к содержимому
Основное Панель управления

Dashboard

Your usage at a glance — from the last 24 hours of call records and the prepaid ledger.

Last 24 hours

Connect your tool

Pick a client for its setup block. Issue a connection token in the API keys panel below and, while this page is open, Copy inserts the real token (the block shows it masked).

Claude Code Guide
Shell
# Anthropic Messages is not served on api.mithril.fund (POST /v1/messages → 405).
# Run a translating proxy (LiteLLM, etc.), then point Claude Code at the proxy.
# The proxy calls OpenAI wire: https://api.mithril.fund/v1 with Bearer kc_pat_…

export OPENAI_BASE_URL="https://api.mithril.fund/v1"
export OPENAI_API_KEY="kc_pat_<your-token>"
# export ANTHROPIC_BASE_URL=http://127.0.0.1:4000   # local proxy
# export ANTHROPIC_API_KEY=anything                 # proxy holds the real token
# claude -p "Reply with exactly: OK"

Caveat: api.mithril.fund does not serve the Anthropic Messages wire (POST /v1/messages) yet — measured 405 on 2026-09-15. To use Claude Code, put a local proxy that translates Anthropic → OpenAI (LiteLLM, for example) in between and point ANTHROPIC_BASE_URL at it. See the Anthropic SDK page.

API keys

Issue and revoke connection tokens. A token is shown once.

Use from a CLI / IDE

Issue a connection token for a local CLI / IDE agent. It is shown once.

For OpenAI-compatible clients: KOTOBA_API_BASE=https://api.mithril.fund/v1 and KOTOBA_API_TOKEN=kc_pat_… (token shown once after issue).

What this token may do
Open the guide

Issued tokens —

Use from an agent

MCP-capable agents such as Claude Code read /mcp.json. The full guide is at /llms.txt and /ekyc.md. Tokens are revoked one by one from the list above; from that moment the API answers 401 token-revoked.