👑 Premium Sign in Sign up

AI02 · GenAI, RAG, MCP & agents

MCP Server with Typed Tools & Audit

Add a tool to the mock MCP server, describe it with a schema and see every call written to the audit log.

📶 L300⏱ 75 min🧪 Live lab

🎯 You will learn to

  • Describe tools with JSON Schema
  • Keep tools scoped
  • Audit calls

🧪 Live environment

Runs entirely in your browser: nothing is installed, no real cloud account is used and your code is never sent to our server.

Loading the lab…

✅ Steps & checkpoints

🗺️ Adding an audited tool

A new tool is registered with a schema; every call is checked and written to an append-only audit log.

Adding an audited toolA new tool is registered with a schema; every call is checked and written to an append-only audit log.DeveloperRegisternew toolInputschemaMCP serverAgentAudit logwho, what, whenResultcallPerson / clientTool / stepData storeAPI / gatewayAI model / agentOperationsApp / UI

The 2D diagram shows the exact flow, ports and trust boundaries. The 3D scene is a concept view of the same parts; packets travel along the same arrows.

🤔 Think about it

What should never be returned by a tool to the model?

🛡️ Safety & cost

The agents are deterministic simulations: no model is called and no real tool is executed. Write tools always need human approval.

🧹 Cleanup

Nothing to clean up.

📚 Reference documents

Official sources, checked on 5 Nov 2026. Cloud services change often; check the official page before relying on a feature. All references