Logo Backlog MCP Server

Backlog MCP Server

Cộng đồng
safx

MCP server for Backlog, project management service.

Nhà phát hànhsafx
Kho mãbacklog-mcp-server-rust
Ngôn ngữRust
Bản fork
2
Sao
14
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Backlog MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    14 sao và 2 bản fork từ kho mã được liên kết.

Backlog MCP Server (mcp-backlog-server)

codecov

mcp-backlog-server is a Model Context Protocol (MCP) server for interacting with the Backlog API. This server allows MCP-compatible clients (such as AI assistants) to utilize Backlog functionalities.

Installation

Using Homebrew (Recommended for macOS/Linux)

The easiest way to install is via Homebrew:

bash
# Add the tap (only needed once)
brew tap safx/tap

# Install the tools
brew install mcp-backlog-server  # MCP server for AI assistants
brew install blg                 # Backlog CLI tool (Optional)

To update to the latest version:

bash
brew update
brew upgrade mcp-backlog-server
brew upgrade blg

To uninstall:

bash
brew uninstall mcp-backlog-server
brew uninstall blg
brew untap safx/tap  # Optional: remove the tap

Alternative Installation Methods

For other platforms or if you prefer not to use Homebrew:

  • Pre-built binaries: Download from the releases page
  • Build from source: Clone the repository and run cargo build --release

Example Configuration for MCP Client

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json:

json
{
  "mcpServers": {
    "backlog": {
      "command": "/path/to/target/release/mcp-backlog-server",
      "args": [],
      "env": {
        "BACKLOG_BASE_URL": "https://your-space.backlog.com",
        "BACKLOG_API_KEY": "YOUR_BACKLOG_API_KEY",
        "BACKLOG_PROJECTS": "PROJ,DEMO",
        "BACKLOG_PREFIX": "backlog_"
      }
    }
  }
}

Cline

Add the following to your Cline MCP configuration:

json
{
  "mcpServers": {
    "backlog_mcp_server": {
      "autoApprove": [],
      "disabled": false,
      "timeout": 60,
      "command": "/path/to/target/release/mcp-backlog-server",
      "args": [],
      "env": {
        "BACKLOG_BASE_URL": "https://your-space.backlog.com",
        "BACKLOG_API_KEY": "YOUR_BACKLOG_API_KEY",
        "BACKLOG_PROJECTS": "PROJ,DEMO",
        "BACKLOG_PREFIX": "backlog_"
      },
      "transportType": "stdio"
    }
  }
}

Gemini CLI

~/.gemini/settings.json:

json
{
  "mcpServers": {
    "backlog_mcp_server": {
      "command": "/path/to/target/release/mcp-backlog-server",
      "timeout": 10000,
      "args": [],
      "env": {
        "BACKLOG_BASE_URL": "https://your-space.backlog.com",
        "BACKLOG_API_KEY": "YOUR_BACKLOG_API_KEY",
        "BACKLOG_PROJECTS": "PROJ,DEMO",
        "BACKLOG_PREFIX": "backlog_"
      }
    }
  }
}

Note: Domain name must be: backlog.com, backlog.jp or backlogtool.com

Available Tools

The following tools are grouped by their respective modules:

Tool Summary

With the default configuration, you have access to 39 tools for Backlog automation:

  • Documents (5 tools): View document trees, get details, download attachments, add documents, delete documents
  • Git/Pull Requests (8 tools): Manage repositories, PRs, comments, and attachments
  • Issues (15 tools): View, create, update issues, manage comments, attachments, shared files, related issues, and priorities
  • Projects (3 tools): Get project status, issue types, and custom field definitions
  • Shared Files (2 tools): Browse and download project shared files
  • Users (1 tool): List space users
  • Wikis (5 tools): Manage wiki pages, attachments, and content updates

The server includes both read operations for information gathering and write operations for taking actions.

Note: Tool names follow a category_resource_action pattern (e.g., issue_details_get, wiki_update) to enable category-based filtering with --allowedTools (e.g., claude --allowedTools "mcp__backlog__issue_*").

Document Tools

  • document_details_get: Retrieves details for a specific Backlog document
  • document_attachment_download: Download a document attachment
  • document_tree_get: Get the document tree for a specified project
  • document_add: Add a new document to a Backlog project
  • document_delete: Delete a document from Backlog

Git Tools

  • git_repository_list_get: Get a list of Git repositories for a specified project
  • git_repository_details_get: Get details for a specific Git repository
  • git_pr_list_get: Get a list of pull requests for a specified repository
  • git_pr_details_get: Get details for a specific pull request
  • git_pr_attachment_list_get: Get a list of attachments for a specific pull request
  • git_pr_comment_list_get: Get a list of comments for a specific pull request
  • git_pr_attachment_download: Download a pull request attachment
  • git_pr_comment_add: Add a comment to a specific pull request

Issue Tools

  • issue_details_get: Retrieves details for a specific Backlog issue
  • issue_milestone_list_get: Retrieves a list of versions (milestones) for a specified project
  • issue_list_by_milestone_get: Retrieves a list of issues associated with a specified milestone
  • issue_update: Updates a Backlog issue including summary, description, and custom fields
  • issue_comment_list_get: Gets comments for a specific issue
  • issue_attachment_list_get: Get a list of attachments for a specified issue
  • issue_attachment_download: Download an issue attachment
  • issue_shared_file_list_get: Get a list of shared files linked to a specified issue
  • issue_related_issue_list_get: Get related issues of a specified issue (hidden issues are reported as omittedCount)
  • issue_related_issue_add: Add a related issue to a Backlog issue
  • issue_related_issue_remove: Remove a related issue from a Backlog issue
  • issue_comment_update: Update an existing comment on a Backlog issue
  • issue_add: Create a new issue in a Backlog project with support for custom fields
  • issue_comment_add: Add a comment to a specific issue
  • issue_priority_list_get: Get a list of priority types available in the space

Project Tools

  • project_status_list_get: Get a list of statuses for a specified project
  • project_issue_type_list_get: Get a list of issue types for a specified project
  • project_custom_field_list_get: Get a list of custom fields defined for a specified project

Shared File Tools

  • file_shared_list_get: Get a list of shared files for a specified project directory
  • file_shared_download: Download a shared file

User Tools

  • user_list_get: Get a list of users in the space

Wiki Tools

  • wiki_list_get: Get a list of wiki pages
  • wiki_details_get: Get detailed information about a specific wiki page
  • wiki_attachment_list_get: Get a list of attachments for a specified wiki page
  • wiki_attachment_download: Download an attachment from a wiki page
  • wiki_update: Update a wiki page

File Download Features

All file download tools (document_attachment_download, issue_attachment_download, git_pr_attachment_download, wiki_attachment_download, and file_shared_download) support format detection and handling:

Format Detection

  • Images: Files with image/* content type are detected and returned as base64-encoded images via rmcp::model::ContentBlock::image
  • Text: Files with text-based content types (text/*, application/json, application/xml, etc.) or files that contain valid UTF-8 text are returned as plain text via rmcp::model::ContentBlock::text
  • Raw bytes: All other files are returned as JSON objects with base64-encoded content, filename, and MIME type

Manual Format Override

You can explicitly specify the format using the optional format parameter:

  • "image": Force treatment as an image (validates content type)
  • "text": Force treatment as text (validates UTF-8 encoding)
  • "raw": Force treatment as raw bytes (no validation)

Content Type Detection

The system uses multiple strategies to determine if a file is text:

  • Content-Type header analysis
  • UTF-8 validity checking
  • Character composition analysis (graphic, whitespace, and valid UTF-8 characters)

How to Build

bash
# Default build (includes all writable features)
cargo build --package mcp-backlog-server

Feature Flags

The MCP server supports multiple feature flags to enable different write operations:

  • issue_writable (enabled by default)

    • Enables: issue_update, issue_comment_update, issue_add, and issue_comment_add tools
    • Allows AI agents to create issues, modify issue content, and manage comments
  • git_writable (enabled by default)

    • Enables: git_pr_comment_add tool
    • Allows AI agents to add comments to pull requests
  • wiki_writable (enabled by default)

    • Enables: wiki_update tool
    • Allows AI agents to update wiki page content, names, and notification settings
  • document_writable (enabled by default)

    • Enables: document_add and document_delete tools
    • Allows AI agents to create and delete documents

Build Configuration

bash
# Read-only mode (no write operations)
cargo build --package mcp-backlog-server --no-default-features

# Selective features
cargo build --package mcp-backlog-server --features issue_writable
cargo build --package mcp-backlog-server --features "issue_writable,git_writable"
cargo build --package mcp-backlog-server --features "issue_writable,git_writable,wiki_writable,document_writable"

Configuration

To run this server, the following environment variables must be set:

  • BACKLOG_BASE_URL: The URL of your Backlog space (e.g., https://your-space.backlog.com)
  • BACKLOG_API_KEY: Your Backlog API key. You can issue one from your personal settings page in Backlog.

Optional environment variables:

  • BACKLOG_PROJECTS: Comma-separated list of allowed project keys (e.g., MFP,DEMO,TEST). When set, the server will only allow access to the specified projects. If not set, all projects accessible with the API key are available.
  • BACKLOG_PREFIX: Custom prefix for tool names (default: backlog_). For example, setting BACKLOG_PREFIX="" removes the prefix, making tools accessible as issue_details_get instead of backlog_issue_details_get. Setting BACKLOG_PREFIX="my_" changes tools to my_issue_details_get.

These environment variables are expected to be passed by the MCP client system when launching the server.

Run (for local testing)

After setting the environment variables, you can run the server directly with the following command:

bash
# Default run with all features
BACKLOG_BASE_URL="https://your-space.backlog.com" \
BACKLOG_API_KEY="your_backlog_api_key" \
cargo run --package mcp-backlog-server

Dùng MCP Backlog MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Backlog MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Backlog MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Backlog MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "backlog-mcp-server-rust": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Backlog MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Backlog MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Backlog MCP Server giúp tôi làm việc này không?
Backlog MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Backlog MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Backlog MCP Server dùng để làm gì?

Backlog MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Backlog MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Backlog MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Backlog MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Backlog MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Backlog MCP Server với TypingMind?

Backlog MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Backlog MCP Server cung cấp những công cụ nào trong TypingMind?

Backlog MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Backlog MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Backlog MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇