烹饪单位转换器 MCP 服务器是一个提供烹饪单位转换工具的 MCP(模型上下文协议)服务器,能帮助用户便捷地在不同烹饪单位间进行转换。
本烹饪单位转换器 MCP 服务器能为你提供各种烹饪单位的转换功能,下面为你介绍其安装和使用方法。
要通过 Smithery 自动安装 Cooking Units Converter for Claude Desktop,可使用以下命令:
npx -y @smithery/cli install @sellisd/mcp-units --client claude
git clone git@github.com:sellisd/mcp-units.git
cd mcp-units
uv pip install . # 正常使用
# 或者
uv pip install -e . # 开发模式
该服务器提供的转换工具如下:
体积转换
重量转换
温度转换
uvx --with . python -m mcp_units.server
此 MCP 服务器可以与支持模型上下文协议的 VSCode 扩展集成。以下是配置方法:
.roo/mcp.json 中配置扩展:{
"mcpServers": {
"units": {
"command": "uvx",
"args": [
"--with",
".",
"python",
"-m",
"mcp_units.server"
],
"disabled": false
}
}
}
本项目采用 MIT License 许可证。