El TornilloCounterEspañol

MCP server + AI agent with tool use · demo

Ask like you would at the counter.

An AI agent works the counter through an MCP server's tools: it searches the catalog, checks stock, prices it with the discount rules and builds the quote. Every price on the pegboard comes from the server, not from the AI's text.

Server tools:
  • buscar_producto
  • consultar_stock
  • precio
  • crear_presupuesto
read-only by default

Counter

Try one of these or type your own question.

Pegboard

Recorded example · ask and it's replaced

Returned by buscar_producto · 8.9 s

  • ET-HE-0186

    Taladro percutor 12 V Andamio

    Andamio

    Stock: 92

    ARS 113,170

    List per unit

  • ET-HE-0228

    Taladro percutor 12 V Ferrobra

    Ferrobra

    Stock: 43

    ARS 82,750

    List per unit

  • ET-HE-0271

    Taladro percutor 18 V Caño Bravo

    Caño Bravo

    Only 2 left

    ARS 106,360

    List per unit

  • ET-HE-0002

    Taladro percutor 18 V Llavecita

    Llavecita

    Only 1 left

    ARS 107,150

    List per unit

  • ET-HE-0097

    Taladro percutor 18 V Patagón Tools

    Patagón Tools

    Stock: 100

    ARS 115,190

    List per unit

  • ET-HE-0050

    Taladro percutor 500 W Brillo Sur

    Brillo Sur

    Stock: 77

    ARS 71,990

    List per unit

  • ET-HE-0143

    Taladro percutor 650 W Patagón Tools

    Patagón Tools

    Stock: 29

    ARS 71,820

    List per unit

How it works

  1. Chat

    The clerk or the customer asks.

  2. Gemini agent

    Picks the tool to call and answers with structured output.

  3. HTTP + token

    Talks to the server over streamable HTTP with a Bearer token. Claude Desktop uses stdio.

  4. MCP server

    Validates every input with Zod and queries Postgres.

    • buscar_producto
    • consultar_stock
    • precio
    • crear_presupuesto
  5. Audit log

    Every call is recorded with its arguments, result and duration.

Read-only by default: crear_presupuesto (create quote) only exists with FLAG_WRITE=true. In this demo it is on, over an in-memory database with fictional data that resets itself.