MCPInstall
handsome-server-python logo

handsome-server-python

by Yantha6 1 stars Yantha6/handsome-server-python

A simple server based on MCP (Model Context Protocol) that provides a whoishandsome utility function.

READMEmain

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: 1257330051@qq.com Email: yangtianhan01@gmail.com

More Developer Tools MCP servers

Similar servers from the same category.

Sourcebot

sourcebot-dev

Enables code search across multiple repository hosts including GitHub, GitLab, Gitea, Gerrit, and Bitbucket with advanced filtering options for exploring large codebases through natural language queries.

searchgit

CodeAlive

codealive-ai

Provides a bridge to CodeAlive's platform for semantic code search, repository exploration, and context-aware chat completions that leverage deep understanding of entire codebases including documentation and dependencies.

search

Provides a secure, sandboxed environment for executing Python, Node.js, and shell commands in ephemeral containers with file management capabilities for code testing, visualization, and data analysis.

filesystemdatabase

NovaCV

lightbaby

Integrates with NovaCV API to generate, analyze, and convert resumes in various formats without dealing with complex document formatting

PDFSupport+5