Context Engine MCP logo

Context Engine MCP

Organization
SuperClaude-Org

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

PublisherSuperClaude-Org
RepositorySuperFlag_Framework
LanguageTypeScript
Forks
5
Stars
16
Available tools
1
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Context Engine MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 1 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    16 stars and 5 forks from the linked repository.

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

Installation

TypingMind
Prerequisites:

Node.js 18+

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

Use Context Engine MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Context Engine MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Context Engine MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Context Engine MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "superclaude-org-context-engine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@superclaude-org/superflag"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Context Engine MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Context Engine MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Context Engine MCP to help me with this task?
Context Engine MCP
Sure. I read it.
Here is what I found using Context Engine MCP.

Frequently asked questions

What is the Context Engine MCP MCP server used for?

Context Engine MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Context Engine MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Context Engine MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Context Engine MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Context Engine MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Context Engine MCP MCP to TypingMind?

Context Engine MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Context Engine MCP MCP provide in TypingMind?

Context Engine MCP exposes 1 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Context Engine MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Context Engine MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇