Learn about interfaces for the Neon API for building AI Agents
Neon supports Postgres for AI agents with the following interfaces, both of which wrap the Neon API:
- @neondatabase/toolkit — a terse client that lets you spin up a Postgres database in seconds and run SQL queries. It includes both the Neon TypeScript SDK and the Neon Serverless Driver , making it an perfect choice for AI agents that need to quickly set up an SQL database. Learn more .
- Neon Model Context Protocol (MCP) server — enables any MCP Client to interact with Neon’s API using natural language. AI agents can use Neon's MCP server to perform actions such as creating databases, running SQL queries, and managing database migrations. Read the announcement .