MCP server for Publee — publish HTML to a shareable https://<slug>.publee.site URL
Single tool 'publee_publish' has a well-structured schema with comprehensive parameter descriptions and clear semantic intent. The tool name uses verb_noun pattern (publish), the description is detailed (220+ chars, within optimal 10-1024 range), and all parameters are typed with descriptions. Input validation via Zod is properly implemented server-side. However, the tool lacks explicit output schema documentation in the MCP registration, error handling guidance is minimal (generic 'throw new Error'), and there is no indication of idempotency hints or destructive operation markers in the tool metadata. The parameter set is complex (11 params) but well-documented; conditional dependencies between parameters (e.g., 'password' required when visibility='password') are documented in descriptions but not validated at schema level. Risk classification (WRITE) is present but not exposed as a toolAnnotation.
Publish HTML (a single page or a static file tree) to a shareable https://<slug>.publee.site URL, or update a previously published site in place (same URL) by passing its slug with overwrite: true. Works without authentication (site expires in 7 days; the response includes a claimUrl to transfer it to an account). With PUBLEE_API_TOKEN set, sites persist indefinitely and more options unlock.
Missing output schema documentation. The tool returns structured content (site.url, site.slug, site.visibility, etc.) but the return type is not formally documented in the MCP tool registration. LLMs cannot plan downstream actions or field extraction without knowing response structure.
No tool annotations (destructiveHint, idempotentHint). The tool has 'Risk: WRITE' metadata externally but does not expose this via MCP toolAnnotations. The 'overwrite' parameter is a destructive operation (file replacement) but lacks explicit marking.
Error handling is generic. When the API returns an error, the code throws a generic Error with minimal context. No guidance on retryability, user-correctable issues, or recovery steps. E.g., if slug validation fails, the LLM has no suggestion on valid formats.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 65 | 2026-07-28+ | v2 |
Parameter validation is incomplete at schema level. Conditional requirements (e.g., 'password' required when visibility='password'; slug length 3-63 chars; slug regex [a-z0-9-]) are documented in descriptions but not enforced by Zod schema. The slug regex pattern is only mentioned in text, not formalized.
Missing dependency documentation for mutually exclusive parameters. The tool description says 'Use this or files' for html/files, but the schema allows both to be omitted or both present. No schema-level enforcement or clear guidance on what happens if both are provided.
No confirmation or dry-run pattern for destructive operations. Publishing with 'overwrite: true' replaces all files on an existing site. For an LLM, this is irreversible without a safety gate or confirmation step.