@kelviq/mcp-server 1.0.0 → 1.1.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 +10 -2
- package/dist/docs/README.md +16 -0
- package/dist/docs/changelog.md +3968 -0
- package/dist/docs/guides/agent-toolkit.md +3 -3
- package/dist/docs/guides/mcp-server.md +25 -2
- package/dist/docs/manifest.json +5 -61
- package/dist/schemas/kelviq.d.ts +199 -0
- package/dist/schemas/kelviq.js +173 -0
- package/dist/schemas/kelviq.js.map +1 -1
- package/dist/server.js +1 -0
- package/dist/server.js.map +1 -1
- package/dist/tools/discounts.d.ts +3 -0
- package/dist/tools/discounts.js +74 -0
- package/dist/tools/discounts.js.map +1 -0
- package/dist/tools/index.js +4 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/webhooks.d.ts +10 -0
- package/dist/tools/webhooks.js +114 -0
- package/dist/tools/webhooks.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ capabilities at once:
|
|
|
13
13
|
inside the package and exposed as MCP resources plus `docs_search` /
|
|
14
14
|
`docs_read` tools, so the LLM can ground its answers in the canonical docs.
|
|
15
15
|
|
|
16
|
-
> **
|
|
16
|
+
> **56 tools** across **11 domains**, plus a resource for every docs page and
|
|
17
17
|
> the full OpenAPI spec. Works offline for docs Q&A — only API tools require a
|
|
18
18
|
> key.
|
|
19
19
|
|
|
@@ -137,6 +137,14 @@ precedence over `KELVIQ_ENV`.
|
|
|
137
137
|
- `offering_get_product` — public pricing scoped to a product UUID
|
|
138
138
|
- `promotion_get` — resolve the active promotion for the caller's location *(uses Client API key, edge host)*
|
|
139
139
|
|
|
140
|
+
### Discounts
|
|
141
|
+
- `discount_list` / `discount_create` / `discount_retrieve` / `discount_archive`
|
|
142
|
+
- `discount_update` — enable or disable a code (nothing else can change after creation)
|
|
143
|
+
|
|
144
|
+
### Webhooks
|
|
145
|
+
- `webhook_endpoint_list` / `webhook_endpoint_create` / `webhook_endpoint_retrieve` / `webhook_endpoint_update` / `webhook_endpoint_delete` — signing secrets are hidden unless `revealSecret: true`
|
|
146
|
+
- `webhook_log_list` — delivery attempts from the last 30 days
|
|
147
|
+
|
|
140
148
|
### Catalog: Products
|
|
141
149
|
- `product_list` / `product_create` / `product_retrieve` / `product_update` / `product_archive`
|
|
142
150
|
- `product_settings_get` / `product_settings_update` — VPN/Tor/proxy policy, default currency, product URL
|
|
@@ -189,7 +197,7 @@ npx -y @modelcontextprotocol/inspector \
|
|
|
189
197
|
npx -y @kelviq/mcp-server@latest
|
|
190
198
|
```
|
|
191
199
|
|
|
192
|
-
Opens a browser UI where you can browse all
|
|
200
|
+
Opens a browser UI where you can browse all 56 tools, fill in arguments, and
|
|
193
201
|
run them against the real Kelviq API. Pre-fill env vars by exporting them
|
|
194
202
|
before the command:
|
|
195
203
|
|
package/dist/docs/README.md
CHANGED
|
@@ -120,6 +120,22 @@ To contribute to Kelviq docs:
|
|
|
120
120
|
- Link to related documentation
|
|
121
121
|
- Keep sections concise and focused
|
|
122
122
|
|
|
123
|
+
### Changelog
|
|
124
|
+
|
|
125
|
+
All release notes live in one page, `changelog.mdx`, newest first. Add each release as an `<Update>` at the top of the page, tagged with the product exactly as it appears in the filter. The product filter above the entries matches on that tag, and so does the sidebar:
|
|
126
|
+
|
|
127
|
+
```mdx
|
|
128
|
+
<Update label="v2.9.0" description="October 1, 2026" tags={["Node SDK"]}>
|
|
129
|
+
...
|
|
130
|
+
</Update>
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Keep the label a plain string; an expression label loses its anchor link. Products are `App`, `JS SDK`, `React SDK`, `Node SDK`, `Python SDK`, `JS Promotions UI`, `MCP Server`, `CLI`, and `API`.
|
|
134
|
+
|
|
135
|
+
The sidebar lists the same products, as anchors under the Changelog tab in `docs.json`. They must be written as absolute URLs (`https://docs.kelviq.com/changelog#node-sdk`): Mintlify rewrites a relative href containing a hash to `/`. Absolute URLs would open in a new tab, so `ChangelogFilter` rewrites them back to same-page links once the page loads. To add a product, add it in three places: the `products` list passed to `<ChangelogFilter>`, the anchors in `docs.json`, and the redirect if the product had its own page before.
|
|
136
|
+
|
|
137
|
+
Those anchors would otherwise carry an icon and no group title, so `custom.css` hides the icon, heads the list with "Changelog", and highlights whichever product is selected. Those rules only apply while `ChangelogFilter` is on screen, which it marks with `data-changelog-page` on the body.
|
|
138
|
+
|
|
123
139
|
## Need Help?
|
|
124
140
|
|
|
125
141
|
- **Can't find something?** - Use the search feature (top of page)
|