Skip to main content
Glama
ekaibide

Last.app MCP Remote Bridge

by ekaibide

Last.app MCP リモートブリッジ

Last.appのMCPをClaude Desktop用のリモートエンドポイントとして公開するHTTPサーバーです。

.pluginのインストールやCoworkを必要とせず、URL経由でカスタムMCPとして追加することで、Claude DesktopをLast.appのMCPに接続できます。

クイックデプロイ

オプション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 となります。

Related MCP server: helppilot-mcp

Claude Desktopの設定

デプロイ後、Claude Desktopに以下を追加します:

  1. Settings → Extensions に移動します

  2. 「追加」(または「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}

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    A local MCP server that integrates with Claude Desktop, enabling RAG capabilities to provide Claude with up-to-date private information from custom LlamaCloud indices.
    225
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A local MCP server that connects Claude Desktop to your HelpPilot tenant on pilot.helpvisor.gr, forwarding tool calls and prompts over HTTPS.
    Academic Free v1.1
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that exposes your local Claude Code CLI over HTTP+SSE, enabling any MCP-compatible client to use your Claude Code MAX/PRO subscription remotely.
    4 npm
    2
    MIT