@neopress/mcp 1.4.0 → 1.6.0
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/README.md +17 -4
- package/dist/bin.cjs +678 -23933
- package/dist/http-bin.cjs +943 -23926
- package/dist/index.d.ts +200 -64
- package/dist/index.js +608 -23887
- package/integrations/submission-guide.md +5 -4
- package/package.json +4 -3
- package/scripts/check-dist-contract.mjs +59 -31
- package/scripts/prepare-mcpb-package.mjs +29 -35
package/README.md
CHANGED
|
@@ -22,8 +22,13 @@ Stdio MCP can use `neopress_asset_upload_file` because it runs on the same
|
|
|
22
22
|
machine as the agent and can read local file paths.
|
|
23
23
|
|
|
24
24
|
The tool surface includes site/layout/page/collection/entry/form/asset/publish
|
|
25
|
-
operations plus
|
|
26
|
-
and
|
|
25
|
+
operations plus analytics queries and saved event/funnel configuration. Use
|
|
26
|
+
`neopress_analytics_event_update` with `eventId` and `name` to rename an existing
|
|
27
|
+
event without changing its historical tracking behavior; display changes use a
|
|
28
|
+
separate call. Create a new event when tracking conditions need to change. Use
|
|
29
|
+
`neopress_analytics_targets_list` before creating an event to discover valid
|
|
30
|
+
page and form targets. Event and funnel creation accepts the same camelCase
|
|
31
|
+
definition inputs as the dashboard; reads preserve stored snake_case fields.
|
|
27
32
|
|
|
28
33
|
## Remote HTTP
|
|
29
34
|
|
|
@@ -156,7 +161,7 @@ The deploy step maps GitHub secrets `UPSTASH_REDIS_REST_URL`,
|
|
|
156
161
|
`UPSTASH_REDIS_REST_TOKEN` and repository var `NEOPRESS_MCP_PUBLIC_URL` into
|
|
157
162
|
the Cloud Run service environment. Supabase OAuth Server settings (toggle,
|
|
158
163
|
DCR, Authorization Path) are configured in the Supabase dashboard per the
|
|
159
|
-
|
|
164
|
+
[submission and operations guide](integrations/submission-guide.md).
|
|
160
165
|
|
|
161
166
|
## Official Client Drafts
|
|
162
167
|
|
|
@@ -171,10 +176,18 @@ Submission-ready drafts live under `integrations/`:
|
|
|
171
176
|
Stage a Claude Desktop MCPB directory after building:
|
|
172
177
|
|
|
173
178
|
```bash
|
|
174
|
-
pnpm --filter
|
|
179
|
+
pnpm exec turbo run build --filter=@neopress/mcp
|
|
175
180
|
pnpm --filter @neopress/mcp mcpb:stage
|
|
176
181
|
pnpm dlx @anthropic-ai/mcpb pack packages/mcp/dist/mcpb/neopress
|
|
177
182
|
```
|
|
178
183
|
|
|
179
184
|
Do not submit the remote connector drafts until the production MCP origin,
|
|
180
185
|
support URL, review workspace, and real client OAuth scans are verified.
|
|
186
|
+
|
|
187
|
+
## Localization
|
|
188
|
+
|
|
189
|
+
Page tools expose draft/production public languages; `draftPublicLocales: null` means only the site's default language and `[]` means no public languages. Publish the site to apply the draft list. Translation dictionaries and global page visibility are separate state.
|
|
190
|
+
|
|
191
|
+
`neopress_entry_create_translation` takes `entryId` and `locale`, returning an existing linked locale row or a source-content copy as a draft. It does not perform machine translation or publish content. Update and publish the returned entry separately. Collections share schemas with localized option labels; forms share schemas with flat `draftI18n.translations[textKey][locale]` dictionaries.
|
|
192
|
+
|
|
193
|
+
Partial update tools preserve omitted fields, including page/form i18n and metadata. Use explicit null only to clear nullable fields.
|