ygmrs/mcp-server
3.2
If you are the rightful owner of mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The MCP Server is a service that provides a Model Context Protocol (MCP) server for MCP Web Clients, enabling seamless integration and communication between clients and the server.
Tools
1
Resources
0
Prompts
0
MCP Server
A service that exposes a Model Context Protocol (MCP) server for MCP Web Clients.
Project Structure
mcp-server/
├── pyproject.toml
├── README.md
├── server.py
├── uv.lock
Prerequisites
Python 3.12 uv (Python package manager / runner)
Setup
- Create project directory:
mkdir mcp-server
cd mcp-server
- Initialize with uv (Python 3.12)
uv init --python 3.12
uv python install 3.12
uv python pin 3.12
- Install dependencies:
uv sync
Run Server
uv run server.py
Expected Output
The server starts on port 3001 and prints:
============================================================
MCP SERVER STARTED
============================================================
Port: 3001
Dev User ID: u_f3a1c2b4-8d7e-4b9a-9c3f-8a12d4e5b6c7
Session TTL: 60 minutes
Available tool: weather_forecast
Remote MCP Server URL (paste this into your MCP client):
http://127.0.0.1:3001/api/mcp/s/eyJ0eXAiOiJKV1QiLCJhbGciOi.../mcp
How to connect:
1) Copy the URL above
2) In your MCP client: Settings → Connectors → Add custom connector
3) Paste the URL into “Remote MCP server URL” and save
4) Test prompt: What’s the weather in New York?
============================================================