AI服务器工具

LimeAI MCP Server是一个基于Python的AI服务器工具,用于快速部署和管理AI模型,适用于开发者在本地或云端环境中进行AI模型的开发和测试。

  • by liuwenlonghub
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 liuwenlonghub/limeai-mcp-server

使用说明

LimeAI MCP Server (Python)

环境要求

  • Python 3.10 或更高版本。

1. 设置环境

首先,我们来安装uv:

MacOS/Linux

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

2. 获取 LimeAI MCP Server

# LimeAI Mcp Server 官方开源仓库下载
git@github.com:liuwenlonghub/limeai-mcp-server.git
cd limeai-mcp-server

# 创建虚拟环境并激活
uv venv
source .venv/bin/activate

# 安装依赖
uv add "mcp[cli]" httpx

获取 LIMEAI_ACCESS_TOKEN

  • 登录 LimeAI(www.limeai.net) > 个人资料 > 访问令牌

3. 在Cursor中使用

Cursor -> Preferences -> Cursor Settings -> MCP -> Add new global MCP

添加以下配置内容(其它MCP客户端类似):

{
  "mcpServers": {
      "limeai-mcp-server": {
        "command": "uv",
        "args": [
          "--directory",
          "{YOUR_PATH}/limeai-mcp-server/",
          "run",
          "main.py"
        ],
        "env": {
        "LIMEAI_ACCESS_TOKEN": "<USER_LIMEAI_ACCESS_TOKEN>"
        }
      }
    }
}

回到配置,此时 LimeAI MCP Server已经启用