MCP example Netlify Express
@lutfi-haslab
关于 MCP example Netlify Express
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-server-netlify": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"npx",
"mcp-remote@next",
"http://localhost:8888/mcp"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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
FAQ from MCP example Netlify Express
What does this example demonstrate?
It shows a very basic example of developing and running a serverless MCP server using Netlify Functions.
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.
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.
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.
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).
云与基础设施 分类下的更多 MCP 服务器
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
Terraform MCP Server
hashicorpThe Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
Cloudflare MCP Server
cloudflareKubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
评论