- Explore MCP Servers
- handsome-server-python
Handsome Server Python
What is Handsome Server Python
handsome-server-python is a simple server based on the Model Context Protocol (MCP) that provides a utility function called who_is_handsome.
Use cases
Use cases for handsome-server-python include chatbots that provide humorous responses, interactive games, or any application that aims to engage users with playful content.
How to use
To use handsome-server-python, create a virtual environment and install the dependencies using the command uv venv followed by uv pip install -e .. Configure the server in ~/.cursor/mcp.json and run it with uv run handsome.py.
Key features
The key feature of handsome-server-python is the who_is_handsome() function, which returns a friendly message indicating who the most handsome person is.
Where to use
handsome-server-python can be used in applications that require a light-hearted interaction or a fun utility within a larger system, particularly in social or entertainment platforms.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Handsome Server Python
handsome-server-python is a simple server based on the Model Context Protocol (MCP) that provides a utility function called who_is_handsome.
Use cases
Use cases for handsome-server-python include chatbots that provide humorous responses, interactive games, or any application that aims to engage users with playful content.
How to use
To use handsome-server-python, create a virtual environment and install the dependencies using the command uv venv followed by uv pip install -e .. Configure the server in ~/.cursor/mcp.json and run it with uv run handsome.py.
Key features
The key feature of handsome-server-python is the who_is_handsome() function, which returns a friendly message indicating who the most handsome person is.
Where to use
handsome-server-python can be used in applications that require a light-hearted interaction or a fun utility within a larger system, particularly in social or entertainment platforms.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
A Simple MCP Handsome Server written in Python
这是一个基于 MCP (Model Context Protocol) 的简单服务器,提供了一个 who_is_handsome 工具函数。
功能
who_is_handsome(): 返回一个友好的消息,告诉你谁是最帅的人。
示例

安装
# 创建虚拟环境并安装依赖
uv venv
uv pip install -e .
配置
在 ~/.cursor/mcp.json 中添加以下配置:
{
"mcpServers": {
"handsome": {
"command": "uv",
"args": [
"--directory",
"/handsome-server-python",
"run",
"handsome.py"
]
}
}
}
注意:请根据你的实际项目路径修改 --directory 参数的值。
运行
uv run handsome.py
更多信息请参考 MCP Quickstart 教程。
联系我
Author: Tianhan Yang
QQ: 1257330051
Email: [email protected]
Email: [email protected]
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










