شعار 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 وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات 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 ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇