Skip to main content
Glama
ekaibide

Last.app MCP Remote Bridge

by ekaibide

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 上(免费托管)

  1. 将此文件夹上传到 Git 仓库 (GitHub/GitLab)

  2. 前往 render.com → New → Web Service

  3. 连接仓库

  4. 配置:

    • Build Command: npm install

    • Start Command: node bridge.mjs

    • Environment Variables: LASTAPP_API_KEY = 393f8be1-5860-4b38-86ce-1993039cad3f

  5. 部署

Render 会分配一个类似 https://lastapp-mcp-xxxx.onrender.com 的 URL。 MCP 端点将是 https://lastapp-mcp-xxxx.onrender.com/mcp

在 Claude Desktop 中配置

部署完成后,在 Claude Desktop 中添加:

  1. 前往 Settings → Extensions

  2. 点击 "Add" (或 "Add custom MCP")

  3. 粘贴服务器 URL: https://tu-servidor.com/mcp

  4. 保存

开启新对话并测试:“昨天的销售情况如何?”

环境变量

变量

必需

默认值

描述

LASTAPP_API_KEY

Last.app 的 API 密钥

PORT

3000

HTTP 端口

BRIDGE_SECRET

用于身份验证的共享密钥

LASTAPP_API_URL

https://api.last.app/v2

API URL

LASTAPP_TIMEOUT

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}
-
security - not tested
F
license - not found
-
quality - not tested

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