MCP Express Server for Netlify
Пример MCP Netlify Express
Посмотрите этот демонстрационный сайт : https://mcp-example-express.netlify.app/
О данном примере сайта
Этот сайт показывает очень простой пример разработки и запуска бессерверного MCP с использованием функций Netlify. Он включает ссылки на развернутую бессерверную функцию и пример доступа к функции с использованием настроенного URL.
Важно, из-за того, как Express обрабатывает маршруты сопоставления, убедитесь, что вы установили перенаправления netlify.toml на правильный путь. В этом примере у нас есть следующее, чтобы гарантировать, что /mcp перехватывает все запросы к этому серверу:
[[redirects]]
force = true
from = "/mcp"
status = 200
to = "/.netlify/functions/express-mcp-server"Related MCP server: Express MCP Server
Быстро разверните свою собственную версию
Разверните свою собственную версию этого примера сайта, нажав кнопку «Развернуть в 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
Maintenance
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
- FlicenseNot gradedqualityNot gradedmaintenanceA basic example of developing and running serverless Model Context Protocol (MCP) using Netlify Functions, enabling AI agents to interact with your services via a standardized API.
- FlicenseNot gradedqualityDmaintenanceA basic example of a serverless Model Context Protocol (MCP) implementation using Netlify Functions, allowing developers to run MCP services without managing traditional server infrastructure.
- FlicenseNot gradedqualityDmaintenanceA basic serverless MCP server example running on Netlify Functions using Express. Demonstrates how to deploy and run Model Context Protocol servers in a serverless environment.
- -licenseNot gradedqualityNot gradedmaintenanceA basic serverless MCP implementation using Netlify Functions and Express. Demonstrates how to deploy and run Model Context Protocol servers in a serverless environment with proper routing configuration.
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
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/lutfi-haslab/mcp-server-netlify'
If you have feedback or need assistance with the MCP directory API, please join our Discord server