data
Neon MCP Integration for OpenAI Agents SDK
Connect Neon to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Neon to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Neon MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-neon": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=neon",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=neon --write=deny Why Use KosmoKrator Here
Expose only Neon instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Neon Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Neon integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__neon__neon_list_projects | neon.neon_list_projects | Read | List all Neon projects in the organization. Returns project IDs, names, region, and status. |
integration__neon__neon_get_project | neon.neon_get_project | Read | Get details for a specific Neon project by ID. Returns full project information including connection strings, branches, and settings. |
integration__neon__neon_create_project | neon.neon_create_project | Write | Create a new Neon project. Requires a name. Optionally specify a region and Postgres version. |
integration__neon__neon_list_branches | neon.neon_list_branches | Read | List all branches in a Neon project. Returns branch IDs, names, status, and parent branch info. |
integration__neon__neon_get_branch | neon.neon_get_branch | Read | Get details for a specific branch in a Neon project. Returns branch configuration, endpoints, and state. |
integration__neon__neon_list_databases | neon.neon_list_databases | Read | List all databases in a Neon project branch. Returns database names, owners, and sizes. |
integration__neon__neon_get_current_user | neon.neon_get_current_user | Read | Get information about the current authenticated Neon user, including email, name, and organization membership. |