MantisBT MCP Server
MantisBT MCP server – manage issues, notes, files, tags, and relationships. With semantic search.
MantisBT MCP Server scores 45 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 40 tools. Filed under Search. GitHub shows 14 stars. Package registries report about 267 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
45 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
69/100 for listing completeness. Lost points: no README, 3 of 40 tools barely described, short summary.
How quality is graded
Where the 45 comes from
0 + 20 + 8 + 10 + 4 + 3 = 45. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 8 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "dpesch-mantisbt-mcp-server": { "command": "npx", "args": [ "-y", "@dpesch/mantisbt-mcp-server@1.19.1" ], "env": { "MANTIS_BASE_URL": "", "MANTIS_API_KEY": "YOUR_MANTIS_API_KEY", "MANTIS_USE_INDEX_PHP": "false", "MANTIS_CACHE_DIR": "", "MANTIS_CACHE_TTL": "3600", "TRANSPORT": "stdio", "PORT": "3000", "MCP_HTTP_HOST": "127.0.0.1", "MCP_HTTP_TOKEN": "YOUR_MCP_HTTP_TOKEN", "MCP_HTTP_MAX_BODY_SIZE": "67108864", "MANTIS_SEARCH_ENABLED": "false", "MANTIS_SEARCH_BACKEND": "vectra", "MANTIS_SEARCH_DIR": "", "MANTIS_SEARCH_MODEL": "Xenova/paraphrase-multilingual-MiniLM-L12-v2", "MANTIS_SEARCH_THREADS": "1", "MANTIS_UPLOAD_DIR": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
MANTIS_BASE_URL | Required | Base URL of the MantisBT REST API, e.g. https://your-mantis.example.com/api/rest |
MANTIS_API_KEYSecret | Required | MantisBT API key (Profile → API Tokens in MantisBT) |
MANTIS_USE_INDEX_PHP | Optional | Use /api/rest/index.php/ for MantisBT installations without URL rewriting. Detected automatically when MANTIS_BASE_URL ends with /api/rest/index.php |
MANTIS_CACHE_DIR | Optional | Directory for the metadata cache. Defaults to ~/.cache/mantisbt-mcp; each base URL and API key gets its own subdirectory |
MANTIS_CACHE_TTL | Optional | Metadata cache TTL in seconds. Default: 3600 (1 hour) |
TRANSPORT | Optional | Transport mode. 'stdio' for local use (default), 'http' for remote/team deployments |
PORT | Optional | HTTP port when TRANSPORT=http. Default: 3000 |
MCP_HTTP_HOST | Optional | Bind address when TRANSPORT=http. Default: 127.0.0.1 (local only). Use 0.0.0.0 for Docker/remote. |
MCP_HTTP_TOKENSecret | Optional | Bearer token protecting the /mcp endpoint. Required when TRANSPORT=http; the server refuses to start without it |
MCP_HTTP_MAX_BODY_SIZE | Optional | Largest accepted /mcp request body in bytes when TRANSPORT=http. Default: 67108864 (64 MB) |
MANTIS_SEARCH_ENABLED | Optional | Enable offline semantic search (requires ~80 MB model download on first use) |
MANTIS_SEARCH_BACKEND | Optional | Vector store backend for semantic search. 'vectra' (default, pure JS) or 'sqlite-vec' (faster for >10k issues) |
MANTIS_SEARCH_DIR | Optional | Directory for the semantic search index. Defaults to the search subdirectory of the instance cache directory; when set, each base URL and API key gets its own subdirectory |
MANTIS_SEARCH_MODEL | Optional | Hugging Face model for embeddings. Default: Xenova/paraphrase-multilingual-MiniLM-L12-v2 |
MANTIS_SEARCH_THREADS | Optional | ONNX inference threads for the embedding model. Default: 1 |
MANTIS_UPLOAD_DIR | Optional | If set, restricts file uploads to this directory (path traversal protection) |
Tools40Tool docs quality grade C
All capabilitiesadd_monitortoolDeprecated: use updateissue with addmonitors instead — will be removed in 2.0.0
add_notetoolAdd a note to an issue
add_relationshiptoolCreate a relationship between two issues; optional typename parameter accepts a string name (e.g. "relatedto", "duplicateof") as alternative to numeric typeid
attach_tagstoolAttach tags to an issue
create_issuetoolCreate a new issue; severity and priority must be canonical English names (e.g. minor, major, normal, high) — call getissueschema to see all valid values and their localized labels; optional handler parameter accepts a username as alternati
create_versiontoolCreate a new version in a project; returns the created version object (id, name, description, released, obsolete, timestamp); requires manageprojectthreshold (default: manager)
delete_issuetoolDelete an issue
delete_notetoolDelete a note
delete_versiontoolPermanently delete a version — irreversible, MantisBT clears version/targetversion/fixedinversion on all referencing issues; prefer updateversion with obsolete=true as the non-destructive alternative; requires manageprojectthreshold (defaul
detach_tagtoolRemove a tag from an issue
Deprecated: use getproject with memberquery instead (no limit, returns all matches) — will be removed in 2.0.0
get_current_usertoolRetrieve your own user profile — includes language (the user's MantisBT language, a hint for which language to use in issue texts and notes)
About
MCP server for MantisBT — read, create and update issues from Claude Code & other MCP clients. Issues and PRs welcome here or on Codeberg.
Frequently asked questions
What is MantisBT MCP Server?
MantisBT MCP server – manage issues, notes, files, tags, and relationships. With semantic search.
How do I install MantisBT MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. MantisBT MCP Server runs locally from the npm package @dpesch/mantisbt-mcp-server with the command npx -y @dpesch/mantisbt-mcp-server@1.19.1.
Is MantisBT MCP Server free and open source?
Yes. MantisBT MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does MantisBT MCP Server support remote (HTTP) connections?
No remote endpoint is listed for MantisBT MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does MantisBT MCP Server provide?
MantisBT MCP Server provides 40 tools, including add_monitor, add_note, add_relationship, and attach_tags. See the full tool list for descriptions and parameters.
How is MantisBT MCP Server's trust score calculated?
MantisBT MCP Server scores 45 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.