Ice Cream Truck MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Ice Cream Truck MCP ServerShow me the menu, then order two scoops of vanilla in a waffle cone"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Instrument your MCP server
Photo: Nhi Ly on Unsplash
Workshop material for "Instrument your MCP server" at Agentic Engineering Day NZ, Auckland, 21 October 2026.
You'll take an ordinary MCP server, an ice cream truck that will refund $9,000 against a $9 order if an agent asks, and add controls inside it: tool annotations, rate limiting, an audit trail, signed receipts, a policy check, and a scan of what goes back to the model.
Before the workshop
You need Node.js 22.22 or newer (node --version), git, and your usual AI
coding assistant. Then:
git clone https://github.com/agent-receipts/instrument-your-mcp-server.git
cd instrument-your-mcp-server
npm install
npm run preflightEvery npm run command in this workshop runs from this folder. Preflight
should end with "You're ready." If it doesn't, SETUP.md has the
details and a troubleshooting table. REFERENCE.md has more
on the truck, its tools and ToolGuard, if you want to read ahead.
Optional, for step 5: if your laptop has 16 GB of memory or more,
install Ollama and run ollama pull qwen3:8b (about
5 GB) before you arrive. You'll be able to watch a local model fall for a
prompt injection on your own machine. Without it, you'll see the same thing
on the presenter's screen.
Optional, for steps 6 and 7: Pipelock, and promptfoo fetched ahead of time. SETUP.md says how. Pairing or watching is fine too.
Related MCP server: tessera-mcp
During the workshop
A warm-up and five steps, each closing a gap in the truck, then two shorter
ones. Each step is
time-boxed and the room moves on together, finished or not: you're welcome
to write the code by hand, but when time's up, npm run catchup <n> and
carry on. If time runs short we may catch the room up through a step
together. Each has a brief:
Tool annotations (warm-up): let a client tell the harmless tools from the dangerous ones.
Rate limiting: stop the discount code being brute-forced.
Audit trail: record every decision, denials included, with secrets removed.
Signed receipts: make that record tamper-evident.
Policy: refuse the $9,000 refund, the unattended free scoop and the text to 12,403 phones.
Poisoned menu: keep a supplier's note to AI assistants off the menu the model reads.
Then two shorter, guided steps. They start from the end of step 5 and don't change the truck much, so there's nothing to catch up to. Each needs a tool the rest of the workshop doesn't (see SETUP.md); if you don't have it, pair with someone or watch.
A proxy in front: put Pipelock in front of the truck, and join its evidence to yours.
The attacks as tests: run the attacks through a model with promptfoo, and add one of your own.
After each one, npm run check <n> tells you whether it's done and, if not,
what's missing. Without Pipelock, npm run check 6 says SKIP, not FAIL.
From step 2, npm run log shows the server's log as a table, one line per
entry (npm run log -- --denied for refusals only). The raw file is still
the one to open and edit for the attacks.
If you fall behind, there are two ways to catch up. Use whichever suits you:
npm run catchup <n>putssrc/at the end of stepn(0 to 5). It saves anything it replaces invar/catchup-backup/, and doesn't need git.Branches.
step-0tostep-5hold the same states. Commit or stash your work first, thengit switch step-2. Compare your work with a finished step usinggit diff step-1 step-2 -- src.
Licence
The demo server is Apache-2.0. It uses Obsigna (@obsigna/sdk-ts,
Apache-2.0), a reference implementation of the Agent Receipts protocol (MIT).
This server cannot be deployed
Maintenance
Related MCP Connectors
See, price, and control every tool call your AI agents make: policy checks, cost, and audit tools.
Discover, inspect and run 63,000+ agent tools from one balance. Pay per call, no subscriptions.
x402 pay-per-call agent tools: token safety/honeypot check, speech to text, TTS, translate, OCR, web
191AgentGuard — 20-tool AI safety MCP: policy preflight, risk scoring, audit logging, rate limits.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables any AI agent to discover, query, and order from a restaurant's storefront via MCP tools. It handles menu lookup, modifier validation, and enforces a mandatory confirmation gate before payment, replacing the human-operated phone line.-
- AlicenseAqualityDmaintenanceEnables AI agents to manage a fictional B2B workspace SaaS (Tessera) with tools for ticketing, invoicing, customer management, and trial extensions, featuring a human-in-the-loop confirm pattern for safety.78 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage customer support for a fictional candle shop, including order lookup, customer file access, and safe refund processing with server-side safety rules.MIT
- AlicenseNot gradedqualityCmaintenanceEnables secure support-ticket and customer-account operations with signed JWT authentication, prompt-injection and tool-poisoning guardrails, and human-in-the-loop confirmation for destructive actions.MIT