
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
メンブレンhq/mcp-server は [https://github.com/membranehq/mcp-server. からインポートされた MCP サーバーの候補です
概要
メンブレンhq/mcp-server は [https://github.com/membranehq/mcp-server. からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
メンブレン MCP Server は、モデルコンテキストプロトコル (MCP) サーバで、メンブレン上で接続された統合をツールとして提供します。
アプリケーションでこのMCPサーバーを使用する方法を示す当社の公式AIエージェントの例です。
📋 site
- Node.js(v18以上)
- メンブレンアカウント
## ◀ インストール
## # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
開発サーバーをローカルで実行するには、次のようにします。
サーバは [http://localhost:3000 に ライブ されます。
🧪 実行テスト
OST デプロイメント
このMCPサーバーのインスタンスを、選択したクラウドホスティングサービスにデプロイします。
################################################################################################################################################################################################################################################################
このプロジェクトには、コンテナ化された簡単なデプロイメント用のDockerfileが含まれています。
#MCP サーバーに接続する
このMCPサーバーは2つのトランスポートをサポートしています。
| 輸送 | エンドポイント | ステータス | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | SSE(サーバ・セント・イベント) | [[T1] | 1956年 定例** — MCP 仕様の 2020年11月5日時点で廃止予定 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Membrane MCP Server
The Membrane MCP Server is a Model Context Protocol (MCP) server, it provides actions for connected integrations on Membrane as tools.
Here’s our official AI Agent Example that shows you how to use this MCP server in your application.
📋 Prerequisites
- Node.js (v18 or higher)
- A Membrane account
⚙️ Installation
git clone https://github.com/membranehq/mcp-server.git
cd mcp-server
npm install
npm run build
🛠️ Local Development
To run the development server locally, start it with:
npm run dev
The server will be live at http://localhost:3000 ⚡️
🧪 Running tests
# Run the server in test mode
npm run start:test
# then run tests
npm test
🚀 Deployment
Deploy your own instance of this MCP server to any cloud hosting service of your choice.
🐳 Docker
The project includes a Dockerfile for easy containerized deployment.
docker build -t membrane-mcp-server .
docker run -p 3000:3000 membrane-mcp-server
🔗 Connecting to the MCP server
This MCP server support two transports:
| Transport | Endpoint | Status |
|---|---|---|
| SSE (Server‑Sent Events) | /sse |
🔴 Deprecated — deprecated as of November 5, 2024 in MCP spec |
| HTTP (Streamable HTTP) | /mcp |
🟢 Recommended — replaces SSE and supports bidirectional streaming |
🔐 Authentication
Provide a Membrane access token via query or Authorization header:
?token=ACCESS_TOKEN
Authorization: Bearer ACCESS_TOKEN
SSE (Deprecated)
await client.connect(
new SSEClientTransport(
new URL(
`https:///sse`
)
{
requestInit: {
headers: {
Authorization: `Bearer ${ACCESS_TOKEN}`,
},
},
}
)
);
Streamable HTTP (Recommended)
await client.connect(
new StreamableHTTPClientTransport(
new URL(`https:///mcp`)
{
requestInit: {
headers: {
Authorization: `Bearer ${ACCESS_TOKEN}`,
インストール
docker run -p 3000:3000 membrane-mcp-server設定
{
"mcpServers": {
"membrane": {
"url": "https://<HOSTED_MCP_SERVER_URL>/sse?token={ACCESS_TOKEN}"
}
}
}