Protocols and standards that connect AI

15 min read
MCP: one standard connector between AI apps and the tools they useAI applicationchat app, IDE or agentMCP clientone connectionper serverJSON-RPCMCP server: GitHubtools · resources · promptsGitHubMCP server: databasetools · resources · promptsCompany databaseMCP server: filestools · resources · promptsFile systemBuild a server once and any MCP-compatible app can use it. Servers run with real permissions: install only trusted ones.

As AI systems connect to data, tools and each other, shared protocols matter as much as the models. Here are the ones worth knowing.

1. Model APIs: how apps talk to models

Applications send an HTTPS request with a list of messages (system, user, assistant), settings (model, max tokens, temperature) and optional tool definitions, and get back a response, often streamed token by token.

  • Major providers have their own APIs (OpenAI's Chat Completions and Responses APIs, Anthropic's Messages API, Google's Gemini API).
  • The OpenAI-compatible request format has become a de facto standard: many open-model servers and gateways accept it, making it easier to swap models.
  • Tool and function definitions are described with JSON Schema, the common language for "this function takes these parameters." Structured outputs use JSON Schema to guarantee response shape.

2. Model Context Protocol (MCP): connecting models to tools and data

Before MCP, every AI app needed a custom integration for every data source: a classic N×M problem. MCP, introduced by Anthropic in November 2024 as an open standard, defines one way for AI applications to connect to external systems.

  • An MCP server exposes capabilities from a system (GitHub, Slack, a database, a file system, a company API).
  • An MCP client, inside an AI application such as a chat app, IDE or agent, connects to servers.
  • Servers offer three main things: tools (actions the model can call), resources (data it can read) and prompts (reusable templates).
  • Communication uses JSON-RPC messages, over a local connection or over HTTP for remote servers, with OAuth for authorization.

Think of it as "USB-C for AI": build a connector once and any MCP-compatible app can use it. It was rapidly adopted across the industry, including by OpenAI, Google and Microsoft, and in late 2025 it moved to neutral governance under the Linux Foundation's Agentic AI Foundation.

Security note: an MCP server runs with real permissions. Install only trusted servers, grant least privilege, and watch for tool descriptions or returned content that try to inject instructions.

3. Agent-to-agent protocols

A2A (Agent2Agent), launched by Google in 2025 and now hosted by the Linux Foundation, lets agents built by different vendors discover each other (through an "agent card" describing their skills), delegate tasks and exchange results. MCP connects an agent to tools; A2A connects agents to other agents.

4. Conventions for agents working in software

  • AGENTS.md: a plain markdown file in a code repository telling coding agents how to build, test and follow the project's conventions (similar files include CLAUDE.md).
  • Agent Skills: packaged folders of instructions and scripts an agent can load when relevant, published by Anthropic as an open format.
  • llms.txt: a proposed file that gives AI systems a clean, markdown summary of a website.
  • robots.txt for AI crawlers: websites use it to allow or block AI companies' crawlers (for example GPTBot, ClaudeBot, Google-Extended).

5. Model file formats

FormatUsed for
safetensorsSafe, fast storage of model weights (the Hugging Face standard; avoids code-execution risks of older formats)
GGUFCompressed (quantized) models for running locally with llama.cpp and Ollama
ONNXPortable format to move models between frameworks and hardware

6. Provenance and trust

  • C2PA content credentials: a standard, backed by Adobe, Microsoft, Google, OpenAI and others, that attaches signed metadata to images, video and audio showing how they were created or edited, including by AI.
  • Watermarking: invisible signals embedded in generated content (for example Google's SynthID).
  • Model cards and system cards: standard documentation of a model's intended use, evaluations and limits.

Why protocols matter

Protocols decide whether the AI ecosystem is open and interoperable (any model, any tool, any agent) or a set of walled gardens. They also decide where security and governance controls can be applied. Expect these standards to keep evolving; the concepts (messages, tool schemas, servers that expose capabilities, agents that discover each other, signed provenance) are the stable part.

Check your understanding

Check 1 of 2Module 7 · The AI ecosystem: players and protocols

What problem does the Model Context Protocol (MCP) mainly solve?

Check 2 of 2Module 7 · The AI ecosystem: players and protocols

Which standard attaches signed information to an image showing it was generated or edited by AI?

Answer the checks, then mark this lesson complete
Completion and scores are saved in this browser.