Backlog MCP Server

Backlog MCP Server

Integrates Backlog project management with Claude via Model Context Protocol, enabling access to projects, issues, and wiki pages through natural language interactions.

katsuhirohonda

Developer Tools
Communication
Version Control
TypeScript
Visit Server

README

mcp-backlog-server

Backlog MCP Server

これはBacklogとModel Context Protocol (MCP)を統合するTypeScriptベースのサーバーです。以下のMCPの主要概念を実装しています:

  • Backlogプロジェクトを表すリソース(URIとメタデータを含む)
  • Backlog APIと対話するためのツール
  • Backlogデータの要約と分析を生成するためのプロンプト

機能

リソース

  • backlog://project/[id] URIを通じてBacklogプロジェクトにアクセス
  • 各プロジェクトリソースにはプロジェクトのメタデータと詳細情報が含まれる
  • 構造化データアクセスのためのJSON形式リソース
  • プロジェクト内の課題(イシュー)へのアクセス
  • プロジェクト内のWikiページへのアクセス

ツール

  • get_backlog_user - 現在のBacklogユーザー情報を取得
  • get_backlog_space - Backlogスペース情報を取得
  • list_recent_projects - 最近閲覧したBacklogプロジェクトを一覧表示
    • 件数と並び順を設定可能
  • get_project_issues - プロジェクトの課題を取得
    • ステータス、担当者、ページネーションなどでフィルタリング可能
  • get_issue_detail - 特定の課題の詳細情報を取得
  • get_issue_comments - 課題のコメントを取得
  • add_issue_comment - 課題にコメントを追加
  • get_issue_comment_count - 課題のコメント数を取得
  • get_issue_comment - 特定のコメントの詳細情報を取得
  • get_wiki_page_list - Wikiページの一覧を取得
    • プロジェクトやキーワードでフィルタリング可能
  • get_wiki_page - 特定のWikiページの詳細情報を取得
  • update_wiki_page - Wikiページを更新

プロンプト

  • summarize_projects - 最近閲覧したBacklogプロジェクトの要約を生成
  • analyze_backlog_usage - ユーザー、スペース、プロジェクトデータに基づくBacklog使用パターンの分析
  • summarize_wiki_pages - プロジェクトのWikiページの要約を生成

必要条件

  • API アクセス権を持つ Backlog アカウント
  • 環境変数:
    • BACKLOG_API_KEY: Backlog API キー
    • BACKLOG_SPACE_URL: Backlog スペース URL (例: https://your-space.backlog.com)

開発

依存関係のインストール:

npm install

サーバーのビルド:

npm run build

自動再ビルドによる開発:

npm run watch

インストール

Claude Desktopで使用するには、サーバー設定を追加します:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mcp-backlog-server": {
      "command": "/path/to/mcp-backlog-server/build/index.js",
      "env": {
        "BACKLOG_API_KEY": "your-api-key",
        "BACKLOG_SPACE_URL": "https://your-space.backlog.com"
      }
    }
  }
}

デバッグ

MCPサーバーは標準入出力を介して通信するため、デバッグが難しい場合があります。MCP Inspectorの使用をお勧めします。これはパッケージスクリプトとして利用可能です:

npm run inspector

InspectorはブラウザでデバッグツールにアクセスするためのURLを提供します。

技術詳細

このサーバーは以下の主要コンポーネントで構成されています:

  • index.ts - メインエントリーポイント、MCPサーバーの初期化と設定
  • backlog-client.ts - Backlog APIとの通信を処理するクライアント
  • handlers/ - リソース、ツール、プロンプトのハンドラー
    • resource-handlers.ts - プロジェクト、課題、Wikiのリソース処理
    • tool-handlers.ts - Backlog APIとのインタラクションツール
    • prompt-handlers.ts - プロンプト生成機能
  • types.ts - Backlog APIレスポンスの型定義
  • config.ts - 環境変数からの設定読み込み

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Playwright MCP Server

Playwright MCP Server

Provides a server utilizing Model Context Protocol to enable human-like browser automation with Playwright, allowing control over browser actions such as navigation, element interaction, and scrolling.

Featured
Local
TypeScript
MCP Package Docs Server

MCP Package Docs Server

Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.

Featured
Local
TypeScript
Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
@kazuph/mcp-taskmanager

@kazuph/mcp-taskmanager

Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.

Featured
Local
JavaScript
Apple MCP Server

Apple MCP Server

Enables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.

Featured
Local
TypeScript
Gitingest-MCP

Gitingest-MCP

An MCP server for gitingest. It allows MCP clients like Claude Desktop, Cursor, Cline etc to quickly extract information about Github repositories including repository summaries, project directory structure, file contents, etc

Featured
Local
Python