mcpField
M
MCP

MCP

Local
github.com/edonyzpcDeveloper Tools0Updated 69w ago

About MCP

A Python project demonstrating personal MCP servers and clients for LLM workflows. It includes a US weather service example and an SSE server/client demo.

Key features

  1. 01US weather data server
  2. 02SSE server demo
  3. 03SSE client demo
  4. 04Server inspection with MCP Inspector

Use cases

  1. 01Query US weather data through an MCP host
  2. 02Run and test an MCP server over SSE

MCP support

Provides MCP server examples for US weather and SSE, plus clients that connect to them. The README also shows configuring a host and inspecting a server.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MCP

Personal MCP Servers and Clients for LLM

Setup

  1. init the project with uv
uv init --python=3.10 .
touch .gitignore .env
cat << EOF >> .gitignore
.env
.venv/
__pycache__/
EOF
  1. init python virtual environment
uv venv
source .venv/bin/activate
  1. install dependencies
uv add dashscope httpx mcp python-dotenv langchain langchain-core langchain-mcp-adapters langchain-community langgraph
  1. new a uv workspace as follows:
mkdir servers/sse_mcp

cd servers/sse_mcp

uv init --python=3.10 .

MCP Server

MCP Server Weather

This is the MCP server for the Weather service to get US weather data.

Project
# Create a new directory for our project
mkdir -p servers/weather-server-mcp

# Create virtual environment and activate it
uv venv
source .venv/bin/activate

# Create our server file
cd servers/weather-server-mcp
touch weather.py
MCP SSE Server

This is demo for running MCP server with SSE.

uv run sse --port 8000
Run
  1. Copy the server configuration file from the MCP Host, e.g. OpenCat README image
  2. Select the tool of this MCP server(weather)
  3. Chat in the Host, e.g. OpenCat README image

MCP Client

MCP Client for Weather Server

This is the MCP client for the Weather service to get US weather data.

Project
# Create project directory
mkdir -p clients/mcp-client

# Create virtual environment
uv venv
# Activate virtual environment
source .venv/bin/activate

# Create our main file
cd clients/mcp-client
touch clients/mcp-client/client.py
MCP SSE Client

This is demo for running MCP server with SSE.

# make sure the server is running, `uv run sse --port 8000`
uv run sse-client
Run
# to run the client which is connected to the weather mcp server
uv run ./clients/mcp-client/client.py ./servers/weather-server-mcp/weather.py

README image

Inspect MCP Server

npx @modelcontextprotocol/inspector \
  uv \
  --directory servers/weather-server-mcp \
  run \
  weather.py

README image

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.