NetlifyMCPServer

by DrunkOnJava

MCP 예제 Netlify Express

이 데모 사이트를 확인하세요 : https://mcp-example-express.netlify.app/

이 예제 사이트에 관하여

이 사이트는 Netlify Functions를 사용하여 서버리스 MCP를 개발하고 실행하는 매우 기본적인 예시를 보여줍니다. 배포된 서버리스 함수에 대한 링크와 사용자 지정 URL을 사용하여 해당 함수에 액세스하는 예시가 포함되어 있습니다.

Express가 매핑 경로를 처리하는 방식 때문에 netlify.toml 리디렉션을 올바른 경로로 설정하는 것이 중요합니다. 이 예시에서는 /mcp가 이 서버에 대한 모든 요청을 처리하도록 다음과 같은 설정을 사용합니다.

지엑스피1

자신의 버전을 빠르게 배포하세요

아래 "Netlify에 배포" 버튼을 클릭하여 이 예시 사이트의 자체 버전을 배포하세요. 이렇게 하면 자동으로 다음 작업이 수행됩니다.

  • 예제 저장소에서 이 예제의 사본을 자신의 GitHub 계정으로 복제합니다.
  • Netlify 계정 에서 새 프로젝트를 만들고 새 저장소에 연결하세요.
  • 리포지토리의 변경 사항을 감시하기 위해 자동화된 배포 파이프라인을 만듭니다.
  • 새 사이트를 구축하고 배포하세요
  • 이 저장소는 netlify dev 사용하여 로컬로 반복하는 데 사용할 수 있습니다.

예제를 로컬에 설치하고 실행하세요

이 예제 저장소 전체를 복제하여 이 예제와 다른 예제를 탐색하고 로컬에서 실행할 수 있습니다.

# 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
-
security - not tested
-
license - not tested
-
quality - not tested

Netlify Functions를 사용하여 서버리스 모델 컨텍스트 프로토콜(MCP)을 개발하고 실행하는 기본적인 예입니다. 이를 통해 AI 에이전트가 표준화된 API를 통해 서비스와 상호 작용할 수 있습니다.

  1. About this example site
    1. Speedily deploy your own version
      1. Install and run the examples locally

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol (MCP) server implementation for the OpenLedger API. This server provides structured context to AI models according to the MCP specification.
          Last updated -
          8
          TypeScript
          Apache 2.0
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that allows management of Netlify sites, enabling users to create, list, get information about, and delete Netlify sites directly from an MCP-enabled environment.
          Last updated -
          JavaScript
          MIT License
        • A
          security
          A
          license
          A
          quality
          A foundation for building custom local Model Context Protocol (MCP) servers that provide tools accessible to AI assistants like Cursor or Claude Desktop.
          Last updated -
          1
          TypeScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          A template repository for building Model Context Protocol (MCP) servers that enables developers to create interactive AI agents with real-time bidirectional communication capabilities through WebSocket and SSE endpoints.
          Last updated -
          TypeScript
          MIT License

        View all related MCP servers

        ID: aa34v2xqp1