MCP.so
ログイン

MCP example Netlify Express

@srikaran7

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

srikaran7

MCP example Netlify Express について

概要はまだありません

MCP example Netlify Express の設定

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

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

MCP example Netlify Express のツール

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

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

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

概要

What is MCP example Netlify Express?

This is a basic example site for developing and running a serverless Model Context Protocol (MCP) server using Netlify Functions. It includes a deployed serverless function and demonstrates how to access it with a customized URL. It is aimed at developers learning to deploy MCP on Netlify.

How to use MCP example Netlify Express?

Deploy your own version by clicking the "Deploy to Netlify" button, which clones the repository and sets up automatic deployments. For local development, clone the examples repo, navigate to examples/mcp/express-mcp, install the Netlify CLI, run netlify dev, and then test using npx @modelcontextprotocol/inspector against http://localhost:8888/mcp. Ensure your netlify.toml redirects map /mcp to the correct function path.

Key features of MCP example Netlify Express?

  • Demonstrates serverless MCP using Netlify Functions
  • Includes Express route mapping for MCP endpoints
  • Provides a live demo site for testing
  • One‑click deploy to your own Netlify account
  • Local development with Netlify Dev
  • Works with the MCP inspector tool

Use cases of MCP example Netlify Express?

  • Learning how to deploy an MCP server on Netlify
  • Testing a serverless MCP endpoint locally
  • Understanding Express redirects for serverless functions
  • Starting point for building custom MCP integrations

よくある質問

1

How do I handle Express route mapping?

Because Express handles routes differently, you must set a `netlify.toml` redirect from `/mcp` to `/.netlify/functions/express-mcp-server` with `force = true` and `status = 200`.

2

What are the prerequisites for local development?

You need Node.js, the Netlify CLI (install with `npm i -g netlify-cli`), and to clone the examples repository.

3

Can I deploy my own version?

Yes, click the "Deploy to Netlify" button in the README to clone the example, create a Netlify project, and set up automated deployments.

4

Where can I see a live demo?

The demo site is hosted at https://mcp-example-express.netlify.app/.

5

How do I test the MCP server locally?

Run `netlify dev` to start a local server, then in a separate terminal run `npx @modelcontextprotocol/inspector npx mcp-remote@next http://localhost:8888/mcp`.

コメント

「開発者ツール」の他のコンテンツ