MCP.so
Sign In

MCP example Netlify Express

@lutfi-haslab

Basic information

Category

Cloud & Infrastructure

Transports

stdio

Author

lutfi-haslab

About MCP example Netlify Express

No overview available yet

MCP example Netlify Express config

Add this server to your MCP-compatible client using the configuration below.

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

MCP example Netlify Express tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

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

Frequently asked questions

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

Comments

More Cloud & Infrastructure MCP servers