MCP.so
ログイン

MCP example Netlify Express

@lutfi-haslab

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

lutfi-haslab

MCP example Netlify Express について

概要はまだありません

MCP example Netlify Express の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-server-netlify": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "npx",
        "mcp-remote@next",
        "http://localhost:8888/mcp"
      ]
    }
  }
}

MCP example Netlify Express のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is MCP example Netlify Express?

It is a basic example site demonstrating how to develop and run a serverless Model Context Protocol (MCP) server using Netlify Functions and Express. The example is intended for developers who want to deploy MCP endpoints on Netlify with minimal setup.

How to use MCP example Netlify Express?

You can deploy your own version by clicking the "Deploy to Netlify" button, which clones the example, creates a Netlify project, and sets up an automated deployment pipeline. To run locally, clone the examples repository, install the Netlify CLI, run netlify dev in the examples/mcp/express-mcp directory, and then test using the MCP inspector with npx @modelcontextprotocol/inspector npx mcp-remote@next http://localhost:8888/mcp.

Key features of MCP example Netlify Express

  • Demonstrates serverless MCP with Netlify Functions and Express
  • Includes links to a deployed serverless function
  • Shows access via a customized URL using redirects
  • One-click deploy to your own Netlify account
  • Local development with netlify dev
  • Testable with the MCP inspector

Use cases of MCP example Netlify Express

  • Deploying a serverless MCP endpoint on Netlify
  • Learning to integrate Express with Netlify Functions for MCP
  • Testing MCP endpoints locally before deployment
  • Using as a template to build custom MCP servers

よくある質問

1

What does this example demonstrate?

It shows a very basic example of developing and running a serverless MCP server using Netlify Functions.

2

How do I deploy my own version?

Click the "Deploy to Netlify" button. This clones the example to your GitHub, creates a Netlify project, and sets up an automated deployment pipeline.

3

How do I run it locally?

Clone the examples repo, install the Netlify CLI, run `netlify dev` in the `examples/mcp/express-mcp` directory, and then use the MCP inspector or another client.

4

Why is the netlify.toml redirect needed?

It ensures that requests to the `/mcp` path are routed correctly to the Express server function, because of how Express handles route mapping.

5

What tools are required for local development?

You need Git, Node.js, the Netlify CLI (`npm i -g netlify-cli`), and optionally the MCP inspector (`npx @modelcontextprotocol/inspector`).

コメント

「クラウドとインフラ」の他のコンテンツ