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]
Recommend MCP Servers 💡
ExternalAttacker-MCP
An MCP server for external attack surface management that provides automated scanning capabilities via a natural language interface
text-to-cad-mcp
Connects to the gNucleus API to allow MCP clients to generate CAD models from text input using GenAI models.
gistpad-mcp
📓 An MCP server for managing your personal knowledge, daily notes, and re-usable prompts via GitHub Gists
mvf1-cli
A Python package and command line interface to control video players for MultiViewer For F1, the best way to watch Formula 1.
GXtract
GXtract MCP Server for VS Code, forks and other editors; provides tools for interacting with GroundX
mcp-clean-code
MCP server for planning and creating clean, well-structured code with comprehensive English comments