refactor: consolidate MCP integration to unified gateway

**Changes**:
- Remove individual MCP server docs (superclaude/mcp/*.md)
- Remove MCP server configs (superclaude/mcp/configs/*.json)
- Delete MCP docs component (setup/components/mcp_docs.py)
- Simplify installer (setup/core/installer.py)
- Update components for unified gateway approach

**Rationale**:
- Unified gateway (airis-mcp-gateway) provides all MCP servers
- Individual docs/configs no longer needed (managed centrally)
- Reduces maintenance burden and file count
- Simplifies installation process

**Files Removed**: 17 MCP files (docs + configs)
**Installer Changes**: Removed legacy MCP installation logic

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
kazuki
2025-10-17 07:24:01 +09:00
parent 4a5d7499a4
commit 01ddc14354
30 changed files with 253 additions and 1242 deletions

View File

@@ -90,7 +90,6 @@ def run_diagnostics() -> dict:
if install_dir.exists():
components = {
"CLAUDE.md": "Core framework entry point",
"MCP_*.md": "MCP documentation files",
"MODE_*.md": "Behavioral mode files",
}
@@ -100,13 +99,6 @@ def run_diagnostics() -> dict:
"message": "Installed" if claude_md.exists() else "Not installed",
}
# Count MCP docs
mcp_docs = list(install_dir.glob("MCP_*.md"))
results["MCP Documentation"] = {
"status": len(mcp_docs) > 0,
"message": f"{len(mcp_docs)} servers documented" if mcp_docs else "None installed",
}
# Count modes
mode_files = list(install_dir.glob("MODE_*.md"))
results["Behavioral Modes"] = {

View File

@@ -9,6 +9,7 @@ from rich.panel import Panel
from rich.prompt import Confirm
from rich.progress import Progress, SpinnerColumn, TextColumn
from superclaude.cli._console import console
from setup import DEFAULT_INSTALL_DIR
# Create install command group
app = typer.Typer(
@@ -33,7 +34,7 @@ def install_callback(
help="Installation profile: api (with API keys), noapi (without), or custom",
),
install_dir: Path = typer.Option(
Path.home() / ".claude",
DEFAULT_INSTALL_DIR,
"--install-dir",
help="Installation directory",
),
@@ -82,7 +83,7 @@ def install_all(
help="Installation profile: api (with API keys), noapi (without), or custom",
),
install_dir: Path = typer.Option(
Path.home() / ".claude",
DEFAULT_INSTALL_DIR,
"--install-dir",
help="Installation directory",
),
@@ -148,7 +149,7 @@ def _run_installation(
verbose=verbose,
quiet=False,
yes=True, # Always non-interactive
components=["framework_docs", "modes", "commands", "agents", "mcp_docs"], # Full install
components=["framework_docs", "modes", "commands", "agents"], # Full install (mcp integrated into airis-mcp-gateway)
no_backup=False,
list_components=False,
diagnose=False,
@@ -197,7 +198,7 @@ def install_components(
help="Component names to install (e.g., core modes commands agents)",
),
install_dir: Path = typer.Option(
Path.home() / ".claude",
DEFAULT_INSTALL_DIR,
"--install-dir",
help="Installation directory",
),
@@ -221,7 +222,7 @@ def install_components(
- commands: Slash commands (26 commands)
- agents: Specialized agents (17 agents)
- mcp: MCP server integrations
- mcp_docs: MCP documentation
- mcp: MCP server configurations (airis-mcp-gateway)
"""
console.print(
Panel.fit(