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 となります。

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}
-
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