About Mantisbt MCP Server
Mantisbt MCP Server is an MCP server published by dpesch in the AI category: mCP server for MantisBT REST API – read and manage bug tracker issues. Conduid read 47 tools from its source: add_monitor, add_note, add_relationship, attach_tags, create_issue, create_version and 41 more. It is published to npm as @dpesch/mantisbt-mcp-server and starts with npx.
The repository has 14 stars and 8 forks, and its last commit was on 30 Nov 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include mantis, mantisbt and model-context-protocol-server.
Install
claude mcp add mantisbt-mcp-server -- npx -y @dpesch/mantisbt-mcp-servernpx -y @dpesch/mantisbt-mcp-servergit clone https://github.com/dpesch/mantisbt-mcp-serverTools (47)
add_monitorDeprecated: use `update_issue` with `add_monitors` instead — will be removed in 2.0.0| Parameter | Type | Description |
|---|---|---|
| issue_id * | number | Numeric issue ID — use list_issues or get_issue to obtain issue IDs |
| username * | string | MantisBT login name (not the display name) of the user to add as monitor. Use get_project with member_query to discover valid login names for a project. |
add_noteAdd a note to an issue| Parameter | Type | Description |
|---|---|---|
| issue_id * | number | Numeric issue ID — use list_issues or get_issue to obtain issue IDs |
| text * | string | Note text (minimum 1 character). Full UTF-8 including emoji is supported. Markdown is stored as-is. |
| view_state | string | Visibility of the note: "public" (visible to all, default) or "private" (visible only to users with sufficient access level). |
add_relationshipCreate a relationship between two issues; optional `type_name` parameter accepts a string name (e.g. `"related_to"`, `"duplicate_of"`) as alternative to numeric `type_id`| Parameter | Type | Description |
|---|---|---|
| issue_id * | number | The source issue ID (the one the relationship is added to) |
| target_id * | number | The target issue ID |
| type_id | number | Relationship type ID: 0=duplicate_of, 1=related_to, 2=parent_of (depends on), 3=child_of (blocks), 4=has_duplicate. Use either type_id or type_name. |
| type_name | string | Relationship type name as alternative to type_id. Accepted: "duplicate_of", "related_to", "parent_of" (or "depends_on"), "child_of" (or "blocks"), "has_duplicate". Dash variants (e.g. "related-to") also work. |
attach_tagsAttach tags to an issue| Parameter | Type | Description |
|---|---|---|
| issue_id * | number | Numeric issue ID |
| tags | array | Tag ID |
create_issueCreate a new issue; `severity` and `priority` must be canonical English names (e.g. `minor`, `major`, `normal`, `high`) — call `get_issue_schema` to see all valid values and their localized labels; optional `handler` parameter accepts a username as alternative to `handler_id` (resolved against project members); optional `custom_fields` to set custom field values; `response: "short"` returns only the core fields of the new issue instead of the whole issue (default `"full"`, changes to `"short"` in 2.0.0)| Parameter | Type | Description |
|---|---|---|
| additional_information | string | Additional context or notes about the issue. Plain text or Markdown. |
| category * | string | Category name (required). Use get_project with include: ["categories"] to list available categories for the project. |
| custom_fields | array | Custom field values: [{field: {id|name}, value: "<string>"}]. Values longer than the field's configured maximum are rejected. Use get_issue_schema or get_metadata to discover available custom fields per project. |
| description * | string | Detailed issue description (required). Do not create issues without a description. Plain text or Markdown. |
| fixed_in_version | string | Version in which the issue was fixed. Use get_project with include: ["versions"] to list available version names. |
| handler | string | MantisBT login name of the assignee. The server resolves the name to a user ID from the project member list. Use get_project with member_query or include: ["users"] to look up valid login names. |
| handler_id | number | Numeric user ID of the assignee. Alternative to the handler field — use one or the other, not both. |
| priority | string | Priority level. Canonical English names: none, low, normal, high, urgent, immediate. Default: "normal". Use get_issue_schema to see localized labels. |
| project_id * | number | Project ID the issue belongs to — use list_projects to discover project IDs |
| reproducibility | string | How reliably the issue reproduces. Canonical English names: always, sometimes, random, have not tried, unable to reproduce, N/A. Use get_issue_schema to see localized labels. |
| severity | string | Severity level. Canonical English names: feature, trivial, text, tweak, minor, major, crash, block. Default: "minor". Use get_issue_schema to see localized labels. |
| steps_to_reproduce | string | Step-by-step instructions to reproduce the issue. Plain text or Markdown. |
| target_version | string | Target fix version — version in which the issue is planned to be resolved. Use get_project with include: ["versions"] to list available version names. |
| version | string | Affected product version name. Use get_project with include: ["versions"] to list available version names for the project. |
| view_state | string | Visibility of the issue: "public" (visible to all, default) or "private" (restricted to higher-access users). |
create_versionCreate a new version in a project; returns the created version object (id, name, description, released, obsolete, timestamp); requires `manage_project_threshold` (default: manager)| Parameter | Type | Description |
|---|---|---|
| description | string | Optional version description |
| name * | string | Version name, e.g. "1.2.0" |
delete_filePermanently delete an attachment from an issue (attachment ID from `get_issue`); requires MantisBT 2.29 or newer; hidden by `MANTIS_DISABLE_DESTRUCTIVE=true`| Parameter | Type | Description |
|---|---|---|
| file_id * | number | Numeric attachment ID to delete — obtain from get_issue (attachments[].id) |
| issue_id * | number | Numeric issue ID that owns the attachment |
delete_issueDelete an issue| Parameter | Type | Description |
|---|---|---|
| id * | number | Numeric issue ID to delete |
delete_noteDelete a note| Parameter | Type | Description |
|---|---|---|
| issue_id * | number | Numeric issue ID that owns the note |
| note_id * | number | Numeric note ID to delete — obtain from get_issue (notes[].id) |
delete_versionPermanently delete a version — irreversible, MantisBT clears version/target_version/fixed_in_version on all referencing issues; prefer `update_version` with `obsolete=true` as the non-destructive alternative; requires `manage_project_threshold` (default: manager)detach_tagRemove a tag from an issue| Parameter | Type | Description |
|---|---|---|
| issue_id * | number | Numeric issue ID |
| tag_id * | number | Numeric tag ID to remove |
find_project_memberDeprecated: use `get_project` with `member_query` instead (no `limit`, returns all matches) — will be removed in 2.0.0| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of results to return (default: 10, max: 100) |
| project_id * | number | Numeric project ID |
| query | string | Case-insensitive substring to match against name, real_name, or email |
get_configRead MantisBT configuration options via `GET /config`; required `options` (array of option names, e.g. `status_enum_string`, `status_enum_workflow`)| Parameter | Type | Description |
|---|---|---|
| options * | array | Array of configuration option names to retrieve |
get_current_userRetrieve your own user profile — includes `language` (the user's MantisBT language, a hint for which language to use in issue texts and notes)get_issueRetrieve an issue by `id`, or several by `ids` (1–50) in one call — pass exactly one; with `ids` returns `{ issues, requested, found, failed }`, missing or inaccessible IDs give `null` at their position; optional `select` for field projection| Parameter | Type | Description |
|---|---|---|
| id | number | Numeric issue ID (use either id or ids) |
| ids | array | Several issue IDs (1–50) to fetch in one call (use either id or ids) |
| select | string | Comma-separated list of fields to include in the response (server-side projection, same as list_issues). Significantly reduces response size. Example: "id,summary,status,notes" |
get_issue_enumsDeprecated: use `get_issue_schema` instead; the resource `mantis://enums` stays — will be removed in 2.0.0get_issue_fieldsDeprecated: use `get_issue_schema` instead — will be removed in 2.0.0| Parameter | Type | Description |
|---|---|---|
| project_id | number | Optional project ID to scope the sample issue fetch |
get_issue_schemaValid `select` fields (`fields`, `fields_source`) and enum values (`enums`: severity, status, priority, resolution, reproducibility) for this MantisBT server in one response; optional `project_id` scopes the field discovery — use before `create_issue` / `update_issue` or when building a `select` string| Parameter | Type | Description |
|---|---|---|
| project_id | number | Optional project ID to scope the sample issue used for field discovery |
get_issuesDeprecated: use `get_issue` with `ids` instead — will be removed in 2.0.0| Parameter | Type | Description |
|---|---|---|
| ids * | array | Array of numeric issue IDs to fetch (1–50). null is returned per ID on 404/403/error instead of failing the whole call. |
get_mantis_versionDeprecated: use `get_version` instead — will be removed in 2.0.0get_mcp_versionDeprecated: use `get_version` instead — will be removed in 2.0.0get_metadataRetrieve cached metadata: `detail: "summary"` (default) returns project/tag counts and per-project user/version/category counts; `detail: "full"` returns the complete raw cache; `refresh: true` re-fetches from MantisBT first; with semantic search enabled the response also contains a `search_index` block| Parameter | Type | Description |
|---|---|---|
| detail | string | "summary" (default): counts only; "full": the complete raw cache |
| refresh | boolean | Re-fetch all metadata from MantisBT first (default: false) |
get_metadata_fullDeprecated: use `get_metadata` with `detail: "full"` instead — will be removed in 2.0.0get_projectGet one project's master data (id, name, status, enabled, subprojects) plus, on request, its categories, users and/or versions in one call; `access_level` and `member_query` imply `users`; `obsolete`/`inherit` imply `versions`| Parameter | Type | Description |
|---|---|---|
| access_level | number | Only users at or above this access level; implies include "users" |
| include | array | Related data to add: "categories", "users", "versions" |
| inherit | boolean | Also return versions inherited from parent projects; implies include "versions" |
| member_query | string | Case-insensitive substring to find users by login name, real name or email; implies include "users" |
| obsolete | boolean | Also return obsolete versions; implies include "versions" |
| project_id * | number | Numeric project ID — use list_projects to discover project IDs |
get_project_categoriesDeprecated: use `get_project` with `include: ["categories"]` instead — will be removed in 2.0.0| Parameter | Type | Description |
|---|---|---|
| project_id * | number | Numeric project ID |
get_project_usersDeprecated: use `get_project` with `include: ["users"]` instead — will be removed in 2.0.0| Parameter | Type | Description |
|---|---|---|
| access_level | number | Return only users at or above this access level. Common values: 10=viewer, 25=reporter, 40=updater, 55=developer, 70=manager, 90=administrator. Omit to return all users. |
| project_id * | number | Numeric project ID — use list_projects to discover project IDs |
get_project_versionsDeprecated: use `get_project` with `include: ["versions"]` instead — will be removed in 2.0.0| Parameter | Type | Description |
|---|---|---|
| inherit | boolean | Include versions inherited from parent projects. Default: false. Set to true for sub-projects that share versions with a parent project. |
| obsolete | boolean | Include obsolete (deprecated) versions in the response. Default: false. Set to true to see all versions including those no longer actively used. |
| project_id * | number | Numeric project ID — use list_projects to discover project IDs |
get_search_index_statusDeprecated: use `get_metadata` (field `search_index`) instead — will be removed in 2.0.0get_versionVersion of this MCP server and of the connected MantisBT installation in one response; the server part also names the commit and build time (`-dev` suffix unless it is a published release); `check_latest` (default `true`) compares MantisBT with the latest GitHub release; `mantis` holds `error` when MantisBT cannot be reachedlist_filtersList saved filterslist_issue_filesDeprecated: use `get_issue` with `select: "attachments"` instead — will be removed in 2.0.0| Parameter | Type | Description |
|---|---|---|
| issue_id * | number | Numeric issue ID |
list_issuesFilter issues by project, status, author, and more; optional `select` for field projection and `status` for client-side status filtering — canonical English status names (e.g. `"new"`, `"resolved"`) are matched by ID, making the filter language-independent on localized installations; `group_by` (`"status"`, `"handler"`, `"priority"`, `"category"`) returns counts per group instead of an issue list — all filters still apply, `page`, `page_size`, and `select` are ignored| Parameter | Type | Description |
|---|---|---|
| assigned_to | number | Filter by handler/assignee user ID |
| direction | string | Sort direction |
| filter_id | number | Use a saved MantisBT filter ID |
| group_by | string | Return counts per group instead of issues: "status", "handler", "priority" or "category". All matching issues are counted (page, page_size and select are ignored). |
| page | number | Page number (default: 1) |
| page_size | number | Issues per page (default: 50, max: 50) |
| project_id | number | Filter by project ID |
| reporter_id | number | Filter by reporter user ID |
| select | string | Comma-separated list of fields to include in the response (server-side projection). Significantly reduces response size. Example: "id,summary,status,priority,handler,updated_at" |
| sort | string | Sort field (e.g. "last_updated", "id") |
| status | string | Filter issues by status name (e.g. "new", "feedback", "acknowledged", "confirmed", "assigned", "resolved", "closed") or use "open" as shorthand for all statuses with id < 80 (i.e. not yet resolved or closed). Applied client-side after fetching — when combined with pagination, a page may contain fewer results than page_size. |
list_languagesDeprecated: use `get_current_user` (field `language`) instead — will be removed in 2.0.0list_notesDeprecated: use `get_issue` with `select: "notes"` instead — will be removed in 2.0.0| Parameter | Type | Description |
|---|---|---|
| issue_id * | number | Numeric issue ID |
list_projectsList all accessible projects; returns normalized project data (consistent with the metadata cache)list_tagsList all available tags; falls back to the metadata cache when `GET /tags` returns 404 (run `get_metadata` with `refresh: true` first to populate)| Parameter | Type | Description |
|---|---|---|
| page | number | Page number (default: 1) |
| page_size | number | Tags per page (default: 50) |
rebuild_search_indexBuild or update the search index; optional `project_id` restricts it to one project; `full: true` clears and rebuilds from scratch| Parameter | Type | Description |
|---|---|---|
| full | boolean | If true, clears the existing index and rebuilds from scratch |
| project_id | number | Optional: only index issues from this project |
release_versionDeprecated: use `update_version` with `released: true`, `timestamp`, and optionally `next_version` instead — will be removed in 2.0.0| Parameter | Type | Description |
|---|---|---|
| next_version | string | Name of a follow-up version to create as unreleased placeholder, e.g. "1.2.1". Omit to only release. |
remove_monitorDeprecated: use `update_issue` with `remove_monitors` instead — will be removed in 2.0.0| Parameter | Type | Description |
|---|---|---|
| issue_id * | number | Numeric issue ID |
| username * | string | MantisBT login name (not the display name) of the monitor to remove |
remove_project_itemsPermanently delete categories (`delete_categories`) and unlink custom fields (`unlink_fields`) from a project; requires MantisBT 2.29 or newer and `manage_project_threshold`; hidden by `MANTIS_DISABLE_DESTRUCTIVE=true`remove_relationshipRemove a relationship from an issue (use the `id` from the relationship object, not the type)| Parameter | Type | Description |
|---|---|---|
| issue_id * | number | The issue ID the relationship belongs to |
| relationship_id * | number | The numeric ID of the relationship to remove (from the relationships array in get_issue) |
search_issuesNatural language search over all indexed issues — combines semantic similarity with keyword matching (BM25), so exact terms such as identifiers or error codes are found as well; issues containing an identifier from the query (order number, CVE, version, code name) come first; returns top-N results with the cosine similarity as `score`, ordered by the combined ranking; optional `select` (comma-separated field names) enriches each result with the requested issue fields; optional `highlight` (boolean, default `false`) adds a `highlights` field per result with keyword-matched excerpts from `summary` and `description` (matched terms shown in `bold`)| Parameter | Type | Description |
|---|---|---|
| highlight | boolean | If true, adds a "highlights" field per result with query terms bolded (**term**) in the issue summary and a short description snippet. Note: highlights are keyword-based, not semantic — some results may have no highlighted terms. |
| query * | string | Natural language search query |
| select | string | Comma-separated list of fields to include for each result (e.g. "id,summary,status,handler,priority"). When provided, each matching issue is fetched from MantisBT and enriched with the requested fields. The relevance score is always included. Issues that MantisBT reports as inaccessible or deleted are left out. Without this parameter only id and score are returned. |
| top_n | number | Number of results to return (default: 10, max: 50) |
sync_metadataDeprecated: use `get_metadata` with `refresh: true` instead — will be removed in 2.0.0update_issueUpdate an existing issue (the summary must be a single line of at most 128 characters; a status change outside the MantisBT workflow is rejected with the allowed next statuses); enum fields (`status`, `priority`, `severity`, `resolution`, `reproducibility`) accept canonical English names, localized names, or numeric IDs — the server resolves names to IDs automatically; supports `custom_fields` and an optional `note` parameter that appends a note in the same call; `fields` may be omitted when only `move_to_project`, `add_monitors`, `remove_monitors`, or `note` are given; `move_to_project` (`{ id }` or `{ name }`, MantisBT 2.29+) moves the issue to another project before the other steps; use `add_monitors` / `remove_monitors` (arrays of login names) to add or remove watchers — the response includes a `monitors` key with the current and changed monitor lists; use `fields.notes` to edit existing notes by ID (note ID from `get_issue`); `response: "short"` returns only the core fields and the changed ones instead of the whole issue with notes and history (default `"full"`, changes to `"short"` in 2.0.0)| Parameter | Type | Description |
|---|---|---|
| add_monitors | array | MantisBT login names to add as monitors (watchers) of the issue |
| dry_run | boolean | If true, return the patch payload that would be sent without actually updating the issue. Useful for previewing changes before committing them. |
| fields | object | Fields to update (partial update — only provided fields are changed; unknown keys are rejected). May be omitted when only move_to_project, add_monitors, remove_monitors or note are given. |
| id * | number | Numeric issue ID to update |
| note | string | Optional note text appended after a successful update (e.g. reason for a status change). Replaces a separate add_note call. |
| note_view_state | string | Visibility of the appended note: "public" (default) or "private". Only used when "note" is set. |
| remove_monitors | array | MantisBT login names to remove from the monitors of the issue; names that are not monitoring are ignored. Rejected when the server runs with MANTIS_DISABLE_DESTRUCTIVE=true |
update_projectAdd categories (`add_categories`), rename, reassign or disable them (`update_categories`) and link custom fields (`link_fields`); `project_id: 0` addresses global categories; requires MantisBT 2.29 or newer and `manage_project_threshold`; `link_fields` additionally needs `custom_field_link_threshold`update_versionUpdate an existing version; only the fields you pass are changed (at least one required); renaming rewrites version/target_version/fixed_in_version on all referencing issues; optional `next_version` (only with `released: true`) creates a follow-up version in the same call; requires `manage_project_threshold` (default: manager)| Parameter | Type | Description |
|---|---|---|
| description | string | New version description |
| name | string | New version name (must be unique within the project) |
| next_version | string | Only with released=true: name of a follow-up version to create as unreleased placeholder, e.g. "1.2.1". Used as-is — no automatic numbering. |
upload_fileUpload a file to an issue — preferred: local `file_path` (server reads and encodes automatically); fallback: Base64-encoded `content` + `filename` (use only when `file_path` is not available)| Parameter | Type | Description |
|---|---|---|
| content | string | Fallback: Base64-encoded file content — only use when file_path is not available (mutually exclusive with file_path) |
| content_type | string | MIME type of the file, e.g. "image/png" (default: "application/octet-stream") |
| description | string | Optional description for the attachment |
| file_path | string | Preferred: absolute path to the local file to upload — use this whenever the file exists on disk (mutually exclusive with content) |
| filename | string | File name for the attachment (required when using content; overrides the derived name when using file_path) |
| issue_id * | number | Numeric issue ID |
Security checks
- ✓README presentThe repository's README runs to about 1.8K words.
5 checks have not been run yet.
README
The repository's README runs to about 1.8K words. The original in the repository is authoritative.
Read full README