Логотип 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
Посилання
  • Підключайте інструменти до робочих процесів із ШІ

    Context Engine MCP надає можливості 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"
      ]
    }
  }
}

Використовуйте MCP Context Engine MCP з різними моделями ШІ

TypingMind підключає інструменти MCP на рівні робочого простору, тож після підключення Context Engine MCP ви можете використовувати їх із різними моделями ШІ в TypingMind, а не налаштовувати окремо для кожної моделі. Ця інтеграція MCP працює локально через конектор MCP TypingMind на вашому пристрої.

Інструкція з налаштування локального конектора

Виберіть цей варіант, якщо серверу MCP потрібен доступ до локальних файлів, програм або приватних ресурсів на вашому комп’ютері.

1

Відкрийте налаштування MCP

У TypingMind перейдіть до розділу «Налаштування», відкрийте «Розширені налаштування», потім «Протокол контексту моделі» й виберіть «Параметри конектора».

  1. Відкрийте TypingMind у браузері.
  2. Натисніть значок налаштувань.
  3. Перейдіть до розділу «Розширені налаштування».
  4. Відкрийте розділ «Протокол контексту моделі».
  5. Натисніть «Параметри конектора» й виберіть «Цей пристрій».
Екран налаштування конектора MCP у TypingMind з вибраним варіантом «Цей пристрій»
2

Виконайте команду конектора

Виберіть «Цей пристрій», скопіюйте команду з TypingMind і виконайте її в терміналі. Не зупиняйте процес, поки користуєтеся MCP.

  1. Скопіюйте команду налаштування, показану в TypingMind.
  2. Відкрийте «Термінал» у macOS або Windows Terminal у Windows.
  3. Вставте й виконайте команду.
  4. Підтвердьте встановлення пакета, якщо термінал запитає дозволу продовжити.
  5. Не закривайте вікно термінала й не зупиняйте процес, поки користуєтеся інструментами MCP.
3

Додайте Context Engine MCP як сервер

Коли статус конектора зміниться на «Готово», натисніть «Змінити сервери» та вставте конфігурацію сервера MCP.

  1. Зачекайте, доки статус конектора зміниться на «Готово».
  2. Натисніть «Змінити сервери».
  3. Вставте конфігурацію сервера MCP Context Engine MCP.
  4. Збережіть список серверів.
  5. Оновіть дані, щоб переконатися, що конектор досі готовий до роботи.
Налаштування MCP у TypingMind з активним сервером і кнопкою «Змінити сервери»
{
  "mcpServers": {
    "superclaude-org-context-engine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@superclaude-org/superflag"
      ]
    }
  }
}
4

Використовуйте підключення з різними моделями

Збережіть список серверів, відкрийте «Плагіни», увімкніть інструменти MCP для Context Engine MCP, а потім виберіть будь-яку підтримувану модель ШІ в TypingMind і використовуйте інструменти в чаті або призначте їх агенту ШІ.

  1. Відкрийте сторінку «Плагіни» в TypingMind.
  2. Увімкніть інструменти MCP для Context Engine MCP.
  3. Почніть чат і виберіть модель ШІ, яку хочете використовувати.
  4. Використовуйте інструменти MCP у чаті або призначте їх агенту ШІ.
  5. За потреби перемикайтеся на іншу модель ШІ без повторного підключення MCP.
Чат TypingMind із використанням увімкнених інструментів MCP і вибраної моделі ШІ
Допоможете з цим завданням через Context Engine MCP?
Context Engine MCP
Звісно. Я це прочитав.
Ось що я знайшов за допомогою Context Engine MCP.

Поширені запитання

Для чого використовується сервер MCP Context Engine MCP?

Context Engine MCP — це сервер MCP, який дає змогу сумісним клієнтам ШІ підключатися до зовнішніх інструментів і контексту. У TypingMind ви можете додати цей сервер MCP один раз і зробити його інструменти доступними у своєму робочому просторі ШІ.

Чи можу я використовувати MCP Context Engine MCP з кількома моделями ШІ в TypingMind?

Так. TypingMind підключає інструменти MCP на рівні робочого простору, тому ви можете використовувати Context Engine MCP з різними моделями ШІ, як-от Claude, ChatGPT, Gemini або іншими моделями, які ви налаштували в TypingMind, без окремого налаштування сервера MCP для кожної моделі.

Навіщо використовувати MCP Context Engine MCP із TypingMind?

TypingMind — один із найкращих інтерфейсів для чату з великими мовними моделями, адже він об’єднує різні моделі ШІ, промпти, плагіни, агентів ШІ, ключі API та інструменти MCP в одному робочому просторі. Підключивши Context Engine MCP, ви зможете використовувати його інструменти MCP з вибраними моделями та впорядковано працювати з чатами в TypingMind.

Як підключити MCP Context Engine MCP до TypingMind?

Context Engine MCP працює через локальний конектор MCP TypingMind. Це найкращий варіант, коли серверу MCP потрібен доступ до локальних файлів, настільних застосунків, інструментів командного рядка або приватних ресурсів на вашому комп’ютері.

Які інструменти надає MCP Context Engine MCP у TypingMind?

Context Engine MCP надає інструменти MCP (1), які можна ввімкнути на сторінці «Плагіни» в TypingMind і використовувати в чаті або призначати агентам ШІ.

Чи потрібно передавати свої ключі API в TypingMind, щоб використовувати MCP Context Engine MCP?

Ні. TypingMind орієнтований насамперед на локальну роботу й дає змогу зберігати контроль над постачальниками моделей, ключами API, промптами та конфігурацією MCP. Якщо Context Engine MCP потребує автентифікації, під час створення підключення додайте потрібні заголовки, налаштування OAuth або локальну конфігурацію для цього сервера MCP.

Схожі сервери MCP

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇