
dukedesouth/m7-mcp-oss
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
強化反射ゲート、持続的なプロジェクトメモリ、マルチモデルハイブでAIコーディングエージェントを固定7相サイクルで動作させるMCPサーバー
概要
v3.22.2 — クローンメインまたはリリースアーカイブをダウンロードします。 npm パッケージはありません。 ソースからビルドします(npm run build)。 AI コーディングエージェントがコードに直接ジャンプするのではなく、固定7相サイクルで動作させる MCP サーバー。 Cursor 用に構築されましたが、 stdio 上で MCP をプレーンし、ツールをサポートするクライアントと連携する必要があります。 このリポジトリは . 私は、私と私のチームによって使用されるプライベートツールとして、6月2025日と2026月中旬の間にM7を開発しました。 ここに公開されたバージョンは、そのクローズドディストリビューション(セルフアップデートクライアント、ライセンスチェック、プライベートアクセスゲート)に縛られた部分と2026年7月のリポジトリの状態であり、未完成の研究モジュールが削除されます。 開発は個人的に続行します。後ほどの同期ができないことがあります。 いつ変更されたのか、docs/WHY OPEN SOURCE.md を参照して、これは特許や会社としてではなく、オープンソースとして公開されている理由を説明します.
概要(AI 翻訳)
現在のリリース: v3.22.2 — クローン main] またはリリースアーカイブをダウンロードします。 npm パッケージはありません。 ソースからビルドします(npm run build])。
固定7相でAIコーディングエージェントを動作させるMCPサーバー コードにまっすぐにジャンプするのではなく、サイクル。 Cursor のビルドでしたが、 プレーン MCP を stdio 上で話し、サポートするクライアントと連携する必要があります。 ツール。
このリポジトリは、ライブツリーではなくsnapshotです。 M7 を開発 2025年6月と2026年半ばに、私と私のチームが使用するプライベートツールとして使用しました。 バージョン ここに公開されたのは、縛られた部分と2026年7月のレポの状態です クローズドディストリビューション(自己更新クライアント、ライセンスチェック、プライベートアクセス) ゲート)および取除かれる1つの未完成の研究モジュール。 開発は個人的に継続します。私は、より多くの同期ができないか あと。 変更した内容についてはCHANGELOG.md を参照してください。 docs/WHY OPEN SOURCE.mdが公開される理由 特許や企業を追求するのではなく、オープンソースとして。
それが何をするか
コアのアイデアは簡単です:エージェントがコードに触れる前に、 発見、アーキテクチャ、ソリューション、インパクト分析、実装
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
M7 MCP
Current release: v3.22.2 — clone main or download the release archive. There is no npm package; build from source (npm run build).
An MCP server that makes an AI coding agent work through a fixed seven-phase cycle instead of jumping straight to code. It was built for Cursor, but it speaks plain MCP over stdio and should work with any client that supports tools.
This repository is a snapshot, not the live tree. I developed M7 between June 2025 and mid-2026 as a private tool used by me and my team. The version published here is the state of the repo as of July 2026 with the parts tied to that closed distribution (self-update client, license check, private-access gate) and one unfinished research module removed. Development continues privately; I may or may not sync more of it later. See CHANGELOG.md for what changed when, and docs/WHY_OPEN_SOURCE.md for why this is published as open source rather than pursued as a patent or a company.
What it does
The core idea is simple: before the agent touches code it has to go through
discovery, architecture, solution, impact analysis and an implementation
simulation, write an artifact for each, and pass a reflection gate between
phases. The server does not trust the model to “remember” the rules: it
issues a gate ID with every phase instruction, rejects reflections that do not
quote it, re-injects a compact rule summary after N calls to mcp_m7_cycle within the
same phase (the MCP server only observes its own tools, not the client’s other
actions), and keeps the cycle state on disk so a new chat can pick up where the
old one stopped.
Around that cycle there is a set of supporting tools:
- Memory with tiers (L1/L2/L3), confidence decay, promotion and a “fog of war” that tracks what is known, assumed, stale or unknown about the project. Optional ChromaDB backend for semantic search; falls back to local JSON.
- Task analysis and routing (
mcp_m7_analyze_task): classifies a request, creates a session, flags scope drift, decides between a short path and the full cycle. - Hive: run several model instances (OpenAI / Anthropic) on a question and merge the answers. Needs API keys.
- TSI (tech safety intelligence): YAML pattern packs (security, performance, architecture, testing, deployment) used to warn about known footguns before implementation.
- Task graph, task transfer between chats, architecture advisor, knowledge
graph, error database, style guardian, DCCE text validator, mesh for
multi-machine sessions, and a few more. The full list is in
docs/TOOLS_REGISTRY.md; 37 tools are registered
by
src/index.ts.
Documentation is split by reader. For the agent: M7-GUIDE.md (operational guide) and Methodology/CURSOR_METHODOLOGY_RULES.md
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"m7": {
"command": "node",
"args": ["/absolute/path/to/m7-mcp/dist/index.js"],
"cwd": "/absolute/path/to/m7-mcp",
"env": {
"OPENAI_API_KEY": "sk-...",
"ANTHROPIC_API_KEY": "sk-ant-...",
"M7_PROJECT_PATH": "/absolute/path/to/your/project"
}
}
}
}