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`).

评论

云与基础设施 分类下的更多 MCP 服务器