Skip to main content
Glama
netlify

Netlify MCP Server

Official
by netlify
team-utils.ts568 B
export function getEnrichedTeamModelForLLM(teams: any[] | any) { if (!teams) { return []; } return (Array.isArray(teams) ? teams : [teams]).map((team: any) => { const fieldsToMap = ['id', 'name', 'slug', 'created_at', 'updated_at', 'members_count', 'enforce_mfa', 'type_name']; return ({ ...Object.fromEntries(Object.entries(team).filter(([key]) => fieldsToMap.includes(key))), _enrichedFields: { currentUserRoleOnTeam: team.role, netlifyUrlForTeam: `https://app.netlify.com/teams/${team.slug}` } }); }); }

Latest Blog Posts

MCP directory API

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