Confluence-Based Code Review MCP Server
An MCP server that performs code reviews by comparing local source code against design documents stored in Confluence. It integrates with Atlassian MCP servers to analyze documentation and provide suggestions for quality improvement based on design specifications.
README
Confluence設計書ベースのコードレビューMCPサーバー
Confluenceの設計書に沿ってコードレビューを行うMCPサーバーです。既存のConfluence MCPサーバーと連携して、設計書の内容とローカルのコード実装を比較・分析し、品質向上のための提案を行います。
導入手順
前提条件
- python、nodeが使える環境であること
- clineをインストールしていること
- clineが使える状態であること(bedrockからapi-keyを払い出すなどする)
1. mcp-remoteのインストール
npm install -g mcp-remote
2. cline_mcp_settings.jsonの編集
clineの設定ファイルを開き、まずはatlassian mcp serverの導入をします
接続するかvscodeを開き直すかするとatlassianの認証ページが開かれたはずです
confluenceへのアクセス許可をしてacceptしてください
{
"mcpServers": {
"atlassian": {
"autoApprove": [],
"disabled": false,
"timeout": 60,
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.atlassian.com/v1/sse"
],
"env": {},
"transportType": "stdio"
}
}
}
3. code-eval-mcpの設定
依存関係をインストール
pip install -r requirements.txt
4. パッケージのインストール
pip install -e .
5. cline_mcp_settings.jsonへの追記
先ほどのatlassianを追加した設定ファイルにさらに追記し、最終的に以下のようになります
{
"mcpServers": {
"atlassian": {
"autoApprove": [],
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.atlassian.com/v1/sse"
],
"env": {}
},
"code-eval-prompt": {
"autoApprove": [],
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "python",
"args": [
"<絶対パス>/code-review-following-confluence/mcp_server/server.py"
],
"env": {}
}
}
}
使用方法
clineで以下のプロンプトを入力してください
server_name: code-eval-prompt
tool_name: generate_flow_overview
arguments: {
"main_page": "173735938",
"subpages": [
"207519745",
"167706625"
],
"project_root": "<絶対パス>\project\kaonamae-nodejs",
"hint_files": [
"controllers\common\life.ts",
"services\common\lifeService.ts"
],
"dependency_depth": 3
}
パラメータ説明
main_page: confluenceの設計書のメインとなるページ(URL全体ではなくページIDが良い気がします)subpages:main_pageのほかに読み込ませたいページproject_root: ローカルにあるプロジェクトルートhint_files: 今回評価したいファイルのヒントdependency_depth: どこまで依存関係を辿るかの数字
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.