neon-functions
Long-running, serverless Node.js HTTP functions deployed onto your Neon branch, with DATABASE_URL injected automatically and compute that runs next to your data. Use when a user wants to host an API, an AI agent with long streaming responses, a WebSocket or server-sent-events (SSE) server, a webhook handler, a Discord bot, an MCP server, or any request/response workload that risks timing out on short, lambda-style serverless functions — and wants it to branch with their database. Triggers include "serverless function", "deploy an API", "long-running function", "streaming agent", "SSE server", "WebSocket server", "webhook handler", "MCP server", "run code next to my database", "function that won't time out", "function logs", "Neon Functions", and "Neon Compute".
Pinned to revision af27b52659c3, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/neon-functions/SKILL.md
- skills/neon-functions/references/ai-sdk.md
- skills/neon-functions/references/mastra-studio.md
- skills/neon-functions/references/mcp.md
- skills/neon-functions/references/sentry.md
- skills/neon-functions/references/sse.md
Every link opens the file at its source, pinned to the revision this page describes.