Kevin Eaton

Packages · Private

Laravel AI Concierge

Install it in a Laravel app and your company's AI assistants can answer questions about the business. The first time one connects, it sits down with you and learns the company.

What it is

Your application already holds the answers. Somebody asks how many of the spring signups are still active, and the honest reply is a dashboard that does not have that cut, or a query somebody has to write.

The concierge turns the running application into something an AI assistant can ask. It is an MCP server that lives inside your Laravel app. Any assistant that speaks the Model Context Protocol can connect to it: a desktop chat app, a coding agent, or a tool of your own.

It is not one of the tools that help an AI write your code. Those read the codebase. This one talks about the business the code runs.

It starts with a conversation

A new install knows nothing and shows nothing. Every request for data is turned away.

The first time an assistant connects, the server hands it one job: set this up with the person in front of you, here in the chat. So the assistant interviews you.

  • What does the company do, and who are its customers?
  • Which parts of the data should an assistant be able to read? Everything starts switched off.
  • Which columns are sensitive? Those stay hidden, along with anything the application already hides.
  • What do your words mean here? What counts as an active customer, a sale, a refund?

AssistantThis server is new, so I cannot read anything yet. Let us set it up. In a sentence or two, what does the company do?

YouWe sell outdoor gear online. About 40,000 orders a year.

AssistantWhich parts of your data should I be able to read?

YouOrders, customers and products. Not the staff accounts.

AssistantCustomers has an email and a phone column. Keep those hidden?

YouYes.

AssistantLast one. When someone here says "active customer", what do they mean?

YouBought something in the last twelve months.

AssistantDone. I have written that down as the company notes, and set what I can read. Ask me anything about orders, customers or products.

An example of a first conversation. The words are the assistant's own each time. The steps come from the server.

When you have agreed on the answers, the assistant writes them down and applies them. Nothing is readable until you say so. Nobody edits a config file to get there, and nobody writes a prompt.

If you would rather use a terminal, the same setup runs as a command there.

What it writes down

The answers become notes that live on the server. There are a few kinds.

  • Company. What the business does, in a few paragraphs. This is the briefing a new hire gets on day one.
  • Vocabulary. What your words mean. This is where "active" gets its definition.
  • How-tos. The right way to answer a question that has a wrong way.
  • Cheat sheets. What lives where in the data, and what to watch for when counting it.
  • Memory. Things worth keeping that came up along the way.

Every assistant that connects after that has the same notes to read. The second person's assistant starts out with what the first person taught it.

It keeps learning, and it keeps the history

The notes are not written once. When an answer comes out wrong because a word meant something else, you say so, and the assistant updates the note.

Every change is saved as a new version, with who made it. Old versions are never overwritten. You can see what the assistants were taught, when, and by whom, and compare any two versions line by line.

Notes can build on each other, so one set can start from another and change only the parts that differ. And you can lock them, so that no assistant can change a word.

What it is like to use

YouHow many orders came in this month, by status?

Assistant1,204 paid, 37 refunded and 12 pending.

YouAnd how many active customers do we have?

Assistant8,930. I counted customers with an order in the last twelve months, which is how your notes define active.

No dashboard and no new report. The person asking does not need to know a table name. The assistant already does, because somebody told it once.

What it will not do

It points at real data. So the limits are built into the server, and not left to the assistant's good behavior.

  • It only reads. There is no way to change your data through it.
  • It reads only what you switched on. Hidden columns stay hidden, in the answers and in the log.
  • The assistant never sends SQL. It asks in a structured form, and the server builds the query.
  • Every answer has a row limit and a time limit.
  • Queries are written to an audit log, with who asked. Refusals are logged too.
  • The setup conversation can write two things: the list of what is readable, and the notes. It cannot write code or touch any other file. When setup is finished, it locks.
  • Nobody connects without a token. A token is shown once and stored only as a hash.

Where it came from

I built a company MCP server by hand first, and a team uses it every day. The concierge is that idea made general, so it can be dropped into any Laravel application.

Interested?

I keep Laravel AI Concierge private. If you would like it running in your company, or you want to talk through how it would fit, email me.

kevin@kevineaton.dev