Fastly
Deploy MCP servers to Fastly
The @modelfetch/fastly
package lets you deploy MCP servers to Fastly.
Installation
npm install @modelfetch/fastly
Usage
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
- server: Required
McpServer
instance from@modelcontextprotocol/sdk