<工具 Claude Desktop>配置 Whois MCP 用于 whois 查询
原因:
这个工具比较方便,用于查询 IP / 主机的信息
原文连接:https://github.com/bharathvaj-ganesan/whois-mcp
介绍:
不翻译了,挑重点的说:
Claude Desktop 有 WHOIS 查询能力 = NS Lookup
配置 Whois MCP:
1. 安装 Node.js
确保你的 Windows 11 计算机上安装了 Node.js
因我计算机上有,过程略...
2. 修改 claude_desktop_config.json 文件
编辑 C:\Users\你的用户名\AppData\Roaming\Claude\claude_desktop_config.json
如果新纯新:
{
"mcpServers": {
"whois": {
"command": "npx",
"args": [
"-y",
"@bharathvaj/whois-mcp@latest"
]
}
}
}
下面是我在用的配置文件,但里面使用 “我的用户名” 替代 原ID
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"\\\\davens\\Multimedia\\2024-MyProgramFiles"
]
},
"brave-search": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-brave-search"
],
"env": {
"BRAVE_API_KEY": "BSAC9BzrEeWjl9DPXGsdXIzcfNUnyh5"
}
},
"fetch": {
"command": "python",
"args": ["-m", "mcp_server_fetch"]
},
"blender": {
"command": "uvx",
"args": [
"blender-mcp"
]
},
"windows-cli": {
"command": "npx",
"args": [
"-y",
"@simonb97/server-win-cli",
"--config",
"C:\\Users\\我的用户名\\Documents\\win-cli-config.json"
]
},
"whois": {
"command": "npx",
"args": [
"-y",
"@bharathvaj/whois-mcp@latest"
]
}
}
}
3. 启动 MCP server
4. 重启 Claude Desktop
Whois MCP 演示:
小锤子 +4
来自上一篇:<工具 Claude Desktop>配置 Windows CLI MCP Server 安全的命令行交互功能 受控访问 PowerShell, CMD, Git Bash 与 SSH 5分钟搞定-CSDN博客
Whois MCP 与 Fetch MCP 搭配,可以直接得到更多的信息