This is a working setup for giving a CrewAI agent a remote MCP server where every tool call leaves a receipt someone else can check later. It uses CrewAI's standard MCPServerAdapter, a filtered tool list so the agent never sees payment tools, and a few lines that pull the receipt out of each result and verify it.
Everything below was run on December 1, 2026 with crewai 1.15.47, crewai-tools 1.15.47, mcpadapt 0.1.20 and mcp 1.30.0, against https://zambo.dev/mcp. No API key or account is needed for the server.
If you saw this error before: Fields must not use names with leading underscores; e.g., use 'caller_label' instead of '_caller_label'. That came from Zambo's tool arguments starting with an underscore, which CrewAI's Pydantic schema builder rejects. The server now publishes the arguments without the underscore (caller_label, session_id, zambo_key), and the adapter connects. If you hard-coded the old names, rename them; passing _caller_label now fails CrewAI's own validation with "Extra inputs are not permitted."
Install
pip install "crewai==1.15.47" "crewai-tools[mcp]==1.15.47"
Pin versions. CrewAI's MCP code changes often, and everything here is tied to these versions.
Connect and load the tools
from crewai_tools import MCPServerAdapter
params = {"url": "https://zambo.dev/mcp", "transport": "streamable-http"}
with MCPServerAdapter(params) as tools:
print("tools:", len(tools))
I ran this twice. Both runs printed tools: 39, with no schema errors.
On close, you'll see one log line: Session termination failed: 404. It showed up on every run: the server answers the client's end-of-session request with a 404. It didn't affect any results.
Only give the agent the tools it needs
Loading all 39 tools includes the ones that buy a Day Pass or change spend caps. A research agent doesn't need those, and the safest way to keep an agent from spending money is to never show it the tools. MCPServerAdapter takes tool names after the params, and only those are loaded:
import re, json, urllib.request
from crewai_tools import MCPServerAdapter
RECEIPT = re.compile(r"https://zambo\.dev/run/([0-9a-f-]{36})")
params = {"url": "https://zambo.dev/mcp", "transport": "streamable-http"}
SAFE = ["zambo_home", "capability_search", "activity_today", "handover",
"handover_accept", "handover_status", "prompt_shield", "pdf_extract"]
with MCPServerAdapter(params, *SAFE) as tools:
print("tools:", len(tools), sorted(t.name for t in tools))
print("payment tools exposed:",
any(t.name.startswith(("day_pass", "spend_limit")) for t in tools))
out = tools["zambo_home"].run(caller_label="crewai-researcher")
rid = RECEIPT.search(str(out)).group(1)
v = json.load(urllib.request.urlopen(
f"https://zambo.dev/api/v2/receipt/{rid}/verify"))
print("receipt:", rid, v["verification_status"],
v["receipt"]["caller"].get("label"))
My output:
tools: 8 ['activity_today', 'capability_search', 'handover', 'handover_accept',
'handover_status', 'pdf_extract', 'prompt_shield', 'zambo_home']
payment tools exposed: False
receipt: ecedff98-010f-4c71-b972-e3530d3562e6 verified crewai-researcher
Three things to notice:
- Tool names are the server's own names with this adapter (
zambo_home, not a prefixed version), so the list above is exactly what you pass. - The
caller_labelyou send ends up in the receipt. The verify endpoint returned it as the caller label, markedlabel_source: caller_reported. Use a label per agent role ("crewai-researcher", "crewai-writer") and you can tell later which agent made which call. It's self-reported, so treat it as a tag, not proof of identity. - Arguments are described now. CrewAI builds each tool's argument model from the server's schema, so the model sees descriptions like "Optional caller label recorded as a caller-reported claim in the receipt." Your agent no longer has to guess what to pass.
Hand the tools to an agent
from crewai import Agent, Task, Crew
with MCPServerAdapter(params, *SAFE) as tools:
researcher = Agent(
role="researcher",
goal="Answer with sources, using Zambo tools for lookups",
backstory=("Always pass caller_label='crewai-researcher'. "
"Copy the receipt link from every tool result into your answer."),
tools=tools,
)
task = Task(
description="Read {url} with pdf_extract and summarise the key requirements.",
expected_output="Five bullet points, then the receipt link for each tool call.",
agent=researcher,
)
Crew(agents=[researcher], tasks=[task]).kickoff(inputs={"url": "https://example.com/spec"})
I didn't run a model in this test: the runs above connect, load tools, and call one tool directly. With a model attached, the agent calls the same tools the same way. Check the first few runs to make sure it actually copies the receipt links, because models skip instructions like that more often than you'd hope.
Save the receipt with the task output
A receipt only helps if someone can find it later. Pull the links out of every tool result and store them next to the task output:
RECEIPT_URL = re.compile(r"https://zambo\.dev/run/[0-9a-f-]{36}")
receipts = RECEIPT_URL.findall(str(result))
/api/v2/receipt/<id>/verify is a public GET, and it doesn't use any allowance. On the receipts I checked, the hash and canonical-payload checks passed, while issuer authentication, signature and chain were reported as not_checked. So "verified" means the saved result hasn't changed since it was recorded. It doesn't mean the answer is right, and it isn't a signature from a key you've pinned. The verify page shows the same checks in a browser, and the format is described at zambo.dev/aer-1.
Hand the crew's work to someone else
When the crew finishes, handover packs the goal, what was done, next steps and the receipts into one link another AI or a person can open. Another agent picks it up with handover_accept. The free policy, in the server's own words: one wrap-up per network per UTC day, and picking up a saved handover is always free. More wrap-ups in one day need an active pass. Details are in the handover docs.
Free limits, and what to do when you hit them
- Each metered tool gets one free call per network per UTC day, plus 3 continuation calls shared across tools. Reset is 00:00 UTC.
zambo_home,capability_search,activity_today,handover_acceptandhandover_statusdon't use the allowance. - A crew that loops is the classic way to hit the limit. When it happens, the call comes back refused with "Job saved", nothing runs, and nothing is charged. Tell the agent to stop and report on a refusal, not retry.
- If you need more: a Day Pass is $0.99 for 24 hours and a Zambo Pass is $29 for 30 days, both one payment with no renewal. Lifetime is $250 once, bought by a person at checkout. See the pricing page. Keep that decision with a person; that's why the payment tools are filtered out above.
Checklist
- Pin
crewaiandcrewai-tools. - Load only the tools the agent needs, and never the
day_pass_*orspend_limit_*tools. - Use argument names without underscores (
caller_label,session_id). - Give each agent role its own
caller_label. - Save receipt links with each task's output, and verify them with the public endpoint.
- Stop on refusals.
Setup for other AI clients is on the install page.
About the author
- Trust layer for AI work. Verifiable receipts for every AI tool call. MCP at https://zambo.dev/mcp
Comments
Join the discussionNo comments yet. Be the first to comment.