Agentic MCP Server

Agentic MCP Server

Enables AI-driven orchestration of GitHub development workflows including automated issue analysis, code generation, code review, and PR creation through multiple specialized agents. Integrates with GitHub Actions to automate the complete development process from issue to pull request.

Category
访问服务器

README

Agentic MCP Server

MCP Server for Agentic Orchestration System - Claude Code Integration

Claude Code用のModel Context Protocol (MCP) Serverです。識学理論ベースのAI Agentシステムと統合し、GitHub Issue管理、コード生成、レビュー、PR作成などを自動化します。

License: MIT

🎯 概要

このMCP Serverは、Agentic Orchestration Systemの全AgentをClaude Codeから直接呼び出せるようにします。GitHub Actionsと連携して、Issue分析からコード生成、レビュー、PRまでの開発プロセスを完全自動化します。

主な機能

  • IssueAgent: AI駆動Issue分析・Label自動付与
  • CodeGenAgent: AI駆動コード生成・テスト自動生成
  • ReviewAgent: 静的解析・セキュリティスキャン・品質判定
  • PRAgent: PR自動作成・説明文AI生成
  • CoordinatorAgent: タスク分解(DAG構築)・Agent選定
  • KPI収集: 開発メトリクス自動収集・ダッシュボード生成

🚀 クイックスタート

1. インストール

git clone https://github.com/ShunsukeHayashi/agentic-mcp-server.git
cd agentic-mcp-server
npm install

2. ビルド

npm run build

3. 環境変数設定

.envファイルを作成:

cp .env.example .env

.envを編集してAPIキーを設定:

GITHUB_TOKEN=your_github_token_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
GITHUB_REPOSITORY=owner/repo
GITHUB_REPOSITORY_PATH=/path/to/your/repo

GitHub Token取得方法:

  1. https://github.com/settings/tokens
  2. "Generate new token (classic)"
  3. 権限: repo, workflow, issues, pull_requests

4. Claude Code CLI設定

Claude Code CLIの設定ファイルに追加:

macOS/Linux: ~/.config/claude/claude_desktop_config.json

{
  "mcpServers": {
    "agentic-orchestration": {
      "command": "node",
      "args": [
        "/absolute/path/to/ai-course-content-generator-v.0.0.1/tools/agentic-mcp/dist/server.js"
      ],
      "env": {
        "GITHUB_TOKEN": "ghp_your_github_token_here",
        "ANTHROPIC_API_KEY": "sk-ant-your_anthropic_api_key_here",
        "GITHUB_REPOSITORY": "ShunsukeHayashi/ai-course-content-generator-v.0.0.1",
        "GITHUB_REPOSITORY_PATH": "/absolute/path/to/ai-course-content-generator-v.0.0.1"
      }
    }
  }
}

⚠️ 重要:

  • パスは絶対パスを使用してください
  • APIキーは直接記載(.envではなくClaude Code設定で管理)
  • Claude Code CLIを再起動して設定を反映

5. 動作確認

Claude Code CLIセッション内で以下を確認:

利用可能なMCPツール: agentic_codegen_execute, agentic_review_execute, ...

🔧 利用可能なTools

1. agentic_codegen_execute

説明: CodeGenAgent実行 - AI駆動コード生成・テスト自動生成

パラメータ:

  • issue_number (required): GitHub Issue番号
  • title (required): タスクタイトル
  • description (required): タスク詳細
  • priority (optional): 優先度(P0-緊急/P1-高/P2-中/P3-低)

使用例:

Claude Codeで以下のように使用:

Issue #123の実装をCodeGenAgentに実行させてください。
タイトル: ログイン機能実装
詳細: Firebase Authenticationでログイン画面を実装する

2. agentic_review_execute

説明: ReviewAgent実行 - 静的解析・セキュリティスキャン・品質判定

パラメータ:

  • issue_number (required): GitHub Issue番号
  • target_files (optional): レビュー対象ファイルパス配列

使用例:

現在の実装をReviewAgentで品質チェックしてください

3. agentic_issue_analyze

説明: IssueAgent実行 - Issue内容AI分析・Label自動付与

パラメータ:

  • issue_number (required): GitHub Issue番号
  • title (required): Issue タイトル
  • body (required): Issue 本文

使用例:

Issue #456を分析して、識学理論Labelを推奨してください

4. agentic_pr_create

説明: PRAgent実行 - PR自動作成・説明文AI生成

パラメータ:

  • issue_number (required): GitHub Issue番号
  • branch_name (optional): ブランチ名

使用例:

Issue #789の実装が完了したので、PRAgentでPR作成してください

5. agentic_coordinator_decompose

説明: CoordinatorAgent実行 - タスク分解(DAG構築)・Agent選定

パラメータ:

  • issue_number (required): GitHub Issue番号
  • title (required): タスクタイトル
  • description (required): タスク詳細

使用例:

大規模な機能実装タスクをCoordinatorAgentで分解してください

6. agentic_kpi_collect

説明: KPI収集・ダッシュボード生成

パラメータ:

  • period (optional): 集計期間(6h/24h/7d/30d)

使用例:

過去24時間のKPIを収集してください

7. agentic_metrics_view

説明: 識学理論KPIダッシュボード表示

パラメータ: なし

使用例:

現在のKPIダッシュボードを表示してください

📊 識学理論対応

責任と権限の明確化

各Toolは対応するAgentの権限レベルで実行されます:

  • CodeGenAgent: 🔵実行権限
  • ReviewAgent: 🟡確認権限
  • IssueAgent: 🔵実行権限
  • PRAgent: 🔵実行権限
  • CoordinatorAgent: 🔴決裁権限

結果重視

全Toolはquality_scoreを返し、客観的な評価を提供します。

エスカレーション

品質基準未達時は自動的にエスカレーションし、適切な担当者に通知します。


🧪 テスト

# MCP Server起動テスト
npm run dev

# 別ターミナルで
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | node dist/server.js

🔧 トラブルシューティング

Tools が表示されない

  1. Claude Desktop設定を確認
  2. パスが正しいか確認
  3. Claude Desktop再起動

Agent実行エラー

  1. GITHUB_TOKEN設定を確認
  2. ANTHROPIC_API_KEY設定を確認
  3. リポジトリパス確認

🤖 Agentic Orchestration MCP Server - Ready for Claude Code!

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选