MCP.so
登录

MCP example Netlify Express

@srikaran7

关于 MCP example Netlify Express

暂无概览

基本信息

分类

开发工具

运行时

html

传输方式

stdio

发布者

srikaran7

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP example Netlify Express?

This is a basic example site for developing and running a serverless Model Context Protocol (MCP) server using Netlify Functions. It includes a deployed serverless function and demonstrates how to access it with a customized URL. It is aimed at developers learning to deploy MCP on Netlify.

How to use MCP example Netlify Express?

Deploy your own version by clicking the "Deploy to Netlify" button, which clones the repository and sets up automatic deployments. For local development, clone the examples repo, navigate to examples/mcp/express-mcp, install the Netlify CLI, run netlify dev, and then test using npx @modelcontextprotocol/inspector against http://localhost:8888/mcp. Ensure your netlify.toml redirects map /mcp to the correct function path.

Key features of MCP example Netlify Express?

  • Demonstrates serverless MCP using Netlify Functions
  • Includes Express route mapping for MCP endpoints
  • Provides a live demo site for testing
  • One‑click deploy to your own Netlify account
  • Local development with Netlify Dev
  • Works with the MCP inspector tool

Use cases of MCP example Netlify Express?

  • Learning how to deploy an MCP server on Netlify
  • Testing a serverless MCP endpoint locally
  • Understanding Express redirects for serverless functions
  • Starting point for building custom MCP integrations

FAQ from MCP example Netlify Express

How do I handle Express route mapping?

Because Express handles routes differently, you must set a netlify.toml redirect from /mcp to /.netlify/functions/express-mcp-server with force = true and status = 200.

What are the prerequisites for local development?

You need Node.js, the Netlify CLI (install with npm i -g netlify-cli), and to clone the examples repository.

Can I deploy my own version?

Yes, click the "Deploy to Netlify" button in the README to clone the example, create a Netlify project, and set up automated deployments.

Where can I see a live demo?

The demo site is hosted at https://mcp-example-express.netlify.app/.

How do I test the MCP server locally?

Run netlify dev to start a local server, then in a separate terminal run npx @modelcontextprotocol/inspector npx mcp-remote@next http://localhost:8888/mcp.

评论

开发工具 分类下的更多 MCP 服务器