jstoppa commited on
Commit
d72e3c5
·
verified ·
1 Parent(s): bb00a5e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +71 -1
README.md CHANGED
@@ -9,4 +9,74 @@ app_file: mcp_task_client.py
9
  pinned: false
10
  license: mit
11
  short_description: MCP Task Manager CLI
12
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  pinned: false
10
  license: mit
11
  short_description: MCP Task Manager CLI
12
+ ---
13
+
14
+ # Model Context Protocol (MCP) Example Implementation
15
+
16
+ This repository demonstrates the implementation of the Model Context Protocol (MCP), a standardized approach for managing context in AI/ML models.
17
+
18
+ To get more details, look at the post [How to create an MCP server and client with an LLM](https://jstoppa.com/posts/how-to-create-an-mcp-server-and-client-with-an-llm/post/)
19
+
20
+ ## Overview
21
+
22
+ MCP (Model Context Protocol) is a protocol designed to standardize how context is handled when working with AI/ML models. This example repository shows how to implement and use MCP in your projects.
23
+
24
+ ## Getting Started
25
+
26
+ ### Prerequisites
27
+
28
+ - Python 3.8 or higher
29
+ - pip (Python package installer)
30
+
31
+ ### Setup Virtual Environment
32
+
33
+ #### Windows
34
+ First, open Command Prompt and follow these steps:
35
+
36
+ 1. Create and navigate to your project directory:
37
+ ```bash
38
+ cd mcp_example
39
+ ```
40
+
41
+ 2. Create a virtual environment:
42
+ ```bash
43
+ python -m venv app
44
+ ```
45
+
46
+ 3. Activate the virtual environment:
47
+ ```bash
48
+ venv\Scripts\activate
49
+ ```
50
+
51
+ 4. Your prompt should now show "(venv)" at the beginning, indicating the virtual environment is active.
52
+
53
+ 5. Install required packages:
54
+ ```bash
55
+ pip install -r requirements.txt
56
+ ```
57
+
58
+ #### macOS
59
+ Open Terminal and follow these steps:
60
+
61
+ 1. Create and navigate to your project directory:
62
+ ```bash
63
+ mkdir mcp_example
64
+ cd mcp_example
65
+ ```
66
+
67
+ 2. Create a virtual environment:
68
+ ```bash
69
+ python3 -m venv venv
70
+ ```
71
+
72
+ 3. Activate the virtual environment:
73
+ ```bash
74
+ source venv/bin/activate
75
+ ```
76
+
77
+ 4. Your prompt should now show "(venv)" at the beginning, indicating the virtual environment is active.
78
+
79
+ 5. Install required packages:
80
+ ```bash
81
+ pip install -r requirements.txt
82
+ ```