Skip to main content
Glama
README.mdβ€’6.9 kB
[![MseeP.ai Security Assessment Badge](https://mseep.net/pr/jatinderbhola-mcp-taskflow-tracker-api-badge.png)](https://mseep.ai/app/jatinderbhola-mcp-taskflow-tracker-api) # Project Tracker API with MCP Integration [![TypeScript](https://img.shields.io/badge/TypeScript-5.0-blue.svg)](https://www.typescriptlang.org/) [![Node.js](https://img.shields.io/badge/Node.js-18+-green.svg)](https://nodejs.org/) [![Express](https://img.shields.io/badge/Express-4.18-red.svg)](https://expressjs.com/) [![PostgreSQL](https://img.shields.io/badge/PostgreSQL-15-blue.svg)](https://www.postgresql.org/) [![Prisma](https://img.shields.io/badge/Prisma-5.10-orange.svg)](https://www.prisma.io/) [![Redis](https://img.shields.io/badge/Redis-5.6-red.svg)](https://redis.io/) [![Jest](https://img.shields.io/badge/Jest-29.0-yellow.svg)](https://jestjs.io/) [![MCP](https://img.shields.io/badge/MCP-1.17-purple.svg)](https://modelcontextprotocol.io/) [![License](https://img.shields.io/badge/License-ISC-blue.svg)](LICENSE) A TypeScript-based REST API for project and task management with **MCP (Model Context Protocol)** integration, featuring enterprise-level AI agent capabilities. ## πŸ‘¨β€πŸ’» Author **Jatinder (Jay) Bhola** - Engineering Leader & Tech Lead - 🏠 **Location**: Toronto, ON, Canada - 🎯 **Expertise**: Cloud-Native & Event-Driven Architectures, Building Scalable Systems - πŸ”— **Connect**: [GitHub](https://github.com/jatinderbhola) | [LinkedIn](https://www.linkedin.com/in/jatinderbhola) > *"Engineering leader with 10+ years of experience improving developer workflows and scaling cloud-native systems. Proven track record in leading and delivering high-impact, customer-facing platforms and empowering engineering teams to build fast, resilient web applications."* ## πŸš€ **Quick Start (For Interviewers)** ### **One-Command Setup** ```bash # Clone the repo git clone https://github.com/jatinderbhola/mcp-taskflow-tracker-api.git # setup everything in one command npm run setup ``` This will: - βœ… Install all dependencies - βœ… Start PostgreSQL and Redis services - βœ… Create databases and run migrations - βœ… Seed test data - βœ… Build the project - βœ… Run tests to verify everything works ### **Test the MCP Integration** ```bash # Start the API server npm run dev # In another terminal, test MCP npm run mcp:test # Interactive testing with MCP Inspector npm run mcp:inspector ``` ### **Demo Scenarios** Try these natural language queries: - `"Show Alice's overdue tasks"` - `"Analyze Bob's workload"` - `"Assess risk for project Alpha"` ## πŸ€– **MCP Tools Available** | Tool | Purpose | Example | |------|---------|---------| | **Natural Language Query** | Process natural language queries | `"Show Alice's overdue tasks"` | | **Workload Analysis** | Analyze team member capacity | `"Analyze Bob's workload"` | | **Risk Assessment** | Assess project health | `"Assess risk for project Alpha"` | ## πŸ“ **Project Structure** ``` src/ β”œβ”€β”€ routes/ # API routes β”œβ”€β”€ controllers/ # API route handlers β”œβ”€β”€ services/ # Business logic layer β”œβ”€β”€ models/ # Database models (single source of truth) β”œβ”€β”€ middleware/ # API routing middleware β”œβ”€β”€ mcp/ # MCP server implementation β”‚ β”œβ”€β”€ tools/ # MCP tools β”‚ β”œβ”€β”€ promptEngine/ # AI prompt processing β”‚ └── server.ts # MCP server β”œβ”€β”€ config/ # Database and app configuration └── test/ # Test setup and utilities └── utils/ # Utility functions ``` ## πŸ“š **Documentation** - **[Technical Deep-Dive](docs/ASSESSMENT_DEMONSTRATION.md)** - Complete MCP implementation details - **[Production Guide](docs/PRODUCTION.md)** - Enterprise deployment and scaling - **[Security Roadmap](docs/SECURITY_TODO.md)** - Production security considerations ### **System Design** #### Top Level ![Architecture System Diagram](docs/ARCHITECTURE_DESIGN.png) #### High Level ![High Level System Diagram](docs/HIGH_LEVEL_ARCHITECTURE_DESIGN.png) #### Detail Level Detailed internal processing pipeline and decision flow ![Detailed Internal Flow](docs/DETAILED_ARCHITECTURE_DESIGN.png) ### **API Documentation** Once the server is running, visit the interactive API documentation: - **Swagger UI**: http://localhost:3000/api-docs/ ![Swagger](docs/SWAGGER.png) The Swagger documentation provides: - βœ… **Interactive API testing** - Try endpoints directly from the browser - βœ… **Request/Response examples** - See expected data formats - βœ… **Authentication details** - Understand required headers and tokens - βœ… **Error responses** - View possible error codes and messages - βœ… **Schema definitions** - Complete data models for all endpoints ## πŸ› οΈ **Available Scripts** ### **Development** ```bash npm run dev # Start development server npm run build # Build for production npm run mcp:start # Start MCP server npm run mcp:test # Test MCP integration npm run mcp:inspector # Interactive MCP testing ``` ### **Database** ```bash npm run prisma:generate # Generate Prisma client npm run prisma:migrate # Run database migrations npm run prisma:studio # Open Prisma Studio ``` ### **Testing** ```bash npm test # Run all tests npm run test:unit # Unit tests only npm run test:integration # Integration tests only ``` ## πŸ”§ **Configuration** ### **Environment Variables** Create a `.env` file if does not exists ```bash cp .env.example .env ``` > ⚠️ **Warning:** THIS `.env.example` IS CARRYING JUST DEFAUTL ENV KEYS TO KEEP IT SIMPLE FOR THE ASSESSMENT ### **Manual Setup** (if needed) ```bash # Create databases createdb taskflow createdb taskflow_test # Install dependencies npm install # Run migrations npm run prisma:migrate # Seed test data node scripts/seed-test-data.js # Build and test npm run build npm run mcp:test ``` ## πŸ“Š **Performance** - **Response Time**: < 50ms for simple queries - **Accuracy**: 95%+ intent recognition - **Scalability**: 100+ concurrent requests - **Cache Hit Rate**: 85%+ for repeated queries ## 🎯 **Assessment Ready** This implementation demonstrates: - βœ… **Modern AI Integration**: MCP protocol with natural language processing - βœ… **Professional Code Quality**: Clean TypeScript with proper error handling - βœ… **System Design Excellence**: Layered architecture with clear separation - βœ… **Enterprise Features**: Production-ready with comprehensive testing - βœ… **User-Friendly Design**: Name-based queries instead of email addresses ## πŸ“„ **License** ⚠️ **Note**: Portions of this codebase were co-authored with the help of AI-assisted code completion tools to accelerate development. ISC

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/jatinderbhola/mcp-taskflow-tracker-api'

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