ShareYourGroupShareYourGroupAI Agents and MCP

AI agents and MCP

Plain explanations, read on 14 November 2026, with a server we really ran.

Start here

  1. What is an AI agent? The loop of asking, running a tool and reading the result.
  2. What is MCP? A standard way to connect AI applications to tools and data.
  3. How MCP is built: hosts, clients and servers, and the three kinds of things a server offers.
  4. A tiny MCP server: the code and the real messages we recorded.
  5. Security basics: read before you connect anything to real data.

The message checker

MCP messages are JSON-RPC 2.0 messages. Paste one above to see what kind it is (request, notification, response or error) and whether its shape is right. It checks the shape only: it does not run anything and sends nothing anywhere.

Did you use an AI model for the demos?

No. The loop uses a labelled stand-in function. The server and the messages are real.

Is this a tutorial for a particular product?

No. It follows the open MCP documentation and Anthropic's tool use documentation.

This is an independent guide. It is not connected with Anthropic or the MCP project. This field changes quickly: statements were read on 14 November 2026 from the pages named under Sources (the MCP site shows specification version 2026-07-28 in its page addresses). The demo server and the messages are real: we ran them with the official Python SDK (mcp 2.3.0). No AI model was used for the demos.