This repository contains the MCP (Model Control Protocol) demonstration project.
mcp-demo/
├── main.py # Main application entry point
├── tools/ # Utility tools and helper functions
├── tests/ # Test suite
├── .env # Environment variables (not tracked in git)
└── pyproject.toml # Project dependencies and configuration
-
Clone the repository:
git clone <repository-url> cd mcp-demo
-
Install uv (if not already installed):
curl -LsSf https://astral.sh/uv/install.sh | sh
-
Create and activate virtual environment using uv:
uv venv source .venv/bin/activate # On Unix/macOS # OR .venv\Scripts\activate # On Windows
-
Install dependencies using uv:
uv pip install -e .
-
Configure environment variables:
cp .env.example .env # Edit .env with your configuration
-
Activate the virtual environment (if not already activated):
source .venv/bin/activate # On Unix/macOS # OR .venv\Scripts\activate # On Windows
-
Run the main application:
python main.py
To run the test suite:
pytest
This project uses:
- Python for the core implementation
- uv for dependency management and virtual environments
- pytest for testing
- pyproject.toml for project configuration
[Add your license information here]