MCP Decoded

Protocol fundamentals

Educational demo showing JSON-RPC 2.0 calls, tool discovery, and parameter schemas.
Learn Model Context Protocol mechanics step-by-step.

← Back to Home
🎯 MCP Protocol Demo
Use localhost if running locally, or remote after CORS is deployed
Protocol Steps:
Educational demo of pure MCP protocol
📡 Protocol Activity
🔗 Follow the 3 steps to learn MCP protocol...
📖 Understanding MCP Protocol
🌟 What is MCP Protocol?

Model Context Protocol (MCP) uses JSON-RPC 2.0 for tool communication:

  • JSON-RPC 2.0 - Standard remote procedure call protocol
  • Tool Discovery - Dynamic detection of available functions
  • Parameter Schemas - Type-safe function definitions
  • Error Handling - Standardized error codes and messages
Educational Focus: This demo shows raw MCP protocol implementation - perfect for understanding how AI assistants communicate with external tools under the hood.
🔄 Protocol Flow
  1. 🔌 Initialize Connection - Establish protocol handshake
  2. 🛠️ List Available Tools - Discover server capabilities
  3. 📞 Call Tools with Parameters - Execute remote functions
📊 Message Format
{
  "jsonrpc": "2.0",
  "method": "tools/list",
  "id": 1
}
🎯 Learning Objectives
  • Understand JSON-RPC 2.0 structure
  • See tool discovery in action
  • Experience parameter validation
  • Learn error handling patterns