NetlifyMCPServer
MCPの例 Netlify Express
このデモサイトをご覧ください: https://mcp-example-express.netlify.app/
このサンプルサイトについて
このサイトでは、Netlify Functions を用いたサーバーレス MCP の開発と実行の非常に基本的な例を紹介しています。デプロイ済みのサーバーレス関数へのリンクと、カスタマイズされた URL を使用して関数にアクセスする例も含まれています。
Expressがマッピングルートを処理する方法を考慮すると、 netlify.tomlリダイレクトが正しいパスに設定されていることを確認することが重要です。この例では、/mcpがこのサーバーへのすべてのリクエストをキャッチするように、以下の設定を行っています。
[[redirects]]
force = true
from = "/mcp"
status = 200
to = "/.netlify/functions/express-mcp-server"Related MCP server: MCP Express Server for Netlify
独自のバージョンを迅速に展開
以下の「Netlifyにデプロイ」ボタンをクリックして、このサンプルサイトの独自バージョンをデプロイしてください。これにより、以下の処理が自動的に実行されます。
この例のコピーをサンプルリポジトリから自分のGitHubアカウントにクローンします。
Netlifyアカウントで新しいプロジェクトを作成し、新しいリポジトリにリンクします。
リポジトリの変更を監視するための自動デプロイメント パイプラインを作成する
新しいサイトを構築して展開する
このリポジトリは、
netlify devを使用してローカルで反復処理するために使用できます。
ローカルにサンプルをインストールして実行する
この例リポジトリ全体をクローンして、この例や他の例を調べ、ローカルで実行することができます。
# 1. Clone the examples repository to your local development environment
git clone git@github.com:netlify/examples
# 2. Move into the project directory for this example
cd examples/mcp/express-mcp
# 3. Install the Netlify CLI to let you locally serve your site using Netlify's features
npm i -g netlify-cli
# 4. Serve your site using Netlify Dev to get local serverless functions
netlify dev
# 5. While the site is running locally, open a separate terminal tab to run the MCP inspector or client you desire
npx @modelcontextprotocol/inspector npx mcp-remote@next http://localhost:8888/mcp
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA basic example of developing and running serverless Model Context Protocol (MCP) using Netlify Functions, demonstrating how to deploy and access serverless functions with customized URLs.Last updated
- Flicense-qualityDmaintenanceA serverless implementation of the Model Context Protocol (MCP) that runs on Netlify Functions, allowing developers to build and deploy MCP-compatible services with minimal configuration.Last updated
- Flicense-qualityDmaintenanceA basic example of a serverless Model Context Protocol (MCP) implementation using Netlify Functions, allowing developers to run MCP services without managing traditional server infrastructure.Last updated
- Flicense-qualityDmaintenanceA basic example demonstrating how to develop and run a serverless Model Context Protocol (MCP) implementation using Netlify Functions and Express.Last updated
Related MCP Connectors
MCP (Model Context Protocol) server for Appwrite
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/DrunkOnJava/NetlifyMCPServer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server