MCP.so
登录

MCP example Netlify Express

@srikaran7

基本信息

分类

开发工具

传输方式

stdio

作者

srikaran7

关于 MCP example Netlify Express

暂无概览

MCP example Netlify Express 配置

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

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

MCP example Netlify Express 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

1

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

2

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.

3

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.

4

Where can I see a live demo?

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

5

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 服务器