HA
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]
Transport:
stdio
Language: 
Created: 4/24/2025
Updated: 4/25/2025
Recommend MCP Servers 💡
react-analyzer-mcp
azer
MCP server for analyzing & generating docs for React code locally
2025-04-09
echo-mcp-server
devjiel
A simple MCP server that echoes back text messages.
2025-04-24
h0rv/d2-mcp
h0rv
A Model Context Protocol (MCP) server for working with D2: Declarative Diagramming, enabling seamless integration of diagram creation and validation into your development workflow.
2025-04-11
@exoticknight/mcp-file-merger
exoticknight
MCP server for merging multiple files into one
2025-03-14
sbarbett/pihole-mcp-server
sbarbett
An MCP server that exposes Pi-hole functionality as tools for AI assistants
2025-04-19
sse
@pydantic/mcp-run-python
pydantic
MCP server to run Python code in an isolated sandbox using Pyodide and Deno.
2024-06-21