Skip to content
VS Code

MantisBT MCP Server for VS Code

io.github.dpesch/mantisbt-mcp-server

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

client:VS Code transport:stdio runtime:npm

Install MantisBT MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mantis-base-url",
      "description": "MANTIS_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mantis-api-key",
      "description": "MANTIS_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mantis-cache-dir",
      "description": "MANTIS_CACHE_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mantis-cache-ttl",
      "description": "MANTIS_CACHE_TTL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "transport",
      "description": "TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "port",
      "description": "PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-http-host",
      "description": "MCP_HTTP_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-http-token",
      "description": "MCP_HTTP_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mantis-search-enabled",
      "description": "MANTIS_SEARCH_ENABLED",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mantis-search-backend",
      "description": "MANTIS_SEARCH_BACKEND",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mantis-search-dir",
      "description": "MANTIS_SEARCH_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mantis-search-model",
      "description": "MANTIS_SEARCH_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mantis-search-threads",
      "description": "MANTIS_SEARCH_THREADS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mantis-upload-dir",
      "description": "MANTIS_UPLOAD_DIR",
      "password": true
    }
  ],
  "servers": {
    "mantisbt-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dpesch/mantisbt-mcp-server"
      ],
      "env": {
        "MANTIS_BASE_URL": "${input:mantis-base-url}",
        "MANTIS_API_KEY": "${input:mantis-api-key}",
        "MANTIS_CACHE_DIR": "${input:mantis-cache-dir}",
        "MANTIS_CACHE_TTL": "${input:mantis-cache-ttl}",
        "TRANSPORT": "${input:transport}",
        "PORT": "${input:port}",
        "MCP_HTTP_HOST": "${input:mcp-http-host}",
        "MCP_HTTP_TOKEN": "${input:mcp-http-token}",
        "MANTIS_SEARCH_ENABLED": "${input:mantis-search-enabled}",
        "MANTIS_SEARCH_BACKEND": "${input:mantis-search-backend}",
        "MANTIS_SEARCH_DIR": "${input:mantis-search-dir}",
        "MANTIS_SEARCH_MODEL": "${input:mantis-search-model}",
        "MANTIS_SEARCH_THREADS": "${input:mantis-search-threads}",
        "MANTIS_UPLOAD_DIR": "${input:mantis-upload-dir}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

MantisBT MCP Server in other clients