Neon Integration
Manage Neon Postgres projects, branches, API keys, and connection strings
The Neon integration provides access to manage Neon Postgres projects, branches, API keys, and connection strings through the Integrate MCP server.
Installation
The Neon integration is included with the SDK:
import { neonIntegration } from "integrate-sdk/server";Setup
Add Neon to your server configuration. Provide credentials via environment variables or integration config:
import { createMCPServer, neonIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
neonIntegration({
// See configuration options below
}),
],
});Client-Side Usage
import { client } from "integrate-sdk";
const result = await client.neon.listApiKeys({});
console.log(result);Environment Variables
NEON_API_KEY(when supported by this integration)
Configuration Options
export interface NeonIntegrationOptions {
/** Neon API key (defaults to NEON_API_KEY) */
apiKey?: string;
Tools
neon_list_api_keys
List api keys
No parameters.
neon_create_api_key
Create api key
export interface NeonCreateApiKeyParams { key_name: string }
neon_revoke_api_key
Revoke api key
export interface NeonRevokeApiKeyParams { key_id: number }
neon_list_organizations
List organizations
No parameters.
neon_list_projects
List projects
export interface NeonListProjectsParams {
cursor?: string;
neon_list_shared_projects
List shared projects
export interface NeonListSharedProjectsParams { cursor?: string;
neon_create_project
Create project
export interface NeonCreateProjectParams {
name: string;
neon_get_project
Get project
export interface NeonGetProjectParams { project_id: string }
neon_update_project
Update project
export interface NeonUpdateProjectParams { project_id: string;
neon_delete_project
Delete project
export interface NeonDeleteProjectParams { project_id: string }
neon_recover_project
Recover project
export interface NeonRecoverProjectParams { project_id: string }
neon_list_branches
List branches
export interface NeonListBranchesParams {
project_id: string;
neon_create_branch
Create branch
export interface NeonCreateBranchParams {
project_id: string;
neon_get_branch
Get branch
export interface NeonGetBranchParams { project_id: string;
neon_delete_branch
Delete branch
export interface NeonDeleteBranchParams { project_id: string;
neon_list_operations
List operations
export interface NeonListOperationsParams { project_id: string;
neon_get_operation
Get operation
export interface NeonGetOperationParams { project_id: string;
neon_get_connection_uri
Get connection uri
export interface NeonGetConnectionUriParams {
project_id: string;
Notes
- Category: Infrastructure
- Authentication mode: API key