fettle-mcp 0.7.2 → 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 +58 -24
- package/contracts/mcp_tools.json +70 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -116,7 +116,7 @@ FETTLE_API_KEY = "fettle_your_key_here"
|
|
|
116
116
|
|
|
117
117
|
## Tools
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
50 tools, grouped by what they work on. Read-scope keys can call the `read` ones; everything marked `write` needs a write-scope key.
|
|
120
120
|
|
|
121
121
|
Every tool carries the MCP hints `readOnlyHint`, `destructiveHint`, `idempotentHint` and `openWorldHint`, so a client can tell reads from changes without parsing names and ask for confirmation only where it matters. Only the five `delete_*` tools are destructive. `preview_maintenance_window` and `check_target` are marked read-only although they need a write-scope key: they change nothing. `check_now` and `check_target` reach the target host, so they are open-world.
|
|
122
122
|
|
|
@@ -126,7 +126,7 @@ Every tool whose result is a JSON object declares an `outputSchema` and returns
|
|
|
126
126
|
|
|
127
127
|
| Tool | Scope | What it does |
|
|
128
128
|
| -------------------------- | ----- | --------------------------------------------------------------------------------------------- |
|
|
129
|
-
| `list_monitors` | read | List monitors compactly
|
|
129
|
+
| `list_monitors` | read | List monitors compactly; filter by type, status, tags; sort by status, SSL expiry, latency. |
|
|
130
130
|
| `get_monitor` | read | Read one monitor's full configuration and current status by id. |
|
|
131
131
|
| `check_target` | write | Probe a target once from one region before creating a monitor for it. |
|
|
132
132
|
| `create_monitor` | write | Create a monitor that checks a URL, host or port on a schedule. |
|
|
@@ -184,12 +184,13 @@ Every tool whose result is a JSON object declares an `outputSchema` and returns
|
|
|
184
184
|
|
|
185
185
|
### Tags
|
|
186
186
|
|
|
187
|
-
| Tool
|
|
188
|
-
|
|
|
189
|
-
| `list_tags`
|
|
190
|
-
| `bulk_update_monitor_tags`
|
|
191
|
-
| `
|
|
192
|
-
| `
|
|
187
|
+
| Tool | Scope | What it does |
|
|
188
|
+
| ---------------------------- | ----- | ---------------------------------------------------------------------------------- |
|
|
189
|
+
| `list_tags` | read | List every tag in the organization with how many monitors and heartbeats carry it. |
|
|
190
|
+
| `bulk_update_monitor_tags` | write | Add and/or remove tags across up to 300 monitors in one call. |
|
|
191
|
+
| `bulk_update_heartbeat_tags` | write | Add and/or remove tags across up to 300 heartbeats in one call. |
|
|
192
|
+
| `rename_tag` | write | Rename a tag on every monitor and heartbeat that carries it. |
|
|
193
|
+
| `delete_tag` | write | Remove a tag from every monitor and heartbeat that carries it. |
|
|
193
194
|
|
|
194
195
|
### Status pages
|
|
195
196
|
|
|
@@ -247,16 +248,16 @@ CREATING MONITORS
|
|
|
247
248
|
- Exposed ports on a server: follow get_exposed_ports_preset.
|
|
248
249
|
|
|
249
250
|
MANY MONITORS AT ONCE
|
|
250
|
-
Find ids with list_monitors, then bulk_pause_monitors, bulk_resume_monitors or bulk_update_monitors (interval, timeout, regions, channels, threshold, cooldown) for up to 100 ids, all or nothing.
|
|
251
|
+
Find ids with list_monitors, then bulk_pause_monitors, bulk_resume_monitors or bulk_update_monitors (interval, timeout, regions, channels, threshold, cooldown) for up to 100 ids, all or nothing. There is no bulk delete.
|
|
251
252
|
|
|
252
253
|
TAGS
|
|
253
|
-
Call list_tags first and reuse names. Tags are flat labels such as env:prod, trimmed, lowercased and deduplicated; at most 10 per item. rename_tag and delete_tag act on every monitor and heartbeat.
|
|
254
|
+
Call list_tags first and reuse names. Tags are flat labels such as env:prod, trimmed, lowercased and deduplicated; at most 10 per item. rename_tag and delete_tag act on every monitor and heartbeat. bulk_update_monitor_tags and bulk_update_heartbeat_tags add/remove tags on up to 300 items.
|
|
254
255
|
|
|
255
256
|
HEARTBEATS
|
|
256
257
|
A job calls ping_url when it succeeds. Job every N seconds, alert after T seconds of silence: period_seconds = N, grace_seconds = T - N. Never late before its first success ping. ping_url + "/start" restarts the clock, ping_url + "/fail" marks it DOWN at once.
|
|
257
258
|
|
|
258
259
|
MAINTENANCE
|
|
259
|
-
Before a deploy or reboot, create_maintenance_window (scope ORG or MONITOR) instead of pausing monitors: checks keep running, but no incident opens and no alert goes out. Not for heartbeats. preview_maintenance_window
|
|
260
|
+
Before a deploy or reboot, create_maintenance_window (scope ORG or MONITOR) instead of pausing monitors: checks keep running, but no incident opens and no alert goes out. Not for heartbeats. preview_maintenance_window previews a schedule; list_active_maintenance shows what is silenced now.
|
|
260
261
|
|
|
261
262
|
OUTAGES
|
|
262
263
|
list_monitors status ["DOWN"] -> list_check_results (status code, error, region per check) -> get_incident. acknowledge_incident stops repeat alerts; the recovery alert still goes out. create_status_page_incident and post_status_page_update can email the page's subscribers: confirm the text with the user first.
|
|
@@ -268,7 +269,7 @@ ERRORS (start of a failed call's text)
|
|
|
268
269
|
- "Forbidden:": a plan limit, an unknown region, or the user's role; the reason says which.
|
|
269
270
|
- "Not found:": no such id in this organization.
|
|
270
271
|
- "Rate limited": wait the seconds given, then retry. All API keys and app connections share the organization's per-minute budget.
|
|
271
|
-
- "Tool '<name>' failed: the API returned 5xx":
|
|
272
|
+
- "Tool '<name>' failed: the API returned 5xx": retry once later.
|
|
272
273
|
- "Tool '<name>' does not accept argument(s)": drop the ones named.
|
|
273
274
|
- "Request failed with status N": read the reason, do not retry unchanged.
|
|
274
275
|
|
|
@@ -279,12 +280,43 @@ ERRORS (start of a failed call's text)
|
|
|
279
280
|
## The other channel: remote MCP
|
|
280
281
|
|
|
281
282
|
If your client supports remote MCP servers over HTTP, you do not need this
|
|
282
|
-
package at all — point it at `https://api.fettle.sh/mcp
|
|
283
|
-
|
|
283
|
+
package at all — point it at `https://api.fettle.sh/mcp`. Same tools, same
|
|
284
|
+
behaviour, nothing to install or update. The remote channel takes either a
|
|
285
|
+
browser sign-in (OAuth) or an API key.
|
|
284
286
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
287
|
+
### Sign in with OAuth
|
|
288
|
+
|
|
289
|
+
The client opens fettle.sh in the browser; you sign in, pick the organization
|
|
290
|
+
and choose **Read only** or **Read and write**. No key to create or paste. A
|
|
291
|
+
connection sees one organization; to switch, connect again. Connections are
|
|
292
|
+
listed, and can be disconnected, under Settings → Connected apps.
|
|
293
|
+
|
|
294
|
+
- **claude.ai** — Settings → Connectors → Add custom connector, URL
|
|
295
|
+
`https://api.fettle.sh/mcp`. Keep **Sign in now** and **Register
|
|
296
|
+
automatically** selected; "Use Claude's published identity" is not supported.
|
|
297
|
+
- **Claude Code**:
|
|
298
|
+
|
|
299
|
+
```bash
|
|
300
|
+
claude mcp add --transport http fettle https://api.fettle.sh/mcp
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
then run `/mcp` and choose Authenticate.
|
|
304
|
+
|
|
305
|
+
- **Codex** detects OAuth and opens the browser right away:
|
|
306
|
+
|
|
307
|
+
```bash
|
|
308
|
+
codex mcp add fettle --url https://api.fettle.sh/mcp
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
`codex mcp login fettle` signs in again later.
|
|
312
|
+
|
|
313
|
+
- **ChatGPT** — Plugins → **+** → Add custom MCP server, URL
|
|
314
|
+
`https://api.fettle.sh/mcp`, authentication OAuth; create it as a plugin,
|
|
315
|
+
then open the plugin and install it.
|
|
316
|
+
|
|
317
|
+
### Use an API key
|
|
318
|
+
|
|
319
|
+
Send the same API key this package takes as a Bearer token. Claude Code:
|
|
288
320
|
|
|
289
321
|
```bash
|
|
290
322
|
claude mcp add fettle --transport http https://api.fettle.sh/mcp \
|
|
@@ -304,8 +336,8 @@ Clients configured through a JSON file take the same two fields:
|
|
|
304
336
|
}
|
|
305
337
|
```
|
|
306
338
|
|
|
307
|
-
|
|
308
|
-
|
|
339
|
+
In `~/.codex/config.toml`, Codex reads the key from an environment variable,
|
|
340
|
+
so the key itself never sits in the file:
|
|
309
341
|
|
|
310
342
|
```toml
|
|
311
343
|
[mcp_servers.fettle]
|
|
@@ -313,18 +345,19 @@ url = "https://api.fettle.sh/mcp"
|
|
|
313
345
|
bearer_token_env_var = "FETTLE_API_KEY"
|
|
314
346
|
```
|
|
315
347
|
|
|
348
|
+
### When to use this package instead
|
|
349
|
+
|
|
316
350
|
Use this package when your client speaks only stdio, or when you would rather
|
|
317
351
|
the credential stayed in a local config file than in a client's cloud
|
|
318
|
-
configuration.
|
|
319
|
-
|
|
320
|
-
There is no OAuth on either channel yet; both authenticate with an API key.
|
|
352
|
+
configuration. This package authenticates with an API key only.
|
|
321
353
|
|
|
322
354
|
## Rate limits and plans
|
|
323
355
|
|
|
324
356
|
Tool calls spend the same per-organization request budget as the REST API — the
|
|
325
357
|
plan's limit, not a separate one. A rate-limited call comes back saying how many
|
|
326
358
|
seconds to wait. Some tools also have their own cap per calling address:
|
|
327
|
-
`check_now`
|
|
359
|
+
`check_now` 10 calls per minute, `bulk_update_monitor_tags` and
|
|
360
|
+
`bulk_update_heartbeat_tags` 10 per minute between them,
|
|
328
361
|
`create_status_page_incident` and `post_status_page_update` 10 per minute
|
|
329
362
|
between them, and `check_target` its own limit. `get_plan_usage` shows the organization's request budget as
|
|
330
363
|
`limits.api_rate_limit_per_minute`. Plan limits are listed at
|
|
@@ -366,7 +399,8 @@ serves, and it repeats the version — a test fails if it stops matching
|
|
|
366
399
|
`package.json`, so bump both together.
|
|
367
400
|
|
|
368
401
|
A release is a version tag: pushing `vX.Y.Z` runs `.github/workflows/publish.yml`,
|
|
369
|
-
which tests, builds and publishes the package to npm with provenance
|
|
402
|
+
which tests, builds and publishes the package to npm with provenance, then
|
|
403
|
+
publishes `server.json` to the MCP registry.
|
|
370
404
|
|
|
371
405
|
## License
|
|
372
406
|
|
package/contracts/mcp_tools.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"instructions": "Fettle is an uptime monitoring service. The tools see only the caller's organization: monitors, heartbeats, maintenance windows, incidents, status page incidents, tags, channels (read), regions. Channels, status pages, members, API keys and billing are managed only in the dashboard (https://dashboard.fettle.sh). Read a tool's description (arguments, limits, errors) before its first call.\n\nFINDING THINGS\n- list_monitors: one short row per monitor, to find ids. Filters are JSON arrays. Broken now: status [\"DOWN\", \"DEGRADED\"]. Certificates expiring first: type [\"SSL\"], sort \"ssl_expiry\".\n- tag filters lists; tag_match \"all\" (default) needs every tag, \"any\" one of them.\n- Pages: page from 1, size 1..100 (default 25).\n\nPLAN LIMITS\nCall get_plan_usage before creating anything: limits (null means none) and usage. A broken limit or an unknown region is a 403 naming it: change the request or tell the user; never retry it unchanged.\n\nCREATING MONITORS\n- check_target probes a target once before create_monitor.\n- regions: unless the user names some, use every limits.allowed_regions code, up to max_regions; SSL, DNS and port-list TCP take one.\n- After create, tell the user the interval and regions chosen; offer to change the interval (update_monitor).\n- bulk_create_monitors creates up to 100, all or nothing.\n- type and target never change after create.\n- channel_ids: ids from list_channels. Empty or omitted on create alerts every verified, active channel. Email is not a channel: every alert also emails the creator of the monitor or heartbeat.\n- update tools change only the fields you pass; omit one to keep it, never send null. A monitor's config is replaced whole: resend every config field to keep.\n- Exposed ports on a server: follow get_exposed_ports_preset.\n\nMANY MONITORS AT ONCE\nFind ids with list_monitors, then bulk_pause_monitors, bulk_resume_monitors or bulk_update_monitors (interval, timeout, regions, channels, threshold, cooldown) for up to 100 ids, all or nothing.
|
|
3
|
+
"instructions": "Fettle is an uptime monitoring service. The tools see only the caller's organization: monitors, heartbeats, maintenance windows, incidents, status page incidents, tags, channels (read), regions. Channels, status pages, members, API keys and billing are managed only in the dashboard (https://dashboard.fettle.sh). Read a tool's description (arguments, limits, errors) before its first call.\n\nFINDING THINGS\n- list_monitors: one short row per monitor, to find ids. Filters are JSON arrays. Broken now: status [\"DOWN\", \"DEGRADED\"]. Certificates expiring first: type [\"SSL\"], sort \"ssl_expiry\".\n- tag filters lists; tag_match \"all\" (default) needs every tag, \"any\" one of them.\n- Pages: page from 1, size 1..100 (default 25).\n\nPLAN LIMITS\nCall get_plan_usage before creating anything: limits (null means none) and usage. A broken limit or an unknown region is a 403 naming it: change the request or tell the user; never retry it unchanged.\n\nCREATING MONITORS\n- check_target probes a target once before create_monitor.\n- regions: unless the user names some, use every limits.allowed_regions code, up to max_regions; SSL, DNS and port-list TCP take one.\n- After create, tell the user the interval and regions chosen; offer to change the interval (update_monitor).\n- bulk_create_monitors creates up to 100, all or nothing.\n- type and target never change after create.\n- channel_ids: ids from list_channels. Empty or omitted on create alerts every verified, active channel. Email is not a channel: every alert also emails the creator of the monitor or heartbeat.\n- update tools change only the fields you pass; omit one to keep it, never send null. A monitor's config is replaced whole: resend every config field to keep.\n- Exposed ports on a server: follow get_exposed_ports_preset.\n\nMANY MONITORS AT ONCE\nFind ids with list_monitors, then bulk_pause_monitors, bulk_resume_monitors or bulk_update_monitors (interval, timeout, regions, channels, threshold, cooldown) for up to 100 ids, all or nothing. There is no bulk delete.\n\nTAGS\nCall list_tags first and reuse names. Tags are flat labels such as env:prod, trimmed, lowercased and deduplicated; at most 10 per item. rename_tag and delete_tag act on every monitor and heartbeat. bulk_update_monitor_tags and bulk_update_heartbeat_tags add/remove tags on up to 300 items.\n\nHEARTBEATS\nA job calls ping_url when it succeeds. Job every N seconds, alert after T seconds of silence: period_seconds = N, grace_seconds = T - N. Never late before its first success ping. ping_url + \"/start\" restarts the clock, ping_url + \"/fail\" marks it DOWN at once.\n\nMAINTENANCE\nBefore a deploy or reboot, create_maintenance_window (scope ORG or MONITOR) instead of pausing monitors: checks keep running, but no incident opens and no alert goes out. Not for heartbeats. preview_maintenance_window previews a schedule; list_active_maintenance shows what is silenced now.\n\nOUTAGES\nlist_monitors status [\"DOWN\"] -> list_check_results (status code, error, region per check) -> get_incident. acknowledge_incident stops repeat alerts; the recovery alert still goes out. create_status_page_incident and post_status_page_update can email the page's subscribers: confirm the text with the user first.\n\nERRORS (start of a failed call's text)\n- \"Authentication failed\": the credential is missing, revoked or expired, the address is not allowed, or its user lost access. Do not retry; tell the user.\n- \"This tool requires an API key with write scope\" or \"needs write access\": read-only; tell the user.\n- \"Invalid argument(s)\": names each failing field. \"Invalid request:\": the rule broken. Fix, retry.\n- \"Forbidden:\": a plan limit, an unknown region, or the user's role; the reason says which.\n- \"Not found:\": no such id in this organization.\n- \"Rate limited\": wait the seconds given, then retry. All API keys and app connections share the organization's per-minute budget.\n- \"Tool '<name>' failed: the API returned 5xx\": retry once later.\n- \"Tool '<name>' does not accept argument(s)\": drop the ones named.\n- \"Request failed with status N\": read the reason, do not retry unchanged.\n",
|
|
4
4
|
"tools": [
|
|
5
5
|
{
|
|
6
6
|
"name": "list_monitors",
|
|
@@ -33,10 +33,11 @@
|
|
|
33
33
|
"name",
|
|
34
34
|
"newest",
|
|
35
35
|
"oldest",
|
|
36
|
-
"ssl_expiry"
|
|
36
|
+
"ssl_expiry",
|
|
37
|
+
"response_time"
|
|
37
38
|
],
|
|
38
39
|
"type": "string",
|
|
39
|
-
"description": "status (the default: PENDING, DOWN, DEGRADED, UP, PAUSED, then by name), up_first (healthy first), name, newest, oldest,
|
|
40
|
+
"description": "status (the default: PENDING, DOWN, DEGRADED, UP, PAUSED, then by name), up_first (healthy first), name, newest, oldest, ssl_expiry (soonest-expiring certificates first; monitors with no known expiry, non-SSL types or not checked yet, last), or response_time (slowest latest check first, across regions; monitors whose latest check measured no time, such as a timeout, or not checked yet, after them; paused monitors last)."
|
|
40
41
|
},
|
|
41
42
|
"type": {
|
|
42
43
|
"items": {
|
|
@@ -2513,7 +2514,7 @@
|
|
|
2513
2514
|
{
|
|
2514
2515
|
"name": "bulk_update_monitor_tags",
|
|
2515
2516
|
"title": "Retag several monitors at once",
|
|
2516
|
-
"description": "Add and/or remove tags across up to 300 monitors in one call, all or nothing: each monitor ends with (its tags | add) - remove. Use it to retag a fleet; to replace one monitor's whole tag list use update_monitor, to rename or drop a tag everywhere (heartbeats too) use rename_tag or delete_tag. Requires a key with the write scope. At least one of add or remove is required, and they must not share a tag (422). A monitor that would end with more than 10 tags rejects the whole call (422). Each tag is trimmed, lowercased and deduplicated on write, at most 50 characters of a-z, 0-9 and : _ . / -, starting with a letter or digit. Reuse names from list_tags rather than inventing near-duplicates. Returns monitors_updated. Calls are limited to 10 per minute per calling address for an API key, per user for an app connection (never per key or organization); past that it is a 429 with the seconds to wait. Example: {\"monitor_ids\": [\"<id from list_monitors>\", \"<id from list_monitors>\"], \"add\": [\"env:prod\"], \"remove\": [\"env:staging\"]}",
|
|
2517
|
+
"description": "Add and/or remove tags across up to 300 monitors in one call, all or nothing: each monitor ends with (its tags | add) - remove. Use it to retag a fleet; for heartbeats use bulk_update_heartbeat_tags, to replace one monitor's whole tag list use update_monitor, to rename or drop a tag everywhere (heartbeats too) use rename_tag or delete_tag. Requires a key with the write scope. At least one of add or remove is required, and they must not share a tag (422). A monitor that would end with more than 10 tags rejects the whole call (422). Each tag is trimmed, lowercased and deduplicated on write, at most 50 characters of a-z, 0-9 and : _ . / -, starting with a letter or digit. Reuse names from list_tags rather than inventing near-duplicates. Returns monitors_updated. Calls are limited to 10 per minute, shared by bulk_update_monitor_tags and bulk_update_heartbeat_tags, per calling address for an API key, per user for an app connection (never per key or organization); past that it is a 429 with the seconds to wait. Example: {\"monitor_ids\": [\"<id from list_monitors>\", \"<id from list_monitors>\"], \"add\": [\"env:prod\"], \"remove\": [\"env:staging\"]}",
|
|
2517
2518
|
"scope": "write",
|
|
2518
2519
|
"input_schema": {
|
|
2519
2520
|
"type": "object",
|
|
@@ -3924,7 +3925,7 @@
|
|
|
3924
3925
|
{
|
|
3925
3926
|
"name": "update_heartbeat",
|
|
3926
3927
|
"title": "Update a heartbeat monitor",
|
|
3927
|
-
"description": "Change one heartbeat's name, timing, channels or tags; only the fields you pass change. A new period or grace moves the current deadline (overdue_at) at once, counted from the last ping; a heartbeat with no running deadline (no ping or start since it was created or resumed, paused, or already down) is left without one. If the new deadline has already passed, the heartbeat is reported late on the next sweep. To stop or restart late alerts use pause_heartbeat or resume_heartbeat instead; ping_url never changes. Requires a key with the write scope. An invalid argument is a 422 naming it; never send null. Returns the heartbeat. Example: {\"heartbeat_id\": \"<id from list_heartbeats>\", \"grace_seconds\": 7200}",
|
|
3928
|
+
"description": "Change one heartbeat's name, timing, channels or tags; only the fields you pass change. A new period or grace moves the current deadline (overdue_at) at once, counted from the last ping; a heartbeat with no running deadline (no ping or start since it was created or resumed, paused, or already down) is left without one. If the new deadline has already passed, the heartbeat is reported late on the next sweep. To stop or restart late alerts use pause_heartbeat or resume_heartbeat instead; to retag many heartbeats use bulk_update_heartbeat_tags. ping_url never changes. Requires a key with the write scope. An invalid argument is a 422 naming it; never send null. Returns the heartbeat. Example: {\"heartbeat_id\": \"<id from list_heartbeats>\", \"grace_seconds\": 7200}",
|
|
3928
3929
|
"scope": "write",
|
|
3929
3930
|
"input_schema": {
|
|
3930
3931
|
"type": "object",
|
|
@@ -4113,6 +4114,70 @@
|
|
|
4113
4114
|
"type": "object"
|
|
4114
4115
|
}
|
|
4115
4116
|
},
|
|
4117
|
+
{
|
|
4118
|
+
"name": "bulk_update_heartbeat_tags",
|
|
4119
|
+
"title": "Retag several heartbeats at once",
|
|
4120
|
+
"description": "Add and/or remove tags across up to 300 heartbeats in one call, all or nothing: each heartbeat ends with (its tags | add) - remove. Use it to retag many jobs; for monitors use bulk_update_monitor_tags, to replace one heartbeat's whole tag list use update_heartbeat, to rename or drop a tag everywhere (monitors too) use rename_tag or delete_tag. Requires a key with the write scope. At least one of add or remove is required, and they must not share a tag (422). A heartbeat that would end with more than 10 tags rejects the whole call (422). Each tag is trimmed, lowercased and deduplicated on write, at most 50 characters of a-z, 0-9 and : _ . / -, starting with a letter or digit. Reuse names from list_tags rather than inventing near-duplicates. Returns heartbeats_updated. Calls are limited to 10 per minute, shared by bulk_update_monitor_tags and bulk_update_heartbeat_tags, per calling address for an API key, per user for an app connection (never per key or organization); past that it is a 429 with the seconds to wait. Example: {\"heartbeat_ids\": [\"<id from list_heartbeats>\", \"<id from list_heartbeats>\"], \"add\": [\"team:data\"], \"remove\": [\"team:ops\"]}",
|
|
4121
|
+
"scope": "write",
|
|
4122
|
+
"input_schema": {
|
|
4123
|
+
"type": "object",
|
|
4124
|
+
"properties": {
|
|
4125
|
+
"heartbeat_ids": {
|
|
4126
|
+
"description": "1 to 300 distinct heartbeat uuids from list_heartbeats. A repeated id is a 422; an unknown id rejects the whole call with a 404 naming every id not found.",
|
|
4127
|
+
"items": {
|
|
4128
|
+
"format": "uuid",
|
|
4129
|
+
"type": "string"
|
|
4130
|
+
},
|
|
4131
|
+
"maxItems": 300,
|
|
4132
|
+
"minItems": 1,
|
|
4133
|
+
"type": "array"
|
|
4134
|
+
},
|
|
4135
|
+
"add": {
|
|
4136
|
+
"description": "Tags to add to every listed heartbeat, up to 10.",
|
|
4137
|
+
"items": {
|
|
4138
|
+
"type": "string"
|
|
4139
|
+
},
|
|
4140
|
+
"type": "array"
|
|
4141
|
+
},
|
|
4142
|
+
"remove": {
|
|
4143
|
+
"description": "Tags to remove from every listed heartbeat, up to 10.",
|
|
4144
|
+
"items": {
|
|
4145
|
+
"type": "string"
|
|
4146
|
+
},
|
|
4147
|
+
"type": "array"
|
|
4148
|
+
}
|
|
4149
|
+
},
|
|
4150
|
+
"required": [
|
|
4151
|
+
"heartbeat_ids"
|
|
4152
|
+
],
|
|
4153
|
+
"additionalProperties": false
|
|
4154
|
+
},
|
|
4155
|
+
"operation": {
|
|
4156
|
+
"method": "POST",
|
|
4157
|
+
"path": "/v1/heartbeats/tags",
|
|
4158
|
+
"path_params": [],
|
|
4159
|
+
"query": [],
|
|
4160
|
+
"body": true,
|
|
4161
|
+
"fixed_query": {}
|
|
4162
|
+
},
|
|
4163
|
+
"annotations": {
|
|
4164
|
+
"read_only_hint": false,
|
|
4165
|
+
"destructive_hint": false,
|
|
4166
|
+
"idempotent_hint": true,
|
|
4167
|
+
"open_world_hint": false
|
|
4168
|
+
},
|
|
4169
|
+
"output_schema": {
|
|
4170
|
+
"properties": {
|
|
4171
|
+
"heartbeats_updated": {
|
|
4172
|
+
"type": "integer"
|
|
4173
|
+
}
|
|
4174
|
+
},
|
|
4175
|
+
"required": [
|
|
4176
|
+
"heartbeats_updated"
|
|
4177
|
+
],
|
|
4178
|
+
"type": "object"
|
|
4179
|
+
}
|
|
4180
|
+
},
|
|
4116
4181
|
{
|
|
4117
4182
|
"name": "pause_heartbeat",
|
|
4118
4183
|
"title": "Pause a heartbeat monitor",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fettle-mcp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"mcpName": "sh.fettle/mcp",
|
|
5
5
|
"description": "Fettle uptime monitoring (https://fettle.sh) for any MCP client — manage monitors, incidents, heartbeats, maintenance windows and status page incidents from Claude, Cursor or Codex.",
|
|
6
6
|
"keywords": [
|