Skip to main content
Glama

ContextEngine MCP Server

A Model Context Protocol (MCP) server that provides an interface to the ContextEngine system - a comprehensive Documentation Driven Development (DDD) methodology. This MCP server enables AI assistants to access ContextEngine's structured workflows, context management tools, and knowledge graph system for documentation-first development processes, eliminating repetitive context provision and ensuring code generation follows documented requirements.

πŸš€ What is ContextEngine?

ContextEngine is an MCP server that implements a comprehensive Documentation Driven Development (DDD) system. It provides structured workflows, context management, and tools that enable AI assistants and humans to collaborate effectively through documentation-first development methodologies.

Core Philosophy

ContextEngine addresses the fundamental challenges of AI-human collaboration in software development:

  • Context Management: Eliminates repetitive context provision by creating persistent documentation repositories

  • Quality Assurance: Ensures code generation follows documented requirements and specifications

  • Scalability: Handles 3x to 30x more information per person than traditional development methods

  • Business Alignment: Maintains clear connection between technical implementation and business value

Related MCP server: Context7 MCP

Features

  • Documentation-Driven Workflows: 9 standardized workflows for different development activities

  • Context Engineering: Dynamic context composition and provision through knowledge graph

  • Structured Documentation: Plan and task documents with hierarchical organization

  • Local Documentation Setup: Automatic creation of organized folder structure and configuration files

  • TypeScript: Full type safety and modern development experience

  • Authentication: Built-in support for API keys and authentication

  • Comprehensive Logging: Structured logging with proper MCP compatibility

πŸ› οΈ Installation

Requirements

  • Node.js >= v18.0.0

  • Cursor, Claude Code, VSCode, Windsurf or another MCP Client

Connecting to MCP Clients

"mcp": {
  "servers": {
    "context-engine": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "context-engine", "--api-key", "YOUR_API_KEY"]
    }
  }
}

πŸ”¨ Available Tools

ContextEngine provides tools for DDD workflow execution:

1. start_context_engine

Starts the ContextEngine system and automatically sets up the local documentation structure. This tool:

  • Initializes the ContextEngine via API call to establish system awareness

  • Creates local documentation structure with organized folders for DDD workflows

  • Sets up configuration files with default settings and workflow definitions

  • Provides comprehensive feedback about both remote and local setup status

The tool creates a .context-engine directory structure:

.context-engine/
β”œβ”€β”€ implementation/       # For completed documentation and implementations
β”œβ”€β”€ requirements/         # For requirements and specifications  
└── config/              # For configuration files
    β”œβ”€β”€ settings.json     # ContextEngine settings
    └── workflows.json    # Workflow configurations

Response Format: Returns a combined status showing both API response and local setup results with clear emoji indicators:

  • πŸ“ Success: Documentation structure setup completed

  • ⚠️ Warning: Setup completed with issues

  • ❌ Error: Setup failed (but API call succeeded)

CLI Arguments

Your MCP server accepts the following CLI flags:

  • --transport <stdio|http> – Transport to use (stdio by default)

  • --port <number> – Port to listen on when using http transport (default 3000)

  • --api-key <key> – API key for authentication (if needed)

  • --server-url <url> – Custom server URL (defaults to https://contextengine.in)

πŸ“š Usage

  1. Start ContextEngine: Use the start_context_engine tool to initialize the DDD system and set up local documentation structure and local documentation setup results

  2. Select Workflow: Choose from 9 available workflows based on your development objective

  3. Execute Workflow: Follow the structured workflow phases to complete your development task

  4. Integrate with AI assistants: Connect to Cursor, VS Code, Claude Code, etc.

πŸ“„ License

MIT

Available Tools

1 tool
start_context_engineStart Context EngineC

Starts the context engine and returns a confirmation message.

ParametersJSON Schema
NameRequiredDescriptionDefault
projectRootYesThe project root directory

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must disclose behavioral traits. It only says 'starts the context engine' without details on idempotency, side effects, required permissions, or state management.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence with no wasted words. However, it could be slightly more informative without losing conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (one parameter, no output schema, no siblings), the description is adequate but lacks context about typical use cases and expected behavior beyond the return message.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema coverage is 100% and the schema already describes 'projectRoot' as 'The project root directory'. The description adds no additional meaning or usage hints for the parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'starts' and the resource 'context engine', and mentions the return of a confirmation message. It is unambiguous and sufficient for basic understanding.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool, prerequisites, or alternatives. With no sibling tools, the lack of usage context still leaves the agent without decision-support information.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 3 tool updatesv1.0.0
    • Removedcheck-health
    • Removedgreet
    • Addedstart_context_engine
  2. 2 tool updates
    • First observedcheck-health
    • First observedgreet

TDQS

B3/5.0
Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a clear and distinct purpose.

Naming Consistency5/5

Since there is only one tool, naming consistency is inherently perfect. The tool name follows a clear verb_noun pattern (start_context_engine).

Tool Count2/5

A single tool is too few for a server named 'ContextEngine MCP Server', which suggests a broader scope for managing contexts. This minimal set will likely cause agent failures due to lack of functionality.

Completeness1/5

The tool surface is severely incomplete for a context engine domain. There are obvious gaps: no tools to stop, update, query, or manage contexts, making it impossible for agents to perform meaningful workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/livelifelively/context-engine-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server