Mail Client MCP 是一个基于Python的邮件客户端,允许用户管理邮件配置、发送邮件以及阅读最新的未读邮件。它为Claude Desktop提供了MCP支持。
克隆仓库:
git clone https://github.com/gamalan/mcp-email-client.git
cd mcp-email-client
安装uv Linux/MacOS
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
安装依赖项:
uv sync
使用Claude Desktop的配置示例
{
"mcpServers": {
"mcp_email_client": {
"command": "uv",
"args": [
"run",
"--directory",
"D:\\Project\\RepoPath",
"mcp_email_client"
]
}
}
}
或在VsCode中
{
"servers": {
"any-name": {
"type": "stdio",
"command": "/path/to/uv",
"args": [
"run",
"--directory",
"/path/to/repo",
"run_mcp_server.py",
]
}
}
}