https://github.com/will8ug/mcp-study-python
https://github.com/will8ug/mcp-study-python
mcp mcp-client mcp-server
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/will8ug/mcp-study-python
- Owner: will8ug
- License: mit
- Created: 2025-07-31T13:35:50.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-31T13:42:54.000Z (11 months ago)
- Last Synced: 2025-08-13T10:32:47.863Z (11 months ago)
- Topics: mcp, mcp-client, mcp-server
- Language: Python
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MCP Weather Demo
This project demonstrates basic usages of the Model Context Protocol (MCP) with a Python server and client.
## Structure
- `mcp_server/`: MCP server exposing a weather tool
- `mcp_client/`: MCP client with a CLI to ask weather questions
## Setup
1. Ensure you have Python 3.13+ and [uv](https://github.com/astral-sh/uv) installed.
2. Install dependencies:
```sh
uv venv
source .venv/bin/activate
uv pip install git+https://github.com/modelcontextprotocol/python-sdk.git
```
## Running the Server
Refer to [Server README](mcp_server/README.md)
## Running the Client
In a separate terminal (with the virtual environment activated):
Refer to [Client README](mcp_client/README.md)