内容
[](https://mseep.ai/app/kukapay-whoami-mcp)
# WhoAmI MCP Server
[](https://smithery.ai/server/@kukapay/whoami-mcp)
一个轻量级的MCP服务器,可以准确告诉你是谁。
<a href="https://glama.ai/mcp/servers/@kukapay/whoami-mcp">
<img width="380" height="200" src="https://glama.ai/mcp/servers/@kukapay/whoami-mcp/badge" alt="whoami-mcp MCP server" />
</a>



## 特性
- 返回系统用户名作为你的名字,你的身份。
- 快速且同步执行,适合本地LLM(大语言模型)集成。
## 安装
### 通过Smithery安装
要通过[Smithery](https://smithery.ai/server/@kukapay/whoami-mcp)自动安装WhoAmI for Claude Desktop:
```bash
npx -y @smithery/cli install @kukapay/whoami-mcp --client claude
```
1. **克隆仓库**
```bash
git clone https://github.com/kukapay/whoami-mcp.git
```
2. **客户端配置**
```json
{
"mcpServers": {
"whoami": {
"command": "uv",
"args": ["--directory", "path/to/whoami_mcp", "run", "main.py"]
}
}
}
````
## 使用
### MCP工具
- **名称**: `whoami`
- **描述**: 检索当前系统用户的用户名作为你的名字。
- **输出**: 你的名字。
## 许可证
该项目根据MIT许可证进行许可。有关详细信息,请参见[LICENSE](LICENSE)文件。