MCP server for MantisBT 1.2.x issue tracking system, providing tools to list projects, list issues, get issue details, create issues, update issues, and add notes/comments
Mantis MCP Extension demonstrates solid fundamentals: all 6 tools have clear verb-noun naming (list_, get_, create_, update_, add_), complete JSON schemas with type constraints, and descriptions ranging 80-180 chars. Input validation is robust via AbstractTool helpers. However, output schemas are not formally documented in the tool definitions, only inferred from code. Parameter descriptions are present but terse (avg 45 chars vs baseline 72). No tool annotations (readOnlyHint/destructiveHint) despite clear risk classifications. Error handling converts Mantis exceptions to JsonRpcException but lacks recovery guidance in descriptions.
Adds a note/comment to an existing issue as the authenticated user. The note can optionally be marked as private.
Creates a new issue (ticket) in a Mantis project as the authenticated user. Required: project_id, summary, description, category. Optional: priority, severity, additional_information.
Returns the details of a Mantis issue by its ID, including status, assignment and the notes visible to the authenticated user.
Lists issues visible to the authenticated user, optionally filtered by project, with pagination. Returns a compact summary per issue (without long descriptions).
Lists all projects the authenticated user can access (id, name, status, description). Useful for determining the project_id for other tools.
Updates fields of an existing issue (status, priority, severity, summary, description). Only the provided fields are changed.
Output schemas not formally documented. Tool descriptions state what is returned (e.g., 'compact summary per issue') but do not specify the exact JSON structure, field types, or required vs optional fields. LLMs cannot reliably plan downstream tool calls without knowing what fields to extract.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk classifications. mantis_create_issue, mantis_update_issue, and mantis_add_note are marked WRITE but lack destructiveHint annotation. Agents cannot distinguish safe reads from state-modifying calls without explicit hints.
Parameter descriptions are terse (avg 45 chars vs baseline 72). E.g., 'Optional: priority (e.g. low, normal, high, urgent)' lacks guidance on what happens if an invalid value is passed or whether priority is required. Descriptions should state constraints, valid enums, and error recovery paths.
Inferred effective spec: 2026-07-28+.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | 2026-07-28+ | v2 |
Error handling converts Mantis exceptions to JsonRpcException but descriptions do not guide recovery. E.g., if mantis_create_issue fails due to invalid category, the error message should suggest 'Call mantis_list_projects to see available categories' rather than a bare error code.
No pagination limit stated in tool descriptions. mantis_list_issues accepts page_size up to 100, but the description does not warn that large result sets may exhaust context or recommend a default limit (e.g., 'Default: 25 issues per page; max 100').