MCP Server Basic Example
About this app: This is a basic example of a Model Context Protocol (MCP) server implementation that demonstrates core functionality including tools and resources.
Installation
Clone this repository
git clone https://github.com/dorisashehi/mcp.git
cd mcpcrashcourse
uv venv .venv\Scripts\activate
uv add "mcp[cli]"
uv add -r requirements.txt
To run the server: uv run mcp dev main.py
To run in terminal: uv run server/client.py
Technologies
Weather API – for getting weather alerts.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A basic Model Context Protocol server implementation that demonstrates core MCP functionality including tools and resources. Provides weather alerts through the Weather API and serves as a learning example for MCP development.