NetlifyBLOCK
Netlify's Official MCP server
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Netlify MCP Server follows the Model Context Protocol (MCP) to enable code agents to use the Netlify API and CLI—so they can create new projects, build, deploy, and manage your Netlify resources using natural language prompts.
Overview
The Model Context Protocol is an emerging standard protocol for connecting code agents with MCP servers, allowing them to manage resources and perform tasks using natural language. The Netlify MCP Server acts as a bridge, providing API access, CLI tools, prompts, and more for your agents.
You can connect to the Netlify MCP Server using a variety of MCP clients, including:
- Windsurf
- Cursor
- Claude
- Copilot (VSCode)
- Cline
- Warp
- LM Studio
- See the full list
Use Cases
With Netlify MCP Server, your AI agents can:
- Create, manage, and deploy Netlify projects
- Modify access controls for enhanced project security
- Install or uninstall Netlify extensions
- Fetch user and team information
- Enable and manage form submissions
- Create and manage environment variables and secrets
- and more...
Prerequisites
- Node.js 22 or higher
Check with node --version
- A Netlify account
- An MCP client (e.g., Windsurf, Cursor, Claude, Copilot)
Tip: Install the Netlify CLI globally for the best experience: npm install -g netlify-cliMCP Configuration
For the production MCP server, use the following configuration:
Editors with one-click install:
[](https://cursor.com/install-mcp?name=netlify&config=eyJjb21tYW5kIjoibnB4IC15IEBuZXRsaWZ5L21jcCJ9)
[](https://lmstudio.ai/install-mcp?name=netlify&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIt
87402cb383a7OBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add mcp --env CLIENT_SECRET_AZURE_AI_FOUNDRY=${CLIENT_SECRET_AZURE_AI_FOUNDRY} --env CLIENT_SECRET_AZURE_AI_FOUNDRY_TESTING=${CLIENT_SECRET_AZURE_AI_FOUNDRY_TESTING} --env EVENTS_RELAY_JWE_SECRET=${EVENTS_RELAY_JWE_SECRET} --env JWE_SECRET=${JWE_SECRET} -- npx -y @netlify/[email protected]{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@netlify/[email protected]"
],
"env": {
"CLIENT_SECRET_AZURE_AI_FOUNDRY": "${CLIENT_SECRET_AZURE_AI_FOUNDRY}",
"CLIENT_SECRET_AZURE_AI_FOUNDRY_TESTING": "${CLIENT_SECRET_AZURE_AI_FOUNDRY_TESTING}",
"EVENTS_RELAY_JWE_SECRET": "${EVENTS_RELAY_JWE_SECRET}",
"JWE_SECRET": "${JWE_SECRET}"
}
}
}
}Exposed tools (3)
3 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get-netlify-coding-context | read | ALWAYS call when writing code. Required step before creating or editing any type of functions, Netlify sdk/library usage, etc. Use other operations for project management. |
needs-auth | read | |
netlify-coding-rules | read | ALWAYS call when writing serverless or Netlify code. required step before creating or editing any type of functions, Netlify sdk/library usage, etc. |
Trust audit
BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | FAIL |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (3 observation(s))
- Network
- declared (3 observation(s))
- Shell
- declared (1 observation(s))
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (20)
project-payload.ts
const childProcess = exec(
.release-please-manifest.json
const { SKILLS_HOST, resetCodingContextCachesForTests } = await import('../../../src/context/coding-context.ts');assert.equal(parseRelayPath(`/events/relay/${subId}/../../etc/passwd`), null);import { authenticatedFetch, getAPIJSONResult, getTokenIdentity, NetlifyApiError } from '../../../../src/utils/api-networking.ts';import { handleProxy } from '../../edge-functions/proxy.ts';import { registerCodingContextTool } from "../../src/context/register-coding-context-tool.ts";'169.254.169.254', // cloud metadata — the classic SSRF target
'::ffff:a9fe:a9fe', // 169.254.169.254, the cloud metadata address
'https://169.254.169.254/latest/meta-data',
'https://[::ffff:169.254.169.254]/latest/meta-data',
'169.254.169.254', // cloud metadata
redirect_uris: ['http://127.0.0.1:1234/cb'],
redirect_uris: ['http://127.0.0.1:1234/cb'],
redirect_uris: ['http://127.0.0.1:1234/cb'],
const loopbackUri = 'http://127.0.0.1:4321/cb';
redirect_uris: ['http://127.0.0.1:1234/cb'],
@netlify/edge-functions, @netlify/functions, archiver, env-paths, fetch-to-node, jose, zod, zod-to-json-schema
Gates applied: no_behavioural_pass, no_license.
87402cb383a7full audit observations/trust-audit/mcp-server/netlify__netlify-3.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 87402cb383a7 | BLOCK | D | 69 | first audit |
Questions
What is the Netlify MCP server?
Netlify's Official MCP server
What tools does Netlify expose?
3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Netlify safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does Netlify need?
It reads CLIENT_SECRET_AZURE_AI_FOUNDRY, CLIENT_SECRET_AZURE_AI_FOUNDRY_TESTING, EVENTS_RELAY_JWE_SECRET, JWE_SECRET, NETLIFY_PERSONAL_ACCESS_TOKEN, NTL_AUTH_CLIENT_ID and OAUTH_ISSUER from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Netlify run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as @netlify/mcp at 1.18.0.
How current is this page?
The grade is for one exact copy of the source (87402cb383a7), read on 2026-10-08. The repository is watched and re-audited when it changes.