ModelFetch

Fastly

Deploy MCP servers to Fastly

The @modelfetch/fastly package lets you deploy MCP servers to Fastly.

Installation

Terminal
npm install @modelfetch/fastly

Usage

src/index.ts
import handle from "@modelfetch/fastly";
import server from "./server"; // Import your McpServer

// Run as a Fastly Compute service
handle(server);

API Reference

handle(server)

Starts the MCP server