Context Engine MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Context Engine MCP Serveranalyze project structure and dependencies"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Context Engine MCP Server
A production-ready TypeScript MCP server providing comprehensive project analysis, intelligent search, multi-file editing, and dependency mapping capabilities.
โ Fully Tested & Verified
Related MCP server: CodeFlow MCP Server
Features
๐ Comprehensive Project Analysis - Deep analysis of project structure, dependencies, and codebase
๐ Intelligent Search - Advanced search with regex support and structural awareness
๐ Multi-file Editing - Atomic operations across multiple files with automatic backups
๐ Dependency Mapping - Complete file relationship and import/export analysis
๐ Project Statistics - Detailed metrics and code health insights
โก High Performance - Intelligent caching and optimized processing
๐ ๏ธ Production Ready - Comprehensive error handling and logging
Quick Start
๐ Using npx (Recommended & Tested)
No installation required! Just add this configuration to your MCP client:
{
"mcpServers": {
"context-engine": {
"command": "npx",
"args": ["-y", "context-engine-mcp"]
}
}
}Alternative: Global Installation
Install globally:
npm install -g context-engine-mcpConfigure your MCP client:
{ "mcpServers": { "context-engine": { "command": "context-engine-mcp" } } }
Local Development
Clone and build:
git clone https://github.com/RaheesAhmed/Context-Engine-MCP-Server.git cd Context-Engine-MCP-Server npm install npm run buildConfigure with local path:
{ "mcpServers": { "context-engine": { "command": "node", "args": ["./dist/index.js"] } } }
MCP Client Integration
Cline (VSCode Extension)
Add to: C:\Users\{USERNAME}\AppData\Roaming\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Claude Desktop
Add to: %APPDATA%\Claude\claude_desktop_config.json
Other MCP Clients
Use the same configuration format shown above.
Available Tools
Tool | Description |
| Comprehensive project analysis with caching |
| Intelligent search across project files |
| Atomic multi-file editing with backups |
| File dependency and import/export mapping |
| Detailed project metrics and health insights |
| Clear all cached project data |
Available Resources
Resource | URI | Description |
Project Analysis |
| Project structure and context data |
Search Results |
| Intelligent search capabilities |
File Relationships |
| Dependency mapping information |
Project Statistics |
| Health metrics and insights |
Usage Examples
1. Analyze a Project
// Tool: analyze_project
{
"projectPath": "/path/to/your/project",
"forceRefresh": false
}2. Search Code
// Tool: search_project
{
"projectPath": "/path/to/your/project",
"query": "function.*Component",
"caseSensitive": false,
"includeStructure": true
}3. Edit Multiple Files
// Tool: edit_multiple_files
{
"projectPath": "/path/to/your/project",
"changes": [
{
"filePath": "src/components/Header.tsx",
"action": "update",
"content": "// Updated component code",
"backup": true
},
{
"filePath": "src/types/index.ts",
"action": "create",
"content": "export interface NewType {}"
}
]
}Configuration
The server includes intelligent defaults and can be configured through environment variables:
LOG_LEVEL: Set logging level (debug, info, warn, error)CACHE_TTL: Cache time-to-live in millisecondsMAX_FILE_SIZE: Maximum file size to analyze (bytes)
Requirements
Node.js 18.x or higher
TypeScript 5.x (for development)
Development
Setup
git clone https://github.com/RaheesAhmed/Context-Engine-MCP-Server.git
cd Context-Engine-MCP-Server
npm installAvailable Scripts
npm run build # Build the project
npm run dev # Development with watch mode
npm run test # Run tests
npm run test:coverage # Run tests with coverage
npm run lint # Run ESLint
npm run format # Format with PrettierTesting
# Run all tests
npm test
# Test with coverage
npm run test:coverage
# Watch mode
npm run test:watchArchitecture
Core Components
Context Engine: Central orchestrator for all operations
File Manager: Handles file I/O and batch operations
Language Analyzer: Parses and analyzes code structure
Cache Manager: Intelligent caching system for performance
Design Patterns
Modular Architecture: Clear separation of concerns
Error Handling: Comprehensive error management
Async/Await: Modern asynchronous programming
Type Safety: Full TypeScript implementation
Contributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
๐ง Issues: GitHub Issues
๐ Documentation: Visit our website for more details
๐ง Troubleshooting: Check the troubleshooting section in the setup guide
Testing & Verification
This MCP server has been extensively tested and verified to work flawlessly:
โ Proven Results:
85 files analyzed successfully in test runs
288 functions and 14 classes detected accurately
25,053 lines of code processed efficiently
80% cache hit rate demonstrating excellent performance
Zero installation required - works perfectly with
npx -y
๐งช Test Scenarios:
โ Fresh project analysis with comprehensive metrics
โ Intelligent search with regex patterns and context
โ File relationship mapping and dependency analysis
โ Project statistics with health insights
โ Multi-language support (TypeScript, JavaScript, text files)
โ Cross-platform compatibility (Windows, Mac, Linux)
Changelog
v2.0.0
โจ Production-ready release with comprehensive testing
๐ Zero-installation
npx -yapproach (fully verified)๐ง Enhanced error handling and logging
๐ Comprehensive project statistics and health metrics
โก Performance optimizations with intelligent caching
๐ ๏ธ Multi-file editing capabilities with atomic operations
โ Extensive testing and verification completed
๐ Updated documentation with proven configurations
Made with โค๏ธ by Rahees Ahmed
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables comprehensive directory analysis and file management operations including project structure exploration, intelligent file search, full CRUD operations on files and directories, batch operations with rollback capabilities, and Git integration.Last updated134
- FlicenseCqualityDmaintenanceEnables AI assistants to analyze codebases through semantic search, call graph generation, and function metadata extraction. Provides real-time code analysis with persistent vector storage for understanding complex code structures and relationships.Last updated135
- Alicense-qualityDmaintenanceEnables GitHub Copilot to understand and navigate your codebase with 20 tools for search, context, dependencies, and safety checks across projects.Last updatedMIT
- Alicense-qualityDmaintenanceEnables AI assistants to manage project analysis, code metrics, documentation, Git operations, code quality, and file organization through natural language commands.Last updated642MIT
Related MCP Connectors
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/RaheesAhmed/Context-Engine-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server