Skip to main content
Glama
lutfi-haslab

MCP Express Server for Netlify

by lutfi-haslab

Netlify-Beispiele

MCP-Beispiel Netlify Express

Sehen Sie sich diese Demo-Site an : https://mcp-example-express.netlify.app/

Netlify-Status

Über diese Beispielsite

Diese Site zeigt ein sehr einfaches Beispiel für die Entwicklung und Ausführung eines serverlosen MCP mit Netlify-Funktionen. Sie enthält Links zu einer bereitgestellten serverlosen Funktion und ein Beispiel für den Zugriff auf die Funktion über eine benutzerdefinierte URL.

Wichtig: Aufgrund der Art und Weise, wie Express Mapping-Routen verarbeitet, müssen Sie die netlify.toml -Weiterleitungen auf den richtigen Pfad setzen. In diesem Beispiel verwenden wir Folgendes, um sicherzustellen, dass /mcp alle Anfragen an diesen Server abfängt:

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

Related MCP server: Express MCP Server

Stellen Sie schnell Ihre eigene Version bereit

Stellen Sie Ihre eigene Version dieser Beispielsite bereit, indem Sie unten auf die Schaltfläche „Auf Netlify bereitstellen“ klicken. Dadurch wird automatisch Folgendes bewirkt:

  • Klonen Sie eine Kopie dieses Beispiels aus dem Beispiel-Repository in Ihr eigenes GitHub-Konto.

  • Erstellen Sie in Ihrem Netlify-Konto ein neues Projekt, das mit Ihrem neuen Repo verknüpft ist

  • Erstellen Sie eine automatisierte Bereitstellungspipeline, um auf Änderungen an Ihrem Repo zu achten

  • Erstellen und Bereitstellen Ihrer neuen Site

  • Dieses Repo kann dann verwendet werden, um lokal mit netlify dev zu iterieren

Bereitstellung auf Netlify

Installieren und führen Sie die Beispiele lokal aus

Sie können dieses gesamte Beispiel-Repository klonen, um dieses und andere Beispiele zu erkunden und sie lokal auszuführen.


# 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
F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    A 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.
  • F
    license
    Not graded
    quality
    D
    maintenance
    A basic example of a serverless Model Context Protocol (MCP) implementation using Netlify Functions, allowing developers to run MCP services without managing traditional server infrastructure.
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    A 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.

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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