# demo-mcp-server-client-implementation

> MCP Server

This repository demonstrates a Model-Context-Protocol (MCP) implementation with a backend service, MCP server, and AI chatbot client, showcasing how AI can store and retrieve custom information via a standardized MCP interface.

## Overview

- **Category:** AI
- **Language:** TypeScript
- **Stars:** 29
- **Forks:** 5
- **Owner:** mschwarzmueller
- **GitHub:** https://github.com/mschwarzmueller/demo-mcp-server-client-implementation
- **Created:** 2025-03-18T06:37:41+00:00
- **Updated:** 2025-03-25T16:22:29+00:00
- **Source:** https://model-context-protocol.com/servers/demo-mcp-server-client-implementation-chatbot

## Setup

## Setup

1.  Make sure you have Node.js 23.x or higher installed.
2.  Add a `.env` file inside the `client` folder (next to the `package.json` file there) and add the following content to it:

```
OPENAI_API_KEY=<your-open-ai-key>
```

3.  In each folder (`service`, `server`, `client`) run `npm install` to install required dependencies.

## Tools

## Available Tools

1.  Backend service/API (provides data to the MCP server).
2.  MCP server (exposes the backend service in a standardized way).
3.  MCP client (a simple AI chatbot that consumes the MCP server).
4.  AI chatbot (stores and retrieves custom information via the backend service).
