Last.app MCP Remote Bridge
Last.app MCP 远程桥接器
一个将 Last.app 的 MCP 作为远程端点暴露给 Claude Desktop 的 HTTP 服务器。
它允许通过 URL 将 Last.app 的 MCP 添加为自定义 MCP,从而将 Claude Desktop 连接到 Last.app,无需安装 .plugin 插件或运行 Cowork。
快速部署
选项 A:在安装了 Node.js 的服务器上
# 1. Copiar la carpeta lastapp-mcp-remote a tu servidor
# 2. Instalar dependencias
npm install
# 3. Arrancar
LASTAPP_API_KEY=393f8be1-5860-4b38-86ce-1993039cad3f node bridge.mjs服务器将在 http://tu-servidor:3000/mcp 启动。
要使其在后台运行,请使用 pm2:
npm install -g pm2
LASTAPP_API_KEY=393f8be1-5860-4b38-86ce-1993039cad3f pm2 start bridge.mjs --name lastapp-mcp
pm2 save选项 B:使用 Docker
# Construir imagen
docker build -t lastapp-mcp-remote .
# Arrancar contenedor
docker run -d \
--name lastapp-mcp \
-p 3000:3000 \
-e LASTAPP_API_KEY=393f8be1-5860-4b38-86ce-1993039cad3f \
--restart unless-stopped \
lastapp-mcp-remote选项 C:在 Render.com 上(免费托管)
将此文件夹上传到 Git 仓库 (GitHub/GitLab)
前往 render.com → New → Web Service
连接仓库
配置:
Build Command:
npm installStart Command:
node bridge.mjsEnvironment Variables:
LASTAPP_API_KEY=393f8be1-5860-4b38-86ce-1993039cad3f
部署
Render 会分配一个类似 https://lastapp-mcp-xxxx.onrender.com 的 URL。
MCP 端点将是 https://lastapp-mcp-xxxx.onrender.com/mcp。
在 Claude Desktop 中配置
部署完成后,在 Claude Desktop 中添加:
前往 Settings → Extensions
点击 "Add" (或 "Add custom MCP")
粘贴服务器 URL:
https://tu-servidor.com/mcp保存
开启新对话并测试:“昨天的销售情况如何?”
环境变量
变量 | 必需 | 默认值 | 描述 |
| 是 | — | Last.app 的 API 密钥 |
| 否 | 3000 | HTTP 端口 |
| 否 | — | 用于身份验证的共享密钥 |
| 否 |
| API URL |
| 否 | 30000 | 超时时间(毫秒) |
安全性
在生产环境中,建议:
使用 HTTPS(Render、Railway 等会自动提供)
配置
BRIDGE_SECRET以确保只有授权客户端可以连接不要直接将端口暴露在互联网上,请使用反向代理
验证是否正常工作
# Health check
curl https://tu-servidor.com/
# Debería devolver:
# {"name":"lastapp-mcp-remote","version":"0.1.0","status":"ok","activeSessions":0}This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ekaibide/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server