context-engineering
Automated Context Engineering MCP Server for creating high-quality Product Requirements Prompts (PRPs) through AI-assisted workflows
claude mcp add --transport stdio croakingtoad-context-engineering-mcp node /path/to/context-engineering-mcp-server/dist/index.js \ --env DATA_DIR="Directory for persistent storage (default: ./data)" \ --env NODE_ENV="Environment mode (development|production|test)" \ --env TEMPLATES_DIR="Directory containing internal templates (default: ./templates)" \ --env EXTERNAL_TEMPLATES_DIR="Directory for external templates (default: ./external/context-engineering-intro)"
How to use
The Context Engineering MCP Server automates the creation of high-quality Product Requirements Prompts (PRPs) by analyzing your codebase and applying Cole Medin’s context engineering methodology. It exposes a suite of tools designed to generate PRPs, validate them against best practices, and manage stored PRPs, all while integrating with Archon for task and knowledge management. Use the available commands to list templates, generate PRPs tailored to your project context, search and create templates, analyze your project, and manage storage and versions. The server helps you start with informed, context-aware requirements rather than blank documents, producing actionable PRPs that reflect your current tech stack and constraints.
How to install
Prerequisites:
- Node.js (LTS) and npm installed on your system
- Git for cloning the repository
Install steps:
-
Clone the repository git clone https://github.com/locomotive-agency/context-engineering-mcp.git cd context-engineering-mcp
-
Install dependencies npm install
-
Build the TypeScript code npm run build
-
Start the MCP server npm start
Optional for development:
- Run in watch mode (if configured): npm run watch
- Use a demo integration script if provided (e.g., node demo-integration.js)
Notes:
- Ensure your environment variables (TEMPLATES_DIR, EXTERNAL_TEMPLATES_DIR, DATA_DIR) are correctly set if you deviate from defaults.
Additional notes
Tips and common issues:
- Ensure the templates directories exist; otherwise the server may fail to load templates on startup.
- If you override DATA_DIR, ensure the path is writable by the running process to avoid storage errors.
- The MCP protocol version is v0.6.0; verify client compatibility if connecting from external tools.
- For Claude Desktop integration, configure the MCP server path to the built dist/index.js and set env vars accordingly.
- When updating templates or PRP templates, consider running the template synchronization script (e.g., scripts/sync-templates.sh) to keep upstream templates current.
- If you encounter type errors during build, ensure your TypeScript version matches the project’s configuration and run npm ci to clean install exact versions.
Related MCP Servers
furi
CLI & API for MCP management
sharedcontext
MCP server that gives AI coding assistants persistent cross-client memory. Facts and conversations stored in SQLite, encrypted with AES-256-GCM, synced to Arweave. No server, no account, recoverable with a 12-word phrase.
CodeRAG
Advanced graph-based code analysis for AI-assisted software development
mcp-bundler
Is the MCP configuration too complicated? You can easily share your own simplified setup!
dida
A Model Context Protocol (MCP) server for interacting with TickTick/Dida365 task management service. This server provides tools to manage tasks, projects, and tags through the TickTick API.
mcp-agentic-sdlc
A comprehensive framework for managing software development lifecycle with AI agents, combining structured development processes with intelligent workflow management.