PluginBench
MCP Server

MantisBT MCP Server MCP Server

io.github.dpesch/mantisbt-mcp-server

What is the MantisBT MCP Server MCP server?

MantisBT MCP server – manage issues, notes, files, tags, and relationships. With semantic search.

How to install MantisBT MCP Server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • MANTIS_BASE_URL
    required

    Base URL of the MantisBT REST API, e.g. https://your-mantis.example.com/api/rest

  • MANTIS_API_KEY
    required
    secret

    MantisBT API key (Profile → API Tokens in MantisBT)

  • MANTIS_CACHE_DIR

    Directory for the metadata cache. Defaults to ~/.cache/mantisbt-mcp

  • MANTIS_CACHE_TTL

    Metadata cache TTL in seconds. Default: 3600 (1 hour)

  • TRANSPORT

    Transport mode. 'stdio' for local use (default), 'http' for remote/team deployments

  • PORT

    HTTP port when TRANSPORT=http. Default: 3000

  • MCP_HTTP_HOST

    Bind address when TRANSPORT=http. Default: 127.0.0.1 (local only). Use 0.0.0.0 for Docker/remote.

  • MCP_HTTP_TOKEN
    secret

    Optional Bearer token to protect the /mcp endpoint when TRANSPORT=http

  • MANTIS_SEARCH_ENABLED

    Enable offline semantic search (requires ~80 MB model download on first use)

  • MANTIS_SEARCH_BACKEND

    Vector store backend for semantic search. 'vectra' (default, pure JS) or 'sqlite-vec' (faster for >10k issues)

  • MANTIS_SEARCH_DIR

    Directory for the semantic search index. Defaults to ~/.cache/mantisbt-mcp/search

  • MANTIS_SEARCH_MODEL

    Hugging Face model for embeddings. Default: Xenova/paraphrase-multilingual-MiniLM-L12-v2

  • MANTIS_SEARCH_THREADS

    ONNX inference threads for the embedding model. Default: 1

  • MANTIS_UPLOAD_DIR

    If set, restricts file uploads to this directory (path traversal protection)

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mantisbt-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@dpesch/mantisbt-mcp-server"
      ],
      "env": {
        "MANTIS_BASE_URL": "<YOUR_MANTIS_BASE_URL>",
        "MANTIS_API_KEY": "<YOUR_MANTIS_API_KEY>",
        "MANTIS_CACHE_DIR": "<YOUR_MANTIS_CACHE_DIR>",
        "MANTIS_CACHE_TTL": "<YOUR_MANTIS_CACHE_TTL>",
        "TRANSPORT": "<YOUR_TRANSPORT>",
        "PORT": "<YOUR_PORT>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_TOKEN": "<YOUR_MCP_HTTP_TOKEN>",
        "MANTIS_SEARCH_ENABLED": "<YOUR_MANTIS_SEARCH_ENABLED>",
        "MANTIS_SEARCH_BACKEND": "<YOUR_MANTIS_SEARCH_BACKEND>",
        "MANTIS_SEARCH_DIR": "<YOUR_MANTIS_SEARCH_DIR>",
        "MANTIS_SEARCH_MODEL": "<YOUR_MANTIS_SEARCH_MODEL>",
        "MANTIS_SEARCH_THREADS": "<YOUR_MANTIS_SEARCH_THREADS>",
        "MANTIS_UPLOAD_DIR": "<YOUR_MANTIS_UPLOAD_DIR>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "mantisbt-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@dpesch/mantisbt-mcp-server"
      ],
      "env": {
        "MANTIS_BASE_URL": "<YOUR_MANTIS_BASE_URL>",
        "MANTIS_API_KEY": "<YOUR_MANTIS_API_KEY>",
        "MANTIS_CACHE_DIR": "<YOUR_MANTIS_CACHE_DIR>",
        "MANTIS_CACHE_TTL": "<YOUR_MANTIS_CACHE_TTL>",
        "TRANSPORT": "<YOUR_TRANSPORT>",
        "PORT": "<YOUR_PORT>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_TOKEN": "<YOUR_MCP_HTTP_TOKEN>",
        "MANTIS_SEARCH_ENABLED": "<YOUR_MANTIS_SEARCH_ENABLED>",
        "MANTIS_SEARCH_BACKEND": "<YOUR_MANTIS_SEARCH_BACKEND>",
        "MANTIS_SEARCH_DIR": "<YOUR_MANTIS_SEARCH_DIR>",
        "MANTIS_SEARCH_MODEL": "<YOUR_MANTIS_SEARCH_MODEL>",
        "MANTIS_SEARCH_THREADS": "<YOUR_MANTIS_SEARCH_THREADS>",
        "MANTIS_UPLOAD_DIR": "<YOUR_MANTIS_UPLOAD_DIR>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "mantisbt-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@dpesch/mantisbt-mcp-server"
      ],
      "env": {
        "MANTIS_BASE_URL": "<YOUR_MANTIS_BASE_URL>",
        "MANTIS_API_KEY": "<YOUR_MANTIS_API_KEY>",
        "MANTIS_CACHE_DIR": "<YOUR_MANTIS_CACHE_DIR>",
        "MANTIS_CACHE_TTL": "<YOUR_MANTIS_CACHE_TTL>",
        "TRANSPORT": "<YOUR_TRANSPORT>",
        "PORT": "<YOUR_PORT>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_TOKEN": "<YOUR_MCP_HTTP_TOKEN>",
        "MANTIS_SEARCH_ENABLED": "<YOUR_MANTIS_SEARCH_ENABLED>",
        "MANTIS_SEARCH_BACKEND": "<YOUR_MANTIS_SEARCH_BACKEND>",
        "MANTIS_SEARCH_DIR": "<YOUR_MANTIS_SEARCH_DIR>",
        "MANTIS_SEARCH_MODEL": "<YOUR_MANTIS_SEARCH_MODEL>",
        "MANTIS_SEARCH_THREADS": "<YOUR_MANTIS_SEARCH_THREADS>",
        "MANTIS_UPLOAD_DIR": "<YOUR_MANTIS_UPLOAD_DIR>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "mantisbt-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dpesch/mantisbt-mcp-server"
      ],
      "env": {
        "MANTIS_BASE_URL": "<YOUR_MANTIS_BASE_URL>",
        "MANTIS_API_KEY": "<YOUR_MANTIS_API_KEY>",
        "MANTIS_CACHE_DIR": "<YOUR_MANTIS_CACHE_DIR>",
        "MANTIS_CACHE_TTL": "<YOUR_MANTIS_CACHE_TTL>",
        "TRANSPORT": "<YOUR_TRANSPORT>",
        "PORT": "<YOUR_PORT>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_TOKEN": "<YOUR_MCP_HTTP_TOKEN>",
        "MANTIS_SEARCH_ENABLED": "<YOUR_MANTIS_SEARCH_ENABLED>",
        "MANTIS_SEARCH_BACKEND": "<YOUR_MANTIS_SEARCH_BACKEND>",
        "MANTIS_SEARCH_DIR": "<YOUR_MANTIS_SEARCH_DIR>",
        "MANTIS_SEARCH_MODEL": "<YOUR_MANTIS_SEARCH_MODEL>",
        "MANTIS_SEARCH_THREADS": "<YOUR_MANTIS_SEARCH_THREADS>",
        "MANTIS_UPLOAD_DIR": "<YOUR_MANTIS_UPLOAD_DIR>"
      }
    }
  }
}
Claude Code
claude mcp add mantisbt-mcp-server --env MANTIS_BASE_URL=<YOUR_MANTIS_BASE_URL> --env MANTIS_API_KEY=<YOUR_MANTIS_API_KEY> --env MANTIS_CACHE_DIR=<YOUR_MANTIS_CACHE_DIR> --env MANTIS_CACHE_TTL=<YOUR_MANTIS_CACHE_TTL> --env TRANSPORT=<YOUR_TRANSPORT> --env PORT=<YOUR_PORT> --env MCP_HTTP_HOST=<YOUR_MCP_HTTP_HOST> --env MCP_HTTP_TOKEN=<YOUR_MCP_HTTP_TOKEN> --env MANTIS_SEARCH_ENABLED=<YOUR_MANTIS_SEARCH_ENABLED> --env MANTIS_SEARCH_BACKEND=<YOUR_MANTIS_SEARCH_BACKEND> --env MANTIS_SEARCH_DIR=<YOUR_MANTIS_SEARCH_DIR> --env MANTIS_SEARCH_MODEL=<YOUR_MANTIS_SEARCH_MODEL> --env MANTIS_SEARCH_THREADS=<YOUR_MANTIS_SEARCH_THREADS> --env MANTIS_UPLOAD_DIR=<YOUR_MANTIS_UPLOAD_DIR> -- npx -y @dpesch/mantisbt-mcp-server

Related MCP servers

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →

Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.

45k
TypeScript
Apache-2.0
View repository →

Let AI agents manage your Puter files, websites, and serverless workers over MCP.

43k
TypeScript
AGPL-3.0
View repository →

Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.

37k
TypeScript
Apache-2.0
View repository →

Run arbitrary shell commands from an MCP-connected AI agent.

37k
TypeScript
Apache-2.0
View repository →

Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.

37k
TypeScript
Apache-2.0
View repository →