Model Context Protocol stdio server for Clipth clipboard manager. Exposes read tools (search_clipboard, list_recent, get_clip, list_tags, list_recent_activity) and write tools (tag_clip, untag_clip, favorite_clip, pin_clip, delete_clip, restore_clip, create_snippet, list_rules, create_rule, update_rule, delete_rule) that let MCP clients query and curate the same SwiftData store the GUI uses.
Clipth exposes 16 tools with consistent naming (verb_noun pattern) and descriptions present for all tools. However, parameter schemas lack critical details: most parameters have type and description, but lack constraints (enums, ranges, patterns). Output schemas are not documented, LLMs cannot predict response structure. Error handling is basic (generic error codes, no recovery guidance). Tool descriptions are adequate (100-200 chars) but lack dependency hints and prerequisites. No tool annotations (readOnlyHint, destructiveHint) despite clear risk levels. Composition is sound, tools are single-purpose and chainable via UUIDs.
Create an automation rule (match conditions + action, including JavaScript or shell scripts). The rule is always created DISABLED — the user must review and enable it in Clipth's settings before it runs.
Create a snippet entry, optionally with a title and tags.
Delete an entry — soft-delete to trash by default, or purge permanently with soft=false.
Delete an automation rule.
Set or clear an entry's favorite state.
Fetch a single clipboard entry by UUID, returning full content plus metadata.
List the most recent clipboard entries, optionally filtered by type.
Output schemas not documented. LLMs cannot predict response structure (fields, types, pagination). Responses are wrapped in generic 'content' array with 'text' field, actual JSON structure of returned data is opaque.
Parameter constraints missing. 'limit' parameters lack min/max bounds (e.g., list_recent accepts integer with no range specified). 'type' filter in list_recent has no enum of valid content types. LLMs will pass arbitrary values.
No tool annotations despite clear risk levels. delete_clip and delete_rule are destructive but lack destructiveHint annotation. list_* tools are read-only but lack readOnlyHint. Agents cannot infer safety without annotations.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | <=2025-11-25 | v2 |
List entries added since a given time (ISO 8601 or relative like 30m/2h/3d/1w). Handy for time-bounded summaries.
List the automation rules configured in Clipth, in evaluation order, with their conditions and actions.
List every tag in use along with how many entries carry it.
Set or clear an entry's pinned state.
Restore a soft-deleted entry from the trash.
Search clipboard history. Uses local sentence embeddings for semantic ranking when possible, falls back to keyword matching.
Add tags to a clipboard entry (merged with its existing tags).
Remove the given tags from a clipboard entry.
Update an existing automation rule's conditions and/or actions. The rule remains in its current enabled/disabled state.
Error handling lacks recovery guidance. Generic error codes (-32602, -32603) with minimal context. No actionable messages like 'UUID not found. Valid UUIDs: [...]' or 'Rule creation failed, conditions must be non-empty.'
Descriptions lack dependency hints and prerequisites. create_rule says 'rule is always created DISABLED' but does not explain how to enable it or what happens if conditions are malformed. list_recent_activity accepts relative time strings (30m, 2h) but no examples or format spec in description.