We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/netlify/netlify-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
compatibility.ts•632 B
// It's best to run these in the tool calls so that it will
// inform the agent about compatibility issues. Bailing on start up
// hides the issue.
export const checkCompatibility = () => {
// we've seen users with older Node versions running into issues
// and this helps inform them of this compatibility.
const currentNodeVersion = process?.versions?.node?.split('.')[0];
if (currentNodeVersion && Number(currentNodeVersion) < 20){
throw new Error('This version of Node.js has been "end of lifed" by the Node.js team and is no longer supported. Please upgrade to at least Node.js 20 to use the Netlify MCP.');
}
}