Back to MCP Servers
MCP Express Server for Netlify

MCP Express Server for Netlify

Public
lutfi-haslab/mcp-server-netlify

Demonstrates a basic serverless implementation of the Model Context Protocol using Netlify Functions and Express, enabling customizable URL routing and easy local development with automated deployment pipelines.

javascript
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with MCP Express Server for Netlify

MCP Server

Unlock the full potential of MCP Express Server for Netlify through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

Netlify Examples

MCP example Netlify Express

View this demo site: https://mcp-example-express.netlify.app/

About this example site

This site shows a very a basic example of developing and running serverless MCP using Netlify Functions. It includes links to a deployed serverless function and an example of accessing the function using a customized URL.

Importantly, because of how Express handles mapping routes, ensure you set the netlify.toml redirects to the correct path. In this example we have the following to ensure /mcp catches all of the requests to this server:

[[redirects]] force = true from = "/mcp" status = 200 to = "/.netlify/functions/express-mcp-server"

Speedily deploy your own version

Deploy your own version of this example site, by clicking the Deploy to Netlify Button below. This will automatically:

  • Clone a copy of this example from the examples repo to your own GitHub account
  • Create a new project in your Netlify account, linked to your new repo
  • Create an automated deployment pipeline to watch for changes on your repo
  • Build and deploy your new site
  • This repo can then be used to iterate on locally using netlify dev

Install and run the examples locally

You can clone this entire examples repo to explore this and other examples, and to run them locally.

# 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
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • MCP Pokemon Server

    An MCP server implementation enabling interaction with the PokeAPI to fetch dynamic Pokémon data and...

    Added May 30, 2025
  • Gemini MCP Image Generation Server

    Provides image generation capabilities via Google's Gemini 2 API using the Model Context Protocol, e...

    1 tools
    Added May 30, 2025
  • Xano MCP Server

    Python-based Model Context Protocol server enabling AI assistants to securely interact with Xano ins...

    Added May 30, 2025
  • MCP Screenshot Server

    Provides Model Context Protocol-based screenshot capture of web pages and local HTML files with conf...

    1 tools
    Added May 30, 2025
  • Powertools MCP Search Server

    Model Context Protocol server enabling efficient local search of AWS Lambda Powertools documentation...

    2 tools
    Added May 30, 2025