Context Engine MCPのロゴ

Context Engine MCP

組織
SuperClaude-Org

17 contextual flags for AI assistants. Control how AI thinks and works.

公開者SuperClaude-Org
リポジトリSuperFlag_Framework
言語TypeScript
フォーク
5
スター
16
利用可能なツール
1
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Context Engine MCPは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 1個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには16件のスターと5件のフォークがあります。

SuperFlag

Claude Code NPM TypeScript

Note: This project was inspired by the pioneering work in SuperClaude Framework and SuperGemini Framework. Special thanks to SuperClaude-Org team members @NomenAK and @mithun50 whose work made this possible.

SuperFlag provides 21 contextual flags that guide AI assistant behavior through precise directives. It exposes an MCP stdio server for seamless integration with modern AI development tools.

Quick Start

bash
# Install globally
npm install -g @superclaude-org/superflag

# Interactive installation (choose platforms)
superflag install

# Direct installation for Claude Code
superflag install cc

Then use flags in your AI assistant:

  • "Fix this bug --analyze --strict"
  • "Refactor --auto" (auto-select optimal flags)
  • "--save" (create handoff documentation)
  • "Run with 3 agents --team-3"

21 Available Flags

Analysis & Optimization

FlagPurpose
--analyzeMulti-perspective evidence-based analysis with 3+ independent perspectives
--performanceMeasure-first optimization with baseline metrics and ROI calculation
--refactorSafe atomic refactoring with continuous test verification
--strictZero-error transparent execution with verify-before-claim
--leanMinimal resource-efficient implementation eliminating waste

Discovery & Documentation

FlagPurpose
--discoverResearch-first solution selection with 3+ alternatives comparison
--explainProgressive domain-expert disclosure from overview to details
--saveDocument development context for seamless continuation
--loadLoad and verify handoff context against git reality

Workflow Management

FlagPurpose
--teamMulti-agent coordination with optional count (--team-N)
--skillContext-aware skill invocation — auto-selects appropriate skill
--todoScope-locked task tracking with real-time progress
--seqDependency-ordered sequential execution with checkpoints
--collabEvidence-anchored peer collaboration with quantitative validation

Output Control

FlagPurpose
--concisePrecise professional content prioritizing accuracy over brevity
--gitAnonymous atomic commits with ASCII-only WHY-focused messages
--readonlyAnalysis-only mode with absolute no-modification guarantee

Execution Discipline

FlagPurpose
--integrityVerification-before-claim with evidence for every assertion
--evolveMonotonic forward improvement with regression prevention

Meta Control

FlagPurpose
--resetClear session and force fresh directives
--autoGrant autonomous flag selection authority

Installation

Prerequisites

  • Node.js 16+
  • Target platform installed (Claude Code, Gemini CLI, or Continue)

Quick Setup (All Platforms)

bash
# Install package globally
npm install -g @superclaude-org/superflag

# Interactive installation - choose your platforms
superflag install

The interactive installer will:

  • Detect installed platforms
  • Let you select which ones to configure
  • Automatically register MCP servers for all platforms
  • Set up configuration files and flag detection

Platform-Specific Installation

Claude Code

bash
# Direct installation (MCP server auto-registered)
superflag install cc

# Verify connection
claude mcp list

Creates:

  • ~/.claude/CLAUDE.md - References @SUPERFLAG.md
  • ~/.claude/SUPERFLAG.md - Flag instructions
  • ~/.claude/hooks/superflag.py - Flag detection hook

Manual MCP Registration (if auto-registration fails):

bash
# Add MCP server manually
claude mcp add superflag npx @superclaude-org/superflag@latest -s user

# Or add to ~/.claude.json
{
  "mcpServers": {
    "superflag": {
      "command": "npx",
      "args": ["@superclaude-org/superflag@latest"],
      "env": {}
    }
  }
}

Gemini CLI

bash
# Direct installation (MCP server auto-registered)
superflag install gemini

Creates:

  • ~/.gemini/GEMINI.md - References @SUPERFLAG.md
  • ~/.gemini/SUPERFLAG.md - Flag instructions

Manual MCP Registration (if auto-registration fails):

json
// Edit ~/.gemini/settings.json
{
  "mcpServers": {
    "superflag": {
      "type": "stdio",
      "command": "npx",
      "args": ["@superclaude-org/superflag@latest"],
      "env": {}
    }
  }
}

Continue (VS Code Extension)

bash
# Direct installation (MCP server auto-registered)
superflag install cn

Creates:

  • ~/.continue/config.yaml - SuperFlag rules
  • ~/.continue/mcpServers/superflag.yaml - MCP server configuration

Manual MCP Registration (if auto-registration fails):

yaml
# Create ~/.continue/mcpServers/superflag.yaml
name: SuperFlag
command: npx
args:
  - '@superclaude-org/superflag@latest'
env: {}

Batch Installation

bash
# Install for all supported platforms
superflag install all

# Install for specific combinations
superflag install cc gemini  # Claude Code + Gemini CLI
superflag install cn         # Continue only

Usage

Natural Language with Flags

All platforms support using flags in natural conversation:

bash
# Auto mode - AI selects appropriate flags
"Optimize this code --auto"

# Specific flag combinations
"--analyze --strict"       # Thorough analysis with zero-error enforcement
"--save --explain"         # Create documentation with detailed explanations
"--reset --todo"           # Reset session and start task tracking
"--team-3 --todo"          # Multi-agent work with 3 agents + task tracking

# Parametric flags
"--team-5"                 # Spawn 5 role-specialized agents
"--team"                   # Auto-determine team size from task complexity

Platform-Specific Usage

Claude Code

bash
# Direct chat with flags
"Fix this bug --analyze --strict"
"Create documentation --save --explain"

# MCP tool access (advanced)
get_directives(['--flag1', '--flag2'])

Gemini CLI

bash
# Chat with flags
"Refactor this code --auto --performance"

# MCP server commands
@superflag --analyze --todo

Continue (VS Code)

bash
# In Continue chat
"Optimize this function --performance --lean"

# Use @ to access MCP tools
@get_directives(['--strict', '--analyze'])

Session Management

  • Duplicate Detection: Repeated flags show brief reminders instead of full directives
  • Session Reset: Use --reset when switching tasks or contexts
  • Persistence: Flag states persist through /clear or /compact - use --reset to reinitialize

The --auto Flag

--auto enables intelligent flag selection:

UsageBehavior
--auto onlyAI selects complete flag set automatically
--auto --strict --analyzeAI applies specified flags + may add others
--strict --analyzeOnly specified flags, no auto-selection

Note: Do not include --auto in direct get_directives() calls - it's for natural language use only.

Configuration Files

Claude Code

~/.claude/
├── CLAUDE.md                    # References @SUPERFLAG.md
├── SUPERFLAG.md                 # Flag instructions
└── hooks/
    └── superflag.py             # Flag detection hook

Gemini CLI

~/.gemini/
├── GEMINI.md                    # References @SUPERFLAG.md
├── SUPERFLAG.md                 # Flag instructions
└── settings.json                # MCP server configuration (auto-registered)

Continue

~/.continue/
├── config.yaml                  # SuperFlag rules and configuration
└── mcpServers/
    └── superflag.yaml           # MCP server settings (auto-registered)

Shared Configuration

~/.superflag/
└── flags.yaml                  # Flag definitions and directives (all platforms)

Development

Local Development

bash
# Clone repository
git clone https://github.com/SuperClaude-Org/SuperFlag_Framework.git
cd SuperFlag_Framework

# Install dependencies
npm install

# Build TypeScript
npm run build

# Test locally
npm link
superflag --version

Version Management

Update version in src/version.ts - all other files sync automatically during build.

Project Structure

  • flags.yaml - All 21 flag definitions and directives (3-Layer architecture)
  • SUPERFLAG.md - Flag instructions installed to user config directories
  • src/server.ts - MCP stdio server
  • src/install.ts - Interactive installer/uninstaller
  • src/directives.ts - Flag parsing from flags.yaml

Uninstallation

Interactive Uninstallation

bash
# Interactive removal - choose platforms to remove
superflag uninstall

Platform-Specific Removal

bash
# Remove from specific platforms
superflag uninstall cc          # Claude Code only
superflag uninstall gemini      # Gemini CLI only
superflag uninstall cn          # Continue only
superflag uninstall all         # All platforms

Complete Removal

bash
# Remove all configurations and package
superflag uninstall all
npm uninstall -g @superclaude-org/superflag

Safety Features:

  • Configuration files are backed up before removal
  • Interactive confirmation for each platform
  • Selective removal - keep other platforms intact

Troubleshooting

Common Issues

Auto-Registration Failed If MCP server wasn't automatically registered during installation:

bash
# For Claude Code
claude mcp add superflag npx @superclaude-org/superflag@latest -s user

# For Gemini CLI - manually edit ~/.gemini/settings.json
{
  "mcpServers": {
    "superflag": {
      "type": "stdio",
      "command": "npx",
      "args": ["@superclaude-org/superflag@latest"],
      "env": {}
    }
  }
}

# For Continue - create ~/.continue/mcpServers/superflag.yaml
name: SuperFlag
command: npx
args:
  - '@superclaude-org/superflag@latest'
env: {}

MCP Connection Issues

bash
# Check server status (Claude Code)
claude mcp list

# Re-register if needed
claude mcp remove superflag
superflag install cc  # Auto-register again

Flags Not Working

  • Restart your AI platform after installation
  • Verify configuration files exist:
    • Claude Code: ~/.claude/SUPERFLAG.md
    • Gemini CLI: ~/.gemini/SUPERFLAG.md
    • Continue: ~/.continue/config.yaml
  • Check MCP server connection (platform-specific)

License

MIT


Need Help? File issues at: GitHub Repository

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "superclaude-org-context-engine-mcp": {
      "command": "uvx",
      "args": [
        "@superclaude-org/superflag"
      ]
    }
  }
}

Context Engine MCPのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Context Engine MCPに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Context Engine MCPをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Context Engine MCPのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "superclaude-org-context-engine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@superclaude-org/superflag"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてContext Engine MCPのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Context Engine MCPのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Context Engine MCPを使ってこのタスクを手伝ってもらえますか?
Context Engine MCP
はい、読みました。
Context Engine MCPで調べた結果をお伝えします。

よくある質問

Context Engine MCP MCPサーバーは何に使いますか?

Context Engine MCPは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでContext Engine MCP MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでContext Engine MCPを利用できます。

TypingMindでContext Engine MCP MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Context Engine MCPを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Context Engine MCP MCPをTypingMindに接続するにはどうすればよいですか?

Context Engine MCPはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでContext Engine MCP MCPのどのようなツールを利用できますか?

Context Engine MCPは1個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Context Engine MCP MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Context Engine MCPで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇