The Model Context Protocol (MCP) is an open protocol that gives AI applications a standard way to connect to external tools and data. Without it, every pairing of app and tool needs its own integration. With MCP, any MCP server works with any MCP compatible client. The three roles Host: the AI application the user works in, such as a chat app or an IDE. Client: a connector inside the host. Each client keeps a one to one connection with one server. Server: a program that exposes capabilities, for example access to GitHub, a database or a file system. What servers expose Tools: actions the model can call, such as create issue or run query. Resources: data the application can read, such as files or records. Prompts: reusable prompt templates. Messages use JSON RPC 2.0 over a transport: stdio for local servers, or Streamable HTTP for remote ones.