Skip to content

Commit 74e4407

Browse files
committed
chore(release): bump version to 2.3.0
Three gf_* tools that failed on valid input (gf_add_field/gf_update_field crash, gf_validate_form persisting entries, field_values typed as object), the is_numeric=false sorting bug, and a declarative rewrite of the server instructions.
1 parent 22a743d commit 74e4407

4 files changed

Lines changed: 17 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is the single canonical doc for the project (agents and humans). `CLAUDE.md
66

77
## Project Identity
88

9-
- **Package:** `@gravitykit/mcp` v2.2.0
9+
- **Package:** `@gravitykit/mcp` v2.3.0
1010
- **Type:** Node.js MCP server (ESM)
1111
- **Purpose:** Full Gravity Forms REST API v2 coverage (26 Gravity Forms tools), plus dynamic GravityKit product tools (GravityView so far) via the WordPress Abilities API
1212
- **Repo:** https://github.com/GravityKit/MCP

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ All notable changes to GravityKit MCP (formerly GravityMCP) will be documented i
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.3.0] - 2026-06-16
9+
10+
A second correctness pass on the `gf_*` plane — three tools that failed on valid input — plus clearer server instructions. Verified against live Gravity Forms.
11+
12+
### Fixed
13+
- **`gf_add_field` and `gf_update_field` crashed on every call** with `getWarnings is not a function`. `FieldManager` called a validator method that did not exist, so both tools threw before reaching the API. `FieldAwareValidator.getWarnings()` now exists (returns warnings for a missing label or a choice field with no choices; never throws) and both tools work.
14+
- **`gf_validate_form` created a real entry instead of validating.** Like the 2.2.0 `gf_validate_submission` fix, it POSTed to `/submissions`; it now uses the dedicated `/forms/{id}/submissions/validation` route and returns `{valid, validation_messages, page_number}` **without persisting an entry**.
15+
- **`field_values` was typed as an object** on `gf_submit_form_data` and `gf_validate_form` — the inverse of Gravity Forms, which declares it as a string/array of dynamic-population data and rejects an object with a 400. It now accepts a query string or array; objects are rejected client-side with a message pointing to the `input_N` keys for submitted values.
16+
- **`sorting.is_numeric: false` forced numeric ordering.** GF never casts the flag, so the string `"false"` read as truthy. `is_numeric` is now sent only when truthy and omitted otherwise.
17+
18+
### Changed
19+
- Server `instructions` rewritten from a second-person playbook into declarative two-plane prose. The imperative phrasing was echoed back by some non-Claude-Code clients as injected commands; the tools are self-describing, so the instructions now just state the `gf_*` / `gv_*` planes and point at the `gv_*_list` discovery tools and `gk_reload_abilities`.
20+
821
## [2.2.0] - 2026-06-16
922

1023
A correctness pass on the Gravity Forms (`gf_*`) plane, verified against Gravity Forms 2.10.3 source and a live GF site (self-seeding `npm run test:live` harness).
@@ -194,6 +207,7 @@ A correctness pass on the Gravity Forms (`gf_*`) plane, verified against Gravity
194207
- Field filters (1 tool)
195208
- Results/Analytics (1 tool)
196209

210+
[2.3.0]: https://github.com/GravityKit/MCP/releases/tag/v2.3.0
197211
[2.2.0]: https://github.com/GravityKit/MCP/releases/tag/v2.2.0
198212
[2.1.0]: https://github.com/GravityKit/MCP/releases/tag/v2.1.0
199213
[2.0.0]: https://github.com/GravityKit/MCP/releases/tag/v2.0.0

mcp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gravitykit-mcp",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "MCP server for Gravity Forms",
55
"author": "GravityKit",
66
"license": "MIT",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gravitykit/mcp",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "Full-featured MCP server for Gravity Forms",
55
"main": "src/index.js",
66
"type": "module",

0 commit comments

Comments
 (0)