io.github.vfa-khuongdv/mcp-backlog

平台与服务

by vfa-khuongdv

用于将 Backlog API 与 AI agents 集成的 MCP 服务器,便于项目任务、协作流程与信息同步。

什么是 io.github.vfa-khuongdv/mcp-backlog

用于将 Backlog API 与 AI agents 集成的 MCP 服务器,便于项目任务、协作流程与信息同步。

README

Backlog MCP Server

A Model Context Protocol (MCP) server for interacting with Backlog (backlog.com / backlog.jp). This server enables AI agents to manage Backlog projects, issues, versions, wiki pages, and more through a standardized interface.

Package: @duongkhuong/mcp-backlog

Overview

This MCP server provides a comprehensive suite of tools to interact with Backlog's API, enabling seamless integration with AI agents like Claude. Perform project management tasks, create and update issues, manage versions, organize wiki documentation, and handle attachments all through a unified interface.

Features

The server provides tools organized into the following categories:

Issues Management

  • Create, read, update, and delete issues
  • Search issues by various criteria
  • Manage issue metadata (priority, status, assignees)
  • Add and manage watchers

Comments & Discussions

  • Add comments to issues
  • Retrieve and manage issue comments
  • Support for rich formatting

Projects

  • List and retrieve project information
  • Get project details and metadata
  • Manage project settings

Versions & Releases

  • Create and manage project versions
  • Track version lifecycle
  • List versions by project

Wiki Documentation

  • Create and update wiki pages
  • Organize documentation
  • Retrieve wiki page content

Attachments

  • Upload and manage file attachments
  • Retrieve attachment details
  • Download attachment URLs

Categories & Metadata

  • List project categories
  • Manage issue types
  • Retrieve project metadata

Additional Tools

  • Get user information
  • Retrieve priorities and resolution statuses
  • Access project configurations

Installation

Prerequisites

  • Node.js 18+ or higher
  • npm or yarn
  • A Backlog account with API access

From npm

Install the package globally or locally:

bash
npm install @duongkhuong/mcp-backlog

From Source

Clone the repository and install dependencies:

bash
git clone https://github.com/vfa-khuongdv/mcp-backlog.git
cd mcp-backlog
npm install
npm run build

Configuration

Obtaining Credentials

  1. Backlog API Key:

    • Log in to your Backlog account
    • Go to Personal Settings > API
    • Generate a new API key
    • Copy the API key
  2. Backlog Host:

    • Your Backlog instance URL (e.g., your-space-id.backlog.com or your-space-id.backlog.jp)

Environment Variables

The server requires the following environment variables:

bash
BACKLOG_HOST=your-space-id.backlog.com
BACKLOG_API_KEY=your_api_key_here

Usage

Claude Desktop

Add the following configuration to your claude_desktop_config.json file:

json
{
  "mcpServers": {
    "backlog": {
      "command": "npx",
      "args": ["-y", "@duongkhuong/mcp-backlog"],
      "env": {
        "BACKLOG_HOST": "your-space-id.backlog.com",
        "BACKLOG_API_KEY": "your_api_key_here"
      }
    }
  }
}

VS Code with Copilot

Add the following configuration to your .vscode/mcp.json file:

json
{
  "servers": {
    "backlog": {
      "command": "npx",
      "args": ["-y", "@duongkhuong/mcp-backlog"],
      "env": {
        "BACKLOG_HOST": "your-space-id.backlog.com",
        "BACKLOG_API_KEY": "your_api_key_here"
      }
    }
  }
}

Local Development

To run the server locally during development:

bash
npm run build
npm start

Or in watch mode:

bash
npm run build -- --watch

Available Tools

The server exposes the following tools (grouped by functionality):

Issues

  • mcp_backlog_list_issues - List all issues in a project
  • mcp_backlog_get_issue - Get a specific issue
  • mcp_backlog_create_issue - Create a new issue
  • mcp_backlog_update_issue - Update an existing issue
  • mcp_backlog_delete_issue - Delete an issue
  • mcp_backlog_search_issues - Search issues with filters

Comments

  • mcp_backlog_add_comment - Add a comment to an issue
  • mcp_backlog_get_comment - Get a specific comment
  • mcp_backlog_list_issue_comments - List all comments on an issue
  • mcp_backlog_update_comment - Update a comment
  • mcp_backlog_delete_comment - Delete a comment

Projects

  • mcp_backlog_list_projects - List all projects
  • mcp_backlog_get_project - Get project details
  • mcp_backlog_get_project_members - Get project members

Versions

  • mcp_backlog_list_versions - List project versions
  • mcp_backlog_create_version - Create a new version
  • mcp_backlog_update_version - Update a version
  • mcp_backlog_delete_version - Delete a version

Wiki

  • mcp_backlog_list_wikis - List wiki pages
  • mcp_backlog_get_wiki - Get a specific wiki page
  • mcp_backlog_create_wiki - Create a new wiki page
  • mcp_backlog_update_wiki - Update a wiki page
  • mcp_backlog_delete_wiki - Delete a wiki page

Attachments

  • mcp_backlog_list_attachments - List attachments for an issue
  • mcp_backlog_get_attachment - Get attachment details
  • mcp_backlog_add_attachment - Upload an attachment

Categories & Metadata

  • mcp_backlog_list_categories - List project categories
  • mcp_backlog_get_issue_types - Get issue types
  • mcp_backlog_list_priorities - List priority levels
  • mcp_backlog_list_resolutions - List resolution statuses
  • mcp_backlog_get_myself - Get current user information

Project Structure

code
mcp-backlog/
├── src/
│   ├── index.ts              # Server entry point
│   ├── backlog-api.ts        # Backlog API wrapper
│   ├── config.ts             # Configuration validation
│   ├── constants/
│   │   └── regex.ts          # Regular expressions
│   └── tools/                # Tool implementations
│       ├── issues.ts         # Issue management tools
│       ├── comments.ts       # Comment management tools
│       ├── projects.ts       # Project tools
│       ├── versions.ts       # Version management tools
│       ├── wiki.ts           # Wiki page tools
│       ├── attachments.ts    # Attachment tools
│       ├── category.ts       # Category tools
│       └── metadata.ts       # Metadata tools
├── package.json
├── tsconfig.json
├── server.json               # MCP server definition
└── README.md

Development

Building

Compile TypeScript to JavaScript:

bash
npm run build

Running

Start the server:

bash
npm start

Testing

Run tests (when available):

bash
npm test

API Documentation

For detailed API documentation, visit:

Error Handling

The server provides comprehensive error handling with descriptive error messages. Common errors include:

  • Invalid API Key: Verify your BACKLOG_API_KEY environment variable
  • Invalid Host: Ensure BACKLOG_HOST is correct (e.g., your-space-id.backlog.com)
  • Network Errors: Check your internet connection and firewall settings
  • Rate Limiting: Backlog API has rate limits; implement appropriate delays

Contributing

Contributions are welcome! Please feel free to submit a Pull Request to the GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For issues, questions, or suggestions, please open an issue on GitHub Issues.

Related Resources

常见问题

io.github.vfa-khuongdv/mcp-backlog 是什么?

用于将 Backlog API 与 AI agents 集成的 MCP 服务器,便于项目任务、协作流程与信息同步。

相关 Skills

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描123.0k

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描123.0k

邮件模板

by alirezarezvani

Universal
热门

快速搭建生产可用的事务邮件系统:生成 React Email/MJML 模板,接入 Resend、Postmark、SendGrid 或 AWS SES,并支持本地预览、i18n、暗色模式、反垃圾优化与追踪埋点。

面向营销与服务场景,快速搭建高质量邮件模板,省去反复设计与切图成本,成熟度和社区认可都很高。

平台与服务
未扫描12.5k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
84.2k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.5k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
38.1k

评论