naftiko: 1.0.0-alpha2 info: label: Neon Management API — Projects description: 'Neon Management API — Projects. 6 operations. Lead operation: List projects. Self-contained Naftiko capability covering one Neon business surface.' tags: - Neon - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NEON_API_KEY: NEON_API_KEY capability: consumes: - type: http namespace: management-projects baseUri: https://console.neon.tech/api/v2 description: Neon Management API — Projects business capability. Self-contained, no shared references. resources: - name: projects path: /projects operations: - name: listprojects method: GET description: List projects outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createproject method: POST description: Create a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-project_id path: /projects/{project_id} operations: - name: getproject method: GET description: Retrieve project details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateproject method: PATCH description: Update a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteproject method: DELETE description: Delete a project outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-project_id-connection_uri path: /projects/{project_id}/connection_uri operations: - name: getconnectionuri method: GET description: Retrieve connection URI outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: branch_id in: query type: string description: The branch ID - name: endpoint_id in: query type: string description: The endpoint ID - name: database_name in: query type: string description: The database name required: true - name: role_name in: query type: string description: The role name required: true authentication: type: bearer token: '{{env.NEON_API_KEY}}' exposes: - type: rest namespace: management-projects-rest port: 8080 description: REST adapter for Neon Management API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects name: projects description: REST surface for projects. operations: - method: GET name: listprojects description: List projects call: management-projects.listprojects outputParameters: - type: object mapping: $. - method: POST name: createproject description: Create a project call: management-projects.createproject with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{project-id} name: projects-project-id description: REST surface for projects-project_id. operations: - method: GET name: getproject description: Retrieve project details call: management-projects.getproject outputParameters: - type: object mapping: $. - method: PATCH name: updateproject description: Update a project call: management-projects.updateproject with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteproject description: Delete a project call: management-projects.deleteproject outputParameters: - type: object mapping: $. - path: /v1/projects/{project-id}/connection-uri name: projects-project-id-connection-uri description: REST surface for projects-project_id-connection_uri. operations: - method: GET name: getconnectionuri description: Retrieve connection URI call: management-projects.getconnectionuri with: branch_id: rest.branch_id endpoint_id: rest.endpoint_id database_name: rest.database_name role_name: rest.role_name outputParameters: - type: object mapping: $. - type: mcp namespace: management-projects-mcp port: 9090 transport: http description: MCP adapter for Neon Management API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-projects description: List projects hints: readOnly: true destructive: false idempotent: true call: management-projects.listprojects outputParameters: - type: object mapping: $. - name: create-project description: Create a project hints: readOnly: false destructive: false idempotent: false call: management-projects.createproject with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-project-details description: Retrieve project details hints: readOnly: true destructive: false idempotent: true call: management-projects.getproject outputParameters: - type: object mapping: $. - name: update-project description: Update a project hints: readOnly: false destructive: false idempotent: true call: management-projects.updateproject with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-project description: Delete a project hints: readOnly: false destructive: true idempotent: true call: management-projects.deleteproject outputParameters: - type: object mapping: $. - name: retrieve-connection-uri description: Retrieve connection URI hints: readOnly: true destructive: false idempotent: true call: management-projects.getconnectionuri with: branch_id: tools.branch_id endpoint_id: tools.endpoint_id database_name: tools.database_name role_name: tools.role_name outputParameters: - type: object mapping: $.