概览
What is WhoAmI MCP Server?
A lightweight MCP server that returns the system username, revealing the current user’s identity. It is designed for local LLM integration, providing a fast, synchronous way for an AI model to know who is interacting with it.
How to use WhoAmI MCP Server?
Clone the repository, configure your MCP client with the provided JSON (using uv to run main.py), or install automatically for Claude Desktop via Smithery using npx -y @smithery/cli install @kukapay/whoami-mcp --client claude. The server exposes a single tool called whoami that returns the system username.
Key features of WhoAmI MCP Server
- Returns the current system username as your identity.
- Fast and synchronous execution for low latency.
- Ideal for local LLM integration and automation.
- Lightweight, relying only on Python 3.10+.
Use cases of WhoAmI MCP Server
- Providing a local AI assistant with the current user’s name for personalized responses.
- Debugging or logging the identity of the user running an MCP workflow.
- Allowing an LLM to tailor its behavior based on the system user without network calls.
FAQ from WhoAmI MCP Server
What does the whoami tool return?
It returns the username of the current system user.
What runtime or dependencies are required?
Python 3.10 or higher is required. No additional external dependencies are mentioned.
How can I install WhoAmI MCP Server?
You can install it via Smithery (for Claude Desktop) or by cloning the repository and configuring the MCP client with the provided JSON command (uv --directory path/to/whoami_mcp run main.py).
Where does the server get the username from?
It retrieves the username from the local operating system where the server runs.
Is there any authentication or transport configuration?
The README does not specify authentication details; the setup relies on standard MCP client‑server transport (e.g., stdio) as defined in the client configuration.