@sebamomann/plants-mcp 1.6.0 → 1.7.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/CHANGELOG.md +8 -0
- package/README.md +7 -4
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
Notable changes to `@sebamomann/plants-mcp`. Versioning is semver against the **tool surface** —
|
|
4
4
|
see the table in `AGENTS.md` for what counts as major, minor, and patch.
|
|
5
5
|
|
|
6
|
+
## 1.7.0 — 2026-08-08
|
|
7
|
+
|
|
8
|
+
**New plant status: `EXTERNAL` (reference plant).** A plant somebody else owns, recorded only as
|
|
9
|
+
an anchor for propagation lineage — never cared for, no care settings, not part of the collection.
|
|
10
|
+
`list_plants` accepts it (and `SPLIT`, which the enum had been missing) as a `status` filter, and
|
|
11
|
+
`collection_stats` now excludes `EXTERNAL` plants from every count and total, matching the app's
|
|
12
|
+
`/stats` page. No tool added or removed.
|
|
13
|
+
|
|
6
14
|
## 1.6.0 — 2026-08-04
|
|
7
15
|
|
|
8
16
|
**Plants can now carry freeform tags.** `update_plant` gained a `tags` argument (replaces the
|
package/README.md
CHANGED
|
@@ -135,8 +135,10 @@ Not oversights — deliberate limits:
|
|
|
135
135
|
| `list_plants` | `GET /api/v1/plants` | all optional: `status`, `lifecycle`, `locationId`, `plantTypeId`, `soilId`, `fertilizerId`, `tag` (exact match), `search` (type name / notes), `limit` (1–200), `offset`, `sort` |
|
|
136
136
|
| `get_plant` | `GET /api/v1/plants/:id` | `id` **(required)** — full detail: catalogs, care config, lineage, recent events |
|
|
137
137
|
|
|
138
|
-
`status` is one of `LIVING`, `DEAD`, `GIFTED`, `LOST`, `SOLD`, `TRADED`, `MERGED
|
|
139
|
-
`PROPAGATING` or `ESTABLISHED`.
|
|
138
|
+
`status` is one of `LIVING`, `DEAD`, `GIFTED`, `LOST`, `SOLD`, `TRADED`, `MERGED`, `SPLIT`,
|
|
139
|
+
`EXTERNAL`; `lifecycle` is `PROPAGATING` or `ESTABLISHED`. `EXTERNAL` is a **reference plant** —
|
|
140
|
+
somebody else's plant, recorded only as an anchor for propagation lineage. It is never cared for,
|
|
141
|
+
never appears in due/overdue care, and is excluded from `collection_stats`.
|
|
140
142
|
|
|
141
143
|
### Per-plant history
|
|
142
144
|
|
|
@@ -193,8 +195,9 @@ Use this instead of looping the per-plant tools when the question is about a **t
|
|
|
193
195
|
|
|
194
196
|
Counts by status, location, and plant type; total spend (`price`) and total revenue (`soldPrice`
|
|
195
197
|
on sold plants); acquisitions bucketed by month. Use this instead of listing every plant when the
|
|
196
|
-
question is a count or a total, not which specific plants. Every status is included
|
|
197
|
-
filter — matching the app's own `/stats`
|
|
198
|
+
question is a count or a total, not which specific plants. Every status is included except
|
|
199
|
+
`EXTERNAL` (reference plants aren't yours) — no `MERGED` filter — matching the app's own `/stats`
|
|
200
|
+
page.
|
|
198
201
|
|
|
199
202
|
| Tool | Endpoint | Arguments |
|
|
200
203
|
|---|---|---|
|
package/dist/index.js
CHANGED
|
@@ -121,9 +121,9 @@ server.tool("whoami", "Return the authenticated user for the configured API key.
|
|
|
121
121
|
// --- Plants -----------------------------------------------------------------
|
|
122
122
|
server.tool("list_plants", "List the user's plants, with optional filters. Returns plant summaries.", {
|
|
123
123
|
status: z
|
|
124
|
-
.enum(["LIVING", "DEAD", "GIFTED", "LOST", "SOLD", "TRADED", "MERGED"])
|
|
124
|
+
.enum(["LIVING", "DEAD", "GIFTED", "LOST", "SOLD", "TRADED", "MERGED", "SPLIT", "EXTERNAL"])
|
|
125
125
|
.optional()
|
|
126
|
-
.describe("Filter by plant status."),
|
|
126
|
+
.describe("Filter by plant status. EXTERNAL is a reference plant: somebody else's plant, recorded only as an anchor for propagation lineage — never cared for and not part of the collection's totals."),
|
|
127
127
|
lifecycle: z.enum(["PROPAGATING", "ESTABLISHED"]).optional().describe("Filter by lifecycle stage."),
|
|
128
128
|
locationId: z.number().int().optional().describe("Filter by location id."),
|
|
129
129
|
plantTypeId: z.number().int().optional().describe("Filter by plant type (species) id."),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sebamomann/plants-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "MCP server for the Sprig plant app: 29 tools to read a plant collection, log care, and edit a plant. Read-only by default; writes need a write-scoped API key. Two tools can delete a watering/fertilization event; nothing else is destructive.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|