Basic information
About mcp-server
mcp 서버 개발하기
mcp-server is a MCP server in the Other category listed in the AddMCP.net directory, published by zusdn90. Supported transport: stdio. Runtime: node. License: BSD-3-Clause. Source code is hosted on github.com. Related topics: bmi-calculator, mcp-server, python, weather.
Setup
{
"mcpServers": {
"mcp-server-zusdn90": {
"command": "python",
"args": [
"server.py"
]
}
}
}
{
"mcpServers": {
"mcp-server-zusdn90": {
"command": "python",
"args": [
"server.py"
]
}
}
}
{
"servers": {
"mcp-server-zusdn90": {
"command": "python",
"args": [
"server.py"
]
}
}
}
mcp-server — by zusdn90 config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-zusdn90": {
"command": "python",
"args": [
"server.py"
]
}
}
}
mcp-server — by zusdn90 tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is mcp-server?
mcp-server is a Python-based MCP (Model Context Protocol) server example that provides two simple tools: BMI calculation and weather retrieval. It demonstrates how to build an MCP server using the fastmcp library.
How to use mcp-server?
Install dependencies (pip install httpx fastmcp), then run the server with python server.py. The server exposes two tools: calculate_bmi (takes weight in kg and height in m, returns BMI) and fetch_weather (takes a city name, returns current weather via a mock API endpoint).
Key features of mcp-server
- BMI calculator from weight and height
- Weather lookup by city name
- Built with Python and
fastmcp - Uses
httpxfor async HTTP requests - Demonstrates MCP tool definition and execution
Use cases of mcp-server
- Learning how to create a Python MCP server
- Prototyping simple MCP tools for health or weather data
- Testing MCP client–server interactions with a minimal example
Frequently asked questions
1 What is mcp-server?
mcp-server is a minimal MCP server example written in Python that showcases defining and running tools using the fastmcp library.
2 What are the main features of mcp-server?
It includes two tools: calculate_bmi (calculates Body Mass Index) and fetch_weather (retrieves current weather for a city).
3 What dependencies are required to run mcp-server?
You need httpx and fastmcp. Install them with pip install httpx fastmcp.
4 How do I start the server?
Run python server.py in the terminal after installing dependencies.
5 Are there any usage examples?
Yes. The README shows Python code for both tools: calculate_bmi(weight_kg, height_m) and fetch_weather(city) using httpx and fastmcp decorators.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In