sitehost-port
v0.1.0Netlify sites, deploys and builds as MCP tools.
Netlify sites as MCP tools, talking to the Netlify REST API. sitehost-port is a clean-room rebuild of the core surface of the Netlify MCP server, under a new name: fresh code, no copied branding. The original is Netlify's official remote MCP (hosted OAuth); hosted OAuth is NOT reproduced — this rebuild is a token REST client for the same API. list_sites, get_site, create_site, update_site, delete_site, list_deploys, get_deploy, restore_deploy, trigger_site_build, list_site_builds, get_current_user, list_env_vars.
Summary extracted from the README.
sitehost-port
Netlify sites as MCP tools, talking to the Netlify REST API. sitehost-port is a clean-room rebuild of the core surface of the Netlify MCP server, under a new name: fresh code, no copied branding. The original is Netlify's official remote MCP (hosted OAuth); hosted OAuth is NOT reproduced — this rebuild is a token REST client for the same API.
Tools (core subset, 12)
list_sites, get_site, create_site, update_site,
delete_site, list_deploys, get_deploy, restore_deploy,
trigger_site_build, list_site_builds, get_current_user,
list_env_vars.
Not in this subset: forms and submissions, functions deployment and zip uploads, DNS zones and records, accounts/teams/members admin, deploy keys and SSL certificate provisioning, build hooks and build settings depth beyond name/custom_domain, split testing, Netlify Identity, large media, plugins.
Setup
Create a personal access token for your Netlify account and set it:
export NETLIFY_AUTH_TOKEN=nfp_...
Optionally override the API base with NETLIFY_API_BASE_URL
(default https://api.netlify.com/api/v1). Without the token,
every tool call fails with an error naming the missing variable.
CLI
npx @reneturcios/sitehost-port list_sites '{"per_page":10}'
npx @reneturcios/sitehost-port mcp # stdio MCP server
Each tool name is a subcommand taking one JSON object argument.
MCP client config
{
"mcpServers": {
"sitehost-port": {
"command": "npx",
"args": ["-y", "@reneturcios/sitehost-port", "mcp"],
"env": { "NETLIFY_AUTH_TOKEN": "nfp_..." }
}
}
}
Docker
docker run -i -e NETLIFY_AUTH_TOKEN ghcr.io/cloudcorprecords/sitehost-port
Development
npm install
npm run build
npm test
License
MIT