Example walkthroughs
Step-by-step guides for the shipped examples and their ready-to-deploy starter counterparts.
Static filesystem example
Use this when you already have local content files and want a zero-CMS setup.
Use examples/static/content as the baseline layout.
tsx module/src/server/standalone.ts examples/static/content 3100
Point client URL to http://localhost:3100/mcp.
Want the Netlify version immediately? Use starters/netlify-static-starter for the same content shape plus a prewired /mcp deploy button.
{
"static-example": {
"type": "http",
"url": "https://static-mcpify.alexlockhart.me/example/static/mcp"
}
}
Contentful integration example
Use this to build content from Contentful during local builds or Netlify deploys.
Set CONTENTFUL_API_TOKEN and SPACE_ID.
Run npm run build:contentful to generate output in examples/contentful/content.
Use Netlify function route /example/contentful/mcp.
Use starters/netlify-contentful-starter to deploy bundled sample content first, then add Contentful credentials later for automated rebuilds.
{
"contentful-example": {
"type": "http",
"url": "https://static-mcpify.alexlockhart.me/example/contentful/mcp"
}
}