A kos owner needs a few answers every day: which rooms are free, who lives where, who has paid up to when, what came in and went out this month, and whose lease ends soon. KostCloud keeps those answers in one workspace per owner. Owners get it through the AgentBuff marketplace, sign in with their AgentBuff account, and can hand the same daily work to their own AI agent over MCP.
The problem
Running a boarding house (kos) is a stream of small records: which rooms are free, who lives where, who has paid up to which month, what the building cost this month, and whose lease ends next week. Each answer is simple on its own. Together they decide whether rooms stay full and whether money arrives on time.
KostCloud began as an app built for a single boarding house. That app was shaped around one owner: tenants had their own accounts and booked rooms online, admins had more rights than the owner, and a chat assistant sat inside the panel. It could not serve a second owner.
The rebuild turned it into a service for many owners. Every table that holds kos data now carries the owner it belongs to, public reservations and tenant logins were removed, the owner got full rights in the panel, and the built-in assistant gave way to an MCP endpoint, so each owner can use whichever AI agent they already have.
| Before | In KostCloud |
|---|---|
| BeforeOne boarding house per installation, locked to a single owner | In KostCloudMany owners on one service, each in a separate workspace |
| BeforeTenants booked online and had their own accounts | In KostCloudTenants are internal records and only get a private biodata link |
| BeforeA chat assistant built into the owner panel | In KostCloudAn MCP server with 14 tools that any AI agent can connect to |
| BeforePlacement logic repeated in several payment paths | In KostCloudOne allocation service used by the panel, approvals and MCP |
| BeforeOwner sign-in with Google only | In KostCloudOwner sign-in with AgentBuff, with access checked against the marketplace |
The rules that matter most in daily work moved into one place. A tenant is placed in a room only when a payment is recorded, an extension continues from the end of the paid period, and a full room refuses a new tenant whether the request comes from the panel or from an agent.
Who uses it
| Who | What they do |
|---|---|
| WhoKos owner | What they doSigns in with AgentBuff, sets up room types and rooms, records tenants and payments, reads cash flow and reports, and creates MCP tokens for an AI agent |
| WhoAdmin staff | What they doSigns in with the email and password the owner gave them and does the daily work on the same kos; every page they open lands in the owner's audit trail |
| WhoTenant | What they doHas no account; receives a private link and fills in their own biodata and documents from a phone |
| WhoAI agent | What they doConnects with the owner's bearer token and can read the dashboard, add rooms and tenants, record payments and pull report data for that kos only |
| WhoAgentBuff | What they doSigns the owner in, answers whether the owner still has access, and can create the MCP token for the owner's agent automatically |
From marketplace to first payment
People and the agent work through the same services, so the rules are the same for both.
Get KostCloud
From the AgentBuff marketplace, sign in with AgentBuff
Set up
Four-step checklist and a guided tour
Record tenants
A private link lets tenants complete their biodata
Record payment
Places the tenant and sets the paid period
Watch the kos
Dashboard, cash flow, notifications, audit trail
Hand work to an agent
The same tasks over MCP, logged as agent actions
A new owner gets a workspace on the first sign-in. The dashboard opens with a four-step checklist that ticks itself as room types, rooms, tenants and the first payment appear, and a guided tour explains each part of the screen. The tour runs once per page and can be replayed from the Panduan button.
Inside the product
The executive dashboard shows income, pending income, expenses, the net result and a projection for next month, next to a monthly cash flow chart and room occupancy. Rooms are grouped by floor and carry a status: available, occupied or maintenance. Room types hold monthly and daily prices, capacity, facilities and photos.
An agent that sees one kos
KostCloud has no AI inside. The owner keeps the agent they already use, and the app holds no AI keys. An agent connects to the /mcp endpoint with a bearer token that the owner created, and the server works out the owner from that token on every call.

- Read and report: dashboard summary, rooms, room types, tenants, transactions and report data.
- Create and update: add rooms and tenants, change a room's status, record a payment.
- Delete, with guards: a room must be empty, a tenant must have moved out, a room type must be unused.
- Same rules: tools write through the same services as the web forms, so a full room refuses an agent too.
There is no approval queue in KostCloud, so the control sits with the owner in three places: the owner decides which agent gets a token, every agent action appears in notifications and in the audit trail marked as an AI agent action, and any token can be revoked from the MCP page at once.
AgentBuff as the door
As Founder and CEO of AgentBuff, I lead the product and connected KostCloud to the AgentBuff marketplace: the access gate, Sign in with AgentBuff and the automatic MCP connection. Sign-in, access checks and token installation come from the marketplace, so KostCloud keeps no billing logic of its own.
How the owner's agent gets connected
Sign in with AgentBuff
OpenID Connect with PKCE; the app checks issuer, audience, expiry and nonce, and a first-time owner gets a new workspace.
Access gate
On later requests the app asks AgentBuff whether access is still active and caches the answer.
Automatic MCP token
AgentBuff proves itself with a short-lived ES256 assertion; a replayed token id is refused, and the owner's previous automatic token is revoked.
Installed on the agent
The new token goes to the owner's agent, which can then work on that one kos.
How it is built
Tenancy by owner
Kos data carries owner_id, and admins resolve to the owner they work for, so every query is scoped to one kos.
One allocation service
Panel payments, approvals and the MCP tool place tenants through the same code inside one database transaction.
Private files
Payment proofs stream from private storage and open only for the owner or admins of the same kos.
Separate sign-in paths
Owners cannot use the password form; admin sign-in is rate limited per email and address, and failed attempts are logged.
Reports as files
Reports are generated as PDF and as Excel, so the owner can share them or keep working in a spreadsheet.
Simple to run
Docker Compose with the app and MySQL 8, plus a daily job that looks for leases about to end.
Run your kos from one place
KostCloud is live at kos.agentbuff.id, and the showcase on GitHub walks through every screen.
Questions people ask
- A web app on the AgentBuff marketplace for boarding house owners in Indonesia: rooms, tenants, payments, cash flow and reports in a separate workspace per owner, with admins and an MCP server for AI agents.
- No. The old built-in assistant was removed. The owner connects their own AI agent through MCP with a token they control, and the app holds no AI keys.
- No. Every MCP tool resolves the owner from the bearer token and scopes its queries to that owner's kos.
- The panel and the MCP endpoint freeze, and the kos data stays in place, so an owner who renews continues where they stopped.





