Lion Cipher Lab

Build your first MCP server: expose a security tool to an LLM (and test it with the MCP Inspector — no API key needed)

Why it matters

AI hosts are only as useful as the tools you let them reach. MCP (Model Context Protocol) is the emerging standard for that wiring — build the integration once as a server and any MCP-aware host can use it, instead of re-coding it for every app. For security work that's huge: it's how you safely hand an LLM a lookup, an enrichment, or a check without pasting data around by hand. Learning to build one small server — and to judge when you should — is the core skill behind every 'AI that can actually do things' workflow.

What you'll learn

Steps in this lab

  1. What MCP is, in plain terms
  2. Tools vs resources vs prompts, and the two transports
  3. When an MCP server is the right shape — and when a script is enough
  4. Set up an isolated environment and install the SDK
  5. Write the server: one small, SAFE security tool
  6. Test it with the MCP Inspector — no API key needed
  7. The security stakes — before you hand an LLM anything real
  8. Do it better: connect a real AI host (optional, still free)

Open the full interactive lab →