cerver-backend
/cerver-backend
Pomaga podłączyć aplikację z czatem AI dla jej klientów przez Cerver, kontrolując koszt każdego klienta i limit wydatków.
- Autor
- eyal-gor ↗
- Repozytorium
- cerver-claude-plugin ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 04.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 4
Brak sygnałów. Repozytorium zmienione 04.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pomaga podłączyć aplikację z czatem AI dla jej klientów przez Cerver, kontrolując koszt każdego klienta i limit wydatków.
Oryginalny opis (EN)
Use when the user is building an app that needs an AI chat or AI feature for its own customers and wants to know what each customer costs, cap spend, or avoid putting a model key in the client. Wires the app to Cerver (cerver.ai) and uses the cerver MCP tools to try it.
Jak działa
- Setup
- Try it
- Wiring it into their code
Podgląd SKILL.md
---
name: cerver-backend
description: Use when the user is building an app that needs an AI chat or AI feature for its own customers and wants to know what each customer costs, cap spend, or avoid putting a model key in the client. Wires the app to Cerver (cerver.ai) and uses the cerver MCP tools to try it.
---
# Cerver as the AI backend for an app
Cerver runs the model calls for an app's end customers. Each chat is a session
tagged with the customer, so the app owner can see cost per customer and cap
spend per project. The provider key stays in Cerver, never in the client.
## Setup
1. The user needs a project key (`ck_…`) from https://cerver.ai/dashboard.
If `CERVER_KEY` isn't set, tell them to create a project there, copy its key,
and run `export CERVER_KEY=ck_…` before starting Claude Code.
2. Check it works with the `whoami` tool.
## Try it
- `open_chat` with a `customer_id` (an id from their app, never an email or
name) returns a `session_id`.
- `send_message` with that `session_id` returns the reply and its cost.
- If the result says "setup needed", no model ran: the project has no model
key and no credits. Pass on the steps it gives (add a key in the dashboard,
or at https://cerver.ai/quickstart#real-answers).
## Wiring it into their code
Server side only. Two HTTP calls to `https://gateway.cerver.ai`, with
`Authorization: Bearer $CERVER_KEY`:
1. `POST /v2/sessions` with
`{"compute":{"provider":"online"},"metadata":{"session_type":"chat","external_user_id":"<customer uuid>"}}`
→ `session_id`. `external_user_id` must be a UUID.
2. `POST /v2/sessions/<session_id>/run-llm` with `{"input":"<message>"}` →
a server-sent event stream: `text_delta` (reply text), `usage` (cost),
`notice` (setup hints, don't show these to end users), `done`.
Cost per customer: `GET /v2/account/usage-by-customer?days=30`.
Full guide: https://cerver.ai/quickstart
Wersje
W bazie nie ma innych skilli o nazwie cerver-backend.
Migawka bazy z 13.11.2026 · wersja paczki 2c8ec28033af (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100autopilot-loop
Zarządza autopilotem agenta three.ws przez narzędzia MCP: zakresy, limit wydatków, propozycje i cofanie działań. - 100roboflow-model-journey
Pomaga wybrać gotowy model wykrywający, segmentujący lub klasyfikujący obiekty bez trenowania, wypróbować go i podłączyć do endpointu projektu w Roboflow. - 90mcp-clients
Pokazuje, jak podłączyć Subscriby do klientów MCP, np. claude.ai, Cursor czy VS Code, i co zrobić, gdy połączenie nie działa.