# mcp-example

> MCP Server

This repository provides an example of using the Model Context Protocol with a single tool, resource, and prompt, showcasing installation and usage of both the MCP server and client for interaction.

## Overview

- **Category:** AI
- **Language:** Python
- **Stars:** 2
- **Forks:** 0
- **Owner:** buraketmen
- **GitHub:** https://github.com/buraketmen/mcp-example
- **Created:** 2025-02-26T14:20:03+00:00
- **Updated:** 2025-03-23T15:05:03+00:00
- **Source:** https://model-context-protocol.com/servers/model-context-protocol-server-client-example

## Setup

## Setup

```bash
pip install uv
uv init
uv venv

.venv\Scripts\activate # Windows
source .venv/bin/activate # Mac/Linux

uv add mcp[cli] # Option-1
# or
uv add -r requirements.txt # Option-2
```

## Tools

## Available Tools

1. MCP Server (Runs the server using `mcp dev server.py`.)
2. MCP Host (Client) (Interacts with the server using `python client.py`.)
3. Inspector (Provides a web interface to inspect the MCP server details at http://localhost:5173/.)
