Model Context Protocol (MCP) - satyamsingh1004/LLM GitHub Wiki

  • The Model Context Protocol (MCP) is a standardized open-source framework, developed by Anthropic, that enables AI models like large language models (LLMs) to interact with external tools and data in a consistent, structured way. It essentially provides a universal connector for LLMs to interact with APIs, databases, and other business applications
  • MCP provides a common interface for AI models to access external resources, reducing the need for unique integrations for each tool
  • MCP follows a client-server model, where AI models (clients) send requests to external services (servers) that provide access to data and tools
  • the Model Context Protocol (MCP), a new standard for connecting AI assistants to the systems where data lives, including content repositories, business tools, and development environments.
  • Instead of maintaining separate connectors for each data source, developers can now build against a standard protocol.
  • MCP provides a standardized way to connect AI models to different data sources and tools.

How it works

  • An AI model (client) sends a request to an MCP server, specifying the desired action and any required parameters.
  • The MCP server processes the request and returns the necessary information or data.
  • The AI model can then use the returned information to perform the requested task or integrate with the external tool.

Reference

General architecture

  • At its core, MCP follows a client-server architecture where a host application can connect to multiple servers

image