Gen-AI Developer Classroom notes 05/May/2026

JSON-RPC

  • This defines the structure of communication payload
  • Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "user.getById",
  "params": { "id": 42 }
}
  • Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "id": 42,
    "name": "Alice"
  }
}

Sampling

  • This is a concept where mcp server uses llm associated with client to get some llm response

How does the communication happen

  • Prompt
Explain mcp message exchages between client and server visually
  • To be discussed tomorrow
How to design an mcp server for sales

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading