sanchit0496

Engineering Intelligence MCP

Community sanchit0496
Updated

Production-oriented Model Context Protocol (MCP) server for Express.js applications that enables AI clients to investigate backend systems through structured engineering tools. Exposes Git history, Winston logs, OpenAPI contracts, and source code via a secure provider-based architecture.

Engineering Intelligence MCP

Node.jsExpressMCPSwaggerWinston Claude
DesktopLicense

A production-oriented Model Context Protocol (MCP) server forExpress.js applications that enables AI clients to inspect backendsystems through structured engineering tools instead of direct filesystem access.

The server exposes backend engineering context including Githistory, Winston logs, OpenAPI/Swagger contracts, andsandboxed source code through MCP tools. The implementation has beenvalidated using both the official MCP Inspector and ClaudeDesktop.

Features

  • MCP-compliant server using the official MCP SDK
  • Tool Registry based architecture
  • Git history provider
  • Winston log provider
  • Dynamic Swagger/OpenAPI provider
  • Sandboxed source code provider
  • Compatible with Claude Desktop
  • Validated using the official MCP Inspector
  • Extensible provider architecture
  • Read-only engineering context

Architecture

flowchart TD

Client[Claude Desktop / MCP Inspector]

Transport[STDIO Transport]

Server[MCP Server]

Registry[Tool Registry]

Git[Git Provider]

Swagger[Swagger Provider]

Logs[Winston Provider]

Source[Source Code Provider]

Express[(Express Application)]

Client <--> Transport
Transport <--> Server
Server --> Registry
Registry --> Git
Registry --> Swagger
Registry --> Logs
Registry --> Source

Git --> Express
Swagger --> Express
Logs --> Express
Source --> Express

Provider Responsibilities

Provider Responsibility
Git Provider Reads Git commit history for project files
Swagger Provider Reads dynamically generated OpenAPI contracts
Log Provider Retrieves Winston application logs
Source Provider Lists directories and securely reads project source code
Tool Registry Registers and dispatches MCP tool requests

Tech Stack

Category Technology
Runtime Node.js
Framework Express.js
Protocol Model Context Protocol
Logging Winston
API Documentation Swagger JSDoc
Database MySQL + Sequelize
Version Control Git
AI Client Claude Desktop
Testing MCP Inspector

Installation

git clone <repository>

npm install

npm run dev

Configure Claude Desktop:

{
  "mcpServers": {
    "engineering-intelligence": {
      "command": "node",
      "args": [
        "/absolute/path/mcp/server.js"
      ]
    }
  }
}

Restart Claude Desktop.

Available MCP Tools

Tool Description
check_file_history Returns recent Git history for a file
read_winston_logs Reads recent Winston logs
analyze_api_contract Reads OpenAPI contract for an endpoint
list_directory Lists project directories
read_source_code Reads project source files securely

Working Example

Prompt

Compare the implementation of POST /orders with its OpenAPIcontract.

Tool Execution

Phase Tool
API Contract Inspection analyze_api_contract
Source Inspection read_source_code
Analysis Claude Desktop

Result

The server successfully detected a contract mismatch between thedocumented API and the controller implementation.

Example:

  • Swagger contract expects customerId
  • Controller consumes userId

This demonstrates how multiple MCP tools can be orchestrated by an AIclient to investigate backend implementation issues.

Testing

The implementation was validated using two independent MCP clients.

MCP Inspector

  • Tool discovery
  • Tool execution
  • Protocol validation
  • Response verification

Claude Desktop

Successfully connected without code changes.

Validated:

  • Git history inspection
  • Winston log retrieval
  • Swagger analysis
  • Source code inspection

This confirms interoperability with real MCP clients.

Project Structure

project/
├── app.js
├── index.js
├── logger.js
├── swaggerConfig.js
├── controllers/
├── models/
├── routes/
├── validations/
├── config/
├── mcp/
│   ├── server.js
│   ├── registry/
│   │    └── toolRegistry.js
│   └── providers/
│        ├── gitProvider.js
│        ├── logProvider.js
│        ├── swaggerProvider.js
│        └── sourceCodeProvider.js
└── package.json

Roadmap

  • AST-based source code analysis
  • Sequelize schema provider
  • Express route dependency graph
  • Architecture summarization
  • Middleware analysis
  • Configuration provider
  • Project dependency analysis

License

Licensed under the ISC License.

MCP Server · Populars

MCP Server · New

    bibinprathap

    veritasgraph

    VeritasGraph — open-source Knowledge Graph & GraphRAG framework on GitHub. Build multi-hop reasoning, ontology-aware retrieval, and verifiable attribution over your own data. Nodes, edges, RDF, linked-data — runs locally or in the cloud.

    Community bibinprathap
    sher1096

    KLinePic MCP Server and Agent API Examples

    MCP server and OpenAPI examples for AI agents that turn broker and exchange fills into annotated KLinePic trade-review charts

    Community sher1096
    zerx-lab

    FluxDown

    Rust 驱动的多协议下载管理器,支持 HTTP/FTP/BitTorrent 磁力链接及 HLS/DASH 流媒体,智能多线程加速与浏览器无缝集成。精美界面,极致性能,永久免费,零广告。

    Community zerx-lab
    MasihMoafi

    Project Elpis:

    You put an agent into an Elpis, and it becomes Elpis; Be Elpis my friend.

    Community MasihMoafi
    ROCTUP

    1C Metacode MCP Server

    MCP сервер с встроенным AI агентом для поиска по графу метаданных и кода конфигураций 1С

    Community ROCTUP