I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

mcp_server_client_example
3 years
Works with Finder
1
Github Watches
1
Github Forks
0
Github Stars
MCP Client & Server Example
Prerequisites
- Python 3.12 or higher
- uv (Python package installer and environment manager)
- Environment variables set up in
.env
file (for Anthropic API key)
Installation
-
Clone the repository
-
Install uv if you haven't already:
curl -LsSf https://astral.sh/uv/install.sh | sh
- Create and activate a new environment:
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install dependencies using uv:
uv pip install -e .
- Configure .env by copying
.env.example
to.env
and filling in your Anthropic API key:
Project Structure
- Simple client and server
-
weather_server.py
- MCP server implementation with weather service endpoints
-
-
Client example and Server example
-
weather_example.py
- Example implementation using the National Weather Service API -
client_example.py
- Interactive client with Claude AI integration
-
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Therapist adept at identifying core issues and offering practical advice with images.
Take an adjectivised noun, and create images making it progressively more adjective!
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.
Mirror ofhttps://github.com/agentience/practices_mcp_server
Mirror ofhttps://github.com/bitrefill/bitrefill-mcp-server
Reviews

user_l70BFNR2
mcp_server_client_example by xiaoye-hua is a fantastic resource for anyone interested in server-client architecture. The well-documented code and easy-to-follow examples make it a breeze to understand and implement. Highly recommended for both beginners and seasoned developers. Check it out at https://github.com/xiaoye-hua/mcp_server_client_example!