MantisBT MCP Server
io.github.dpesch/mantisbt-mcp-server
v1.18.4Updated Nov 13, 2026stdio · npm
MantisBT MCP server – manage issues, notes, files, tags, and relationships. With semantic search.
Install
Needs 1 secret. Replace 2 placeholders with your own values.
Run in your terminal. Replace 2 placeholders.
claude mcp add mantisbt-mcp-server -e 'MANTIS_BASE_URL=<your-mantis-base-url>' -e 'MANTIS_API_KEY=<your-mantis-api-key>' -e MANTIS_USE_INDEX_PHP=false -e MANTIS_CACHE_TTL=3600 -e TRANSPORT=stdio -e PORT=3000 -e MCP_HTTP_HOST=127.0.0.1 -e MCP_HTTP_MAX_BODY_SIZE=67108864 -e MANTIS_SEARCH_ENABLED=false -e MANTIS_SEARCH_BACKEND=vectra -e MANTIS_SEARCH_MODEL=Xenova/paraphrase-multilingual-MiniLM-L12-v2 -e MANTIS_SEARCH_THREADS=1 -- npx -y @dpesch/[email protected]Configuration
16 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
MANTIS_API_KEYEnv var· required· secretMantisBT API key (Profile → API Tokens in MantisBT)MANTIS_BASE_URLEnv var· requiredBase URL of the MantisBT REST API, e.g. https://your-mantis.example.com/api/restMCP_HTTP_TOKENEnv var· optional· secretBearer token protecting the /mcp endpoint. Required when TRANSPORT=http; the server refuses to start without itMANTIS_USE_INDEX_PHPEnv var· optionalUse /api/rest/index.php/ for MantisBT installations without URL rewriting. Detected automatically when MANTIS_BASE_URL ends with /api/rest/index.phpDefault:falseMANTIS_CACHE_DIREnv var· optionalDirectory for the metadata cache. Defaults to ~/.cache/mantisbt-mcp; each base URL and API key gets its own subdirectoryMANTIS_CACHE_TTLEnv var· optionalMetadata cache TTL in seconds. Default: 3600 (1 hour)Default:3600
Show 10 moreShow fewer
TRANSPORTEnv var· optionalTransport mode. 'stdio' for local use (default), 'http' for remote/team deploymentsDefault:stdioPORTEnv var· optionalHTTP port when TRANSPORT=http. Default: 3000Default:3000MCP_HTTP_HOSTEnv var· optionalBind address when TRANSPORT=http. Default: 127.0.0.1 (local only). Use 0.0.0.0 for Docker/remote.Default:127.0.0.1MCP_HTTP_MAX_BODY_SIZEEnv var· optionalLargest accepted /mcp request body in bytes when TRANSPORT=http. Default: 67108864 (64 MB)Default:67108864MANTIS_SEARCH_ENABLEDEnv var· optionalEnable offline semantic search (requires ~80 MB model download on first use)Default:falseMANTIS_SEARCH_BACKENDEnv var· optionalVector store backend for semantic search. 'vectra' (default, pure JS) or 'sqlite-vec' (faster for >10k issues)Default:vectraMANTIS_SEARCH_DIREnv var· optionalDirectory 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 subdirectoryMANTIS_SEARCH_MODELEnv var· optionalHugging Face model for embeddings. Default: Xenova/paraphrase-multilingual-MiniLM-L12-v2Default:Xenova/paraphrase-multilingual-MiniLM-L12-v2MANTIS_SEARCH_THREADSEnv var· optionalONNX inference threads for the embedding model. Default: 1Default:1MANTIS_UPLOAD_DIREnv var· optionalIf set, restricts file uploads to this directory (path traversal protection)
Listed in the official MCP Registry since Nov 13, 2026. Mirrored daily; last checked Nov 26, 2026.