Back to MCP directory
publicPublicdnsLocal runtime

examples

Netlify 示例项目提供了一系列使用 Netlify 构建网站的示例和演示,涵盖了多种功能和技术。其中包括无服务器函数、边缘函数、客户端身份验证、内容门控、Astro 平台启动器、AI 执行摘要、AI 语音转内容、阻止 AI 机器人、Supabase 与 Astro 集成、Turso 与 Astro 集成、用户生成的上传、高级缓存的 Hydrogen 和 Nuxt 4 店面等。这些示例展示了如何使用 Netlify 的各种功能来构建和优化现代网站,并提供了相应的代码和站点链接,方便开发者参考和部署。

article

README

Netlify Examples

Netlify Examples

A collection of examples and demos for people building the web with Netlify

  • Serverless functions, hello world — Site, Code
  • Edge Functions Examples — Site, Code
  • Client side auth with Clerk - Code
  • Gated content with Clerk - Code
  • Astro platform starter - Site, Code
  • Astro Server Islands - Site, Code
  • Astro with Sanity - Site, Code
  • Astro with Qwik - Site, Code
  • Astro with Netlify Visual Editor - Site, Code
  • Astro with Motion - Site, Code
  • AI Executive Summaries - Site, Code
  • AI Speech to Content with Groq - Code
  • Block AI bots - Site, Code
  • Supabase with Astro - Site, Code
  • Turso with Astro - Site, Code
  • Geosimcities: GeoCities with Advanced AI and Langbase - Site, Code
  • User-generated uploads - Site, Code
  • Hydrogen storefront with advanced caching - Site, Code
  • Nuxt 4 with advanced caching - Site, Code
  • Nuxt AI chat starter - Site, Code
  • MCP with Netlify serverless functions - Site, Code
  • MCP with Hono - Site, Code
  • MCP with Express - Site, Code

Repo organization

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client