data
Neon MCP, CLI, and Lua Integration for AI Agents
Neon integration docs for AI agents: MCP gateway setup, Neon CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write Bearer token auth
Neon for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
neon- route_slug
neon- package
neon- auth_strategy
bearer_tokenBearer token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Neon CLIHeadless setup and direct function calls. Neon MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Neon MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Neon.
Claude Code Neon MCP setup for Claude Code. Cursor Neon MCP setup for Cursor. Codex Neon MCP setup for Codex. OpenAI Agents Neon MCP setup for OpenAI Agents SDK. Claude Agent SDK Neon MCP setup for Claude Agent SDK. Vercel AI SDK Neon MCP setup for Vercel AI SDK. LangChain Neon MCP setup for LangChain. LangGraph Neon MCP setup for LangGraph. CrewAI Neon MCP setup for CrewAI. MCP clients Neon MCP setup for Generic MCP Clients.
Neon CLI Matrix
Use these pages for direct Neon CLI workflows in scripts, CI, cron, and agent wrappers.
CI Neon CLI for CI. Cron Jobs Neon CLI for cron jobs. Shell Scripts Neon CLI for shell scripts. Headless Automation Neon CLI for headless automation. Coding Agents Neon CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
neon.neon_list_projects | Read read | 0 | List all Neon projects in the organization. Returns project IDs, names, region, and status. |
neon.neon_get_project | Read read | 1 | Get details for a specific Neon project by ID. Returns full project information including connection strings, branches, and settings. |
neon.neon_create_project | Write write | 5 | Create a new Neon project. Requires a name. Optionally specify a region and Postgres version. |
neon.neon_list_branches | Read read | 1 | List all branches in a Neon project. Returns branch IDs, names, status, and parent branch info. |
neon.neon_get_branch | Read read | 2 | Get details for a specific branch in a Neon project. Returns branch configuration, endpoints, and state. |
neon.neon_list_databases | Read read | 2 | List all databases in a Neon project branch. Returns database names, owners, and sizes. |
neon.neon_get_current_user | Read read | 0 | Get information about the current authenticated Neon user, including email, name, and organization membership. |