@neon/skills 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/skills/neon/SKILL.md +17 -5
package/package.json
CHANGED
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "neon-postgres",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.1",
|
|
5
5
|
"description": "Manage your Neon backend with the Neon agent skills and the Neon MCP Server: Lakebase Postgres, branching, Object Storage, Functions, and the AI Gateway",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Neon",
|
package/skills/neon/SKILL.md
CHANGED
|
@@ -194,25 +194,27 @@ Then inspect credentials without printing secrets. `NEON_API_KEY` or a `neon pro
|
|
|
194
194
|
|
|
195
195
|
### Combined setup: `neon init`
|
|
196
196
|
|
|
197
|
-
When both agent tooling and project setup are needed, use authenticated `neon init`. `--agent` takes the coding-agent name. `-y` skips prompts but does not supply project selection or credentials.
|
|
197
|
+
When both agent tooling and project setup are needed, use authenticated `neon init`. It sets up the current directory in place. `--agent` takes the coding-agent name. `-y` skips prompts but does not supply project selection or credentials.
|
|
198
198
|
|
|
199
199
|
Link an existing project:
|
|
200
200
|
|
|
201
201
|
```bash
|
|
202
|
-
neon init --
|
|
202
|
+
neon init --agent cursor \
|
|
203
203
|
--org-id <org-id> --project-id <project-id> -y
|
|
204
204
|
```
|
|
205
205
|
|
|
206
206
|
Create and link a project:
|
|
207
207
|
|
|
208
208
|
```bash
|
|
209
|
-
neon init --
|
|
209
|
+
neon init --agent cursor \
|
|
210
210
|
--org-id <org-id> --project-name my-app \
|
|
211
211
|
--region-id aws-us-east-2 -y
|
|
212
212
|
```
|
|
213
213
|
|
|
214
214
|
`--services` may declare `auth`, `data-api`, `functions`, `object-storage`, and `ai-gateway` (repeat the flag or comma-separate). Pass `none` for the bare starter policy. It writes `neon.ts`; it does not deploy or wire the app. Selecting `data-api` also declares Auth (the default Data API provider requires it). Use `data-api` only for PostgREST / Supabase database-client compatibility.
|
|
215
215
|
|
|
216
|
+
With `-y`, `init` installs the Neon plugin globally where the agent supports it (its MCP server signs in with OAuth). Other agents get skills and the MCP server globally, with an API key when the CLI is signed in. `--mcp-auth` and `--mcp-config-location` change the MCP setup; see `neon init --help`.
|
|
217
|
+
|
|
216
218
|
If `init` already installed the Neon plugin, do not also run `neon mcp` and `neon skills` for the same agent.
|
|
217
219
|
|
|
218
220
|
When tooling already exists, only one component is missing, or env writes need `--no-env-pull`, use the manual steps below. `init` has no `--no-env-pull`. Before a command that pulls env, inspect existing configuration. If a supplied `DATABASE_URL` or `AWS_*` value must stay, pass `--no-env-pull` on `link` / `checkout` and write env to a separate `--file`.
|
|
@@ -223,11 +225,21 @@ Use the install check above. Do not run `neon login` unattended. MCP remains the
|
|
|
223
225
|
|
|
224
226
|
### 2. Install the Neon MCP Server
|
|
225
227
|
|
|
228
|
+
Install globally, the CLI default. One install serves every project:
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
neon mcp --agent <agent> -y
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
This writes an API key into the agent's user config, reusing an existing Neon MCP key or minting one (needs `neon auth` or a personal API key). Always pass `--agent`; without it, `-y` writes to every installed agent.
|
|
235
|
+
|
|
236
|
+
Add `--oauth` to store only the server URL instead; the user signs in from the agent and picks scopes on the consent page. For a project-level install, always use OAuth so no key lands in a file git can commit:
|
|
237
|
+
|
|
226
238
|
```bash
|
|
227
|
-
neon mcp --oauth --project --agent
|
|
239
|
+
neon mcp --oauth --project --agent <agent> -y
|
|
228
240
|
```
|
|
229
241
|
|
|
230
|
-
|
|
242
|
+
`neon mcp --help` lists the other flags (`--read-only`, `--project-id`, `--category`) and supported agents.
|
|
231
243
|
|
|
232
244
|
For all available plugins and IDE integrations, see: https://neon.com/docs/ai/ai-agents-tools.md
|
|
233
245
|
|