MCP Client Demo
This web page demonstrates the use of Microsoft’s SDK for the Model Context Protocol (MCP), an emerging standard that enables large language models (LLMs) to interact with third-party services, tools, and data sources.
MCP provides a structured, interoperable way for models to perform actions beyond text generation, such as — querying databases, calling APIs, or executing custom logic, while maintaining a boundary between the model and the external systems.
More information about this SDK and MCP can be found at:
- Microsoft SDK for MCP: https://www.nuget.org/packages/ModelContextProtocol#readme-body-tab
- Introduction to MCP: https://modelcontextprotocol.io/introduction
- Node.js MCP Server mocked by this demo: https://www.npmjs.com/package/@modelcontextprotocol/server-everything
What are MCP Clients and Servers?
- MCP Client
- An MCP client acts as a bridge between a large language model (LLM) and the external tools or data it can access. The client defines which tools are available, how they work, and how the LLM can use them. When the model decides that a tool is needed to fulfill a user request—such as fetching weather data, running a search, or calling an API—it sends a structured request to the client.
- MCP Server
- An MCP server receives those tool invocation requests from the client and performs the actual work—querying a database, calling a REST API, or executing business logic. It then returns the result back to the client, which the LLM uses to continue the conversation or complete the task.
Demo
Click the button below to simulate a MCP Client asking an MCP Server for a list of tools (methods) and resources (files) available.