What a protocol is

A protocol is an agreed set of rules for exchanging messages.

It defines which messages may be sent, what information each message contains, and what a valid reply looks like. Two programs written by different people can cooperate because both follow the same agreement.

Think of a standard electrical socket. It does not make electricity or build the lamp. It gives both sides a shape they can share.

MCP is an agreement between programs.