Sponsored by Deepsite.site

mcp-backlog-server

Created By
katsuhirohonda9 months ago
Content

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 - 環境変数からの設定読み込み
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
DeepChatYour AI Partner on Desktop
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Serper MCP ServerA Serper MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
CursorThe AI Code Editor
ChatWiseThe second fastest AI chatbot™
Amap Maps高德地图官方 MCP Server
Tavily Mcp
WindsurfThe new purpose-built IDE to harness magic
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.